Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo", uses=false) Using package PowerSysPro with version 2.3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses2,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses2,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001249/0.00125, allocations: 103.6 kB / 16.45 MB, free: 6.426 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001218/0.001218, allocations: 192.1 kB / 17.39 MB, free: 5.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.43/1.43, allocations: 222.9 MB / 241.1 MB, free: 15.05 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.05241/0.05241, allocations: 8.092 MB / 299.3 MB, free: 6.609 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001822/0.001822, allocations: 63.89 kB / 414 MB, free: 22.2 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09593/0.09776, allocations: 51.52 MB / 465.5 MB, free: 2.629 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses2): time 0.003787/0.1016, allocations: 2.685 MB / 468.2 MB, free: 15.94 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002444/0.104, allocations: 1.629 MB / 469.8 MB, free: 14.29 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001368/0.1042, allocations: 8 kB / 469.8 MB, free: 14.29 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004311/0.1046, allocations: 171 kB / 470 MB, free: 14.12 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004835/0.1052, allocations: 218.6 kB / 470.2 MB, free: 13.9 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002181/0.1073, allocations: 1.237 MB / 471.4 MB, free: 12.66 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005567/0.1079, allocations: 453.9 kB / 471.9 MB, free: 12.22 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002665/0.1082, allocations: 173.8 kB / 472.1 MB, free: 12.04 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001857/0.1084, allocations: 191.3 kB / 472.2 MB, free: 11.85 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003292/0.1087, allocations: 227 kB / 472.5 MB, free: 11.63 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.155e-05/0.1088, allocations: 36 kB / 472.5 MB, free: 11.59 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004706/0.1093, allocations: 279.7 kB / 472.8 MB, free: 11.32 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.455e-05/0.1094, allocations: 91.61 kB / 472.9 MB, free: 11.23 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002113/0.1096, allocations: 222.9 kB / 473.1 MB, free: 11.01 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007886/0.1104, allocations: 0.6383 MB / 473.7 MB, free: 10.37 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.1104, allocations: 4 kB / 473.7 MB, free: 10.37 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.1104, allocations: 0 / 473.7 MB, free: 10.37 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.145e-05/0.1104, allocations: 0 / 473.7 MB, free: 10.37 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 82 * Number of variables: 82 Notification: Performance of Generate backend data structure: time 0.005179/0.1156, allocations: 1.415 MB / 475.1 MB, free: 8.898 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.423e-05/0.1157, allocations: 11.89 kB / 475.2 MB, free: 8.887 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001073/0.1158, allocations: 82.66 kB / 475.2 MB, free: 8.797 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001243/0.1159, allocations: 52.64 kB / 475.3 MB, free: 8.746 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004971/0.1164, allocations: 335.6 kB / 475.6 MB, free: 8.383 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.762e-05/0.1165, allocations: 29.03 kB / 475.6 MB, free: 8.355 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.226e-05/0.1166, allocations: 44.31 kB / 475.7 MB, free: 8.312 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008907/0.1175, allocations: 0.5062 MB / 476.2 MB, free: 7.789 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.848e-05/0.1175, allocations: 3.938 kB / 476.2 MB, free: 7.785 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.152e-05/0.1176, allocations: 16 kB / 476.2 MB, free: 7.77 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.21e-05/0.1176, allocations: 8 kB / 476.2 MB, free: 7.762 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007328/0.1183, allocations: 446.5 kB / 476.7 MB, free: 7.328 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003084/0.1214, allocations: 2.111 MB / 478.8 MB, free: 4.992 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001024/0.1224, allocations: 0.5824 MB / 479.3 MB, free: 4.383 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004209/0.1229, allocations: 268.8 kB / 479.6 MB, free: 4.117 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.055e-05/0.123, allocations: 19.97 kB / 479.6 MB, free: 4.098 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.008e-05/0.123, allocations: 46.44 kB / 479.7 MB, free: 4.043 MB / 350.1 MB Notification: Performance of pre-optimization done (n=43): time 2.044e-06/0.123, allocations: 4 kB / 479.7 MB, free: 4.039 MB / 350.1 MB Notification: Performance of matching and sorting (n=43): time 0.006913/0.13, allocations: 1.822 MB / 481.5 MB, free: 2.188 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.81e-05/0.1301, allocations: 106.8 kB / 481.6 MB, free: 2.059 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003605/0.1304, allocations: 274.9 kB / 481.9 MB, free: 1.781 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 7.274e-05/0.1305, allocations: 33.7 kB / 481.9 MB, free: 1.742 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001509/0.1307, allocations: 184.9 kB / 482.1 MB, free: 1.559 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001513/0.1309, allocations: 158.7 kB / 482.2 MB, free: 1.402 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002076/0.1311, allocations: 102.2 kB / 482.3 MB, free: 1.293 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001642/0.1312, allocations: 342.8 kB / 482.7 MB, free: 0.9492 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004504/0.1317, allocations: 285 kB / 483 MB, free: 0.6719 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005061/0.1322, allocations: 340.6 kB / 483.3 MB, free: 336 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001015/0.1332, allocations: 0.6255 MB / 483.9 MB, free: 15.7 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.699e-06/0.1332, allocations: 7.984 kB / 483.9 MB, free: 15.7 MB / 366.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.003545/0.1368, allocations: 1.241 MB / 485.2 MB, free: 14.44 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.221e-05/0.1368, allocations: 7.938 kB / 485.2 MB, free: 14.43 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.005e-06/0.1369, allocations: 0 / 485.2 MB, free: 14.43 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003676/0.1405, allocations: 0.781 MB / 486 MB, free: 13.65 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003767/0.1409, allocations: 87.89 kB / 486 MB, free: 13.57 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007865/0.1488, allocations: 4.064 MB / 490.1 MB, free: 9.371 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004702/0.1493, allocations: 55.62 kB / 490.2 MB, free: 9.316 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.679e-05/0.1494, allocations: 19.98 kB / 490.2 MB, free: 9.297 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (51): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(8,8)} Notification: Performance of prepare postOptimizeDAE: time 0.0002363/0.1496, allocations: 169.6 kB / 490.3 MB, free: 9.121 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.65e-05/0.1497, allocations: 35.77 kB / 490.4 MB, free: 9.086 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003585/0.1533, allocations: 1.202 MB / 491.6 MB, free: 7.867 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.806e-06/0.1533, allocations: 8 kB / 491.6 MB, free: 7.859 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.364e-06/0.1533, allocations: 0 / 491.6 MB, free: 7.859 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.641e-06/0.1533, allocations: 0 / 491.6 MB, free: 7.859 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004156/0.1575, allocations: 1.791 MB / 493.4 MB, free: 6.008 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.115e-06/0.1575, allocations: 3.938 kB / 493.4 MB, free: 6.004 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002317/0.1578, allocations: 59.97 kB / 493.4 MB, free: 5.945 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00353/0.1613, allocations: 0.7449 MB / 494.2 MB, free: 5.199 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.015e-05/0.1614, allocations: 11.98 kB / 494.2 MB, free: 5.188 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007466/0.1688, allocations: 4.019 MB / 498.2 MB, free: 1.027 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.1689, allocations: 0 / 498.2 MB, free: 1.027 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003423/0.1723, allocations: 1.215 MB / 499.4 MB, free: 15.8 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001441/0.1725, allocations: 128.7 kB / 499.6 MB, free: 15.65 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.436e-05/0.1725, allocations: 8 kB / 499.6 MB, free: 15.64 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003733/0.1729, allocations: 27.11 kB / 499.6 MB, free: 15.62 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001187/0.1731, allocations: 32.39 kB / 499.6 MB, free: 15.59 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.334e-05/0.1731, allocations: 23.98 kB / 499.6 MB, free: 15.57 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002223/0.1733, allocations: 186 kB / 499.8 MB, free: 15.38 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.8e-07/0.1733, allocations: 0 / 499.8 MB, free: 15.38 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0006464/0.174, allocations: 191.8 kB / 0.4883 GB, free: 15.2 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (35): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(8,8)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003791/0.1778, allocations: 1.783 MB / 0.49 GB, free: 13.38 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002645/0.1805, allocations: 1.027 MB / 0.491 GB, free: 12.34 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 7.584e-06/0.1805, allocations: 4 kB / 0.491 GB, free: 12.34 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001891/0.1824, allocations: 0.6687 MB / 0.4917 GB, free: 11.66 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004521/0.1828, allocations: 44.7 kB / 0.4917 GB, free: 11.61 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01062/0.1935, allocations: 5.141 MB / 0.4968 GB, free: 6.379 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004438/0.194, allocations: 0.8091 MB / 0.4975 GB, free: 5.547 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002085/0.1942, allocations: 50.92 kB / 0.4976 GB, free: 5.496 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002014/0.1944, allocations: 131.4 kB / 0.4977 GB, free: 5.367 MB / 382.1 MB Notification: Performance of SimCode: time 7.52e-07/0.1944, allocations: 4 kB / 0.4977 GB, free: 5.363 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2443/0.4387, allocations: 15 MB / 0.5124 GB, free: 45.49 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.88/12.32, allocations: 17.05 kB / 0.5124 GB, free: 45.48 MB / 382.1 MB (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses2.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses2.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses2.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses2_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses2.fmu > PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses2.pipe 2>&1)