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.001475/0.001475, allocations: 111.7 kB / 16.45 MB, free: 6.43 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.001615/0.001615, allocations: 186.9 kB / 17.39 MB, free: 5.676 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.288/1.288, allocations: 222.9 MB / 241.1 MB, free: 15.12 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.04876/0.04876, allocations: 8.1 MB / 299.3 MB, free: 6.629 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001886/0.001886, allocations: 59.91 kB / 414 MB, free: 22.21 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09178/0.09369, allocations: 51.52 MB / 465.5 MB, free: 2.645 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses2): time 0.003816/0.09754, allocations: 2.692 MB / 468.2 MB, free: 15.95 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002558/0.1001, allocations: 1.621 MB / 469.8 MB, free: 14.31 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003902/0.1005, allocations: 8 kB / 469.8 MB, free: 14.3 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005962/0.1012, allocations: 163 kB / 470 MB, free: 14.14 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008282/0.102, allocations: 226.5 kB / 470.2 MB, free: 13.92 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002395/0.1044, allocations: 1.241 MB / 471.4 MB, free: 12.68 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008/0.1053, allocations: 465.7 kB / 471.9 MB, free: 12.22 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003216/0.1056, allocations: 168.7 kB / 472.1 MB, free: 12.05 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003562/0.106, allocations: 191.3 kB / 472.2 MB, free: 11.86 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004831/0.1064, allocations: 227.1 kB / 472.5 MB, free: 11.64 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001079/0.1066, allocations: 40 kB / 472.5 MB, free: 11.6 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006102/0.1072, allocations: 271.8 kB / 472.8 MB, free: 11.33 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001178/0.1073, allocations: 91.62 kB / 472.9 MB, free: 11.24 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002842/0.1076, allocations: 226.8 kB / 473.1 MB, free: 11.02 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008648/0.1085, allocations: 0.6395 MB / 473.7 MB, free: 10.38 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.273e-05/0.1085, allocations: 0 / 473.7 MB, free: 10.38 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.114e-06/0.1085, allocations: 0 / 473.7 MB, free: 10.38 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.78e-05/0.1085, allocations: 0 / 473.7 MB, free: 10.38 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.005225/0.1138, allocations: 1.396 MB / 475.1 MB, free: 8.93 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.551e-05/0.1138, allocations: 11.89 kB / 475.1 MB, free: 8.918 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001097/0.1139, allocations: 74.72 kB / 475.2 MB, free: 8.836 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001283/0.1141, allocations: 56.36 kB / 475.3 MB, free: 8.781 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000442/0.1145, allocations: 339.5 kB / 475.6 MB, free: 8.414 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.39e-05/0.1145, allocations: 29.03 kB / 475.6 MB, free: 8.387 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.502e-05/0.1146, allocations: 36.38 kB / 475.7 MB, free: 8.352 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008253/0.1154, allocations: 0.514 MB / 476.2 MB, free: 7.82 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.584e-05/0.1155, allocations: 7.922 kB / 476.2 MB, free: 7.812 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.577e-05/0.1155, allocations: 16 kB / 476.2 MB, free: 7.797 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.418e-06/0.1155, allocations: 8 kB / 476.2 MB, free: 7.789 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006659/0.1162, allocations: 442.5 kB / 476.6 MB, free: 7.359 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002826/0.119, allocations: 2.106 MB / 478.7 MB, free: 5.027 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008851/0.1199, allocations: 0.5746 MB / 479.3 MB, free: 4.426 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003712/0.1203, allocations: 276.8 kB / 479.6 MB, free: 4.152 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.05e-05/0.1204, allocations: 11.98 kB / 479.6 MB, free: 4.141 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.118e-05/0.1205, allocations: 46.48 kB / 479.6 MB, free: 4.086 MB / 350.1 MB Notification: Performance of pre-optimization done (n=43): time 1.694e-06/0.1205, allocations: 0 / 479.6 MB, free: 4.086 MB / 350.1 MB Notification: Performance of matching and sorting (n=43): time 0.006455/0.1269, allocations: 1.818 MB / 481.5 MB, free: 2.238 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.602e-05/0.127, allocations: 114.8 kB / 481.6 MB, free: 2.102 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003238/0.1274, allocations: 274.9 kB / 481.8 MB, free: 1.824 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 6.724e-05/0.1274, allocations: 37.7 kB / 481.9 MB, free: 1.781 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001488/0.1276, allocations: 184.5 kB / 482.1 MB, free: 1.598 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001278/0.1277, allocations: 145.8 kB / 482.2 MB, free: 1.453 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002125/0.1279, allocations: 110.2 kB / 482.3 MB, free: 1.336 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001553/0.1281, allocations: 342.8 kB / 482.6 MB, free: 0.9922 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004615/0.1286, allocations: 285 kB / 482.9 MB, free: 0.7148 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000487/0.1291, allocations: 336.7 kB / 483.2 MB, free: 384 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009492/0.13, allocations: 0.6296 MB / 483.9 MB, free: 15.74 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.369e-06/0.13, allocations: 3.938 kB / 483.9 MB, free: 15.74 MB / 366.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.003397/0.1335, allocations: 1.241 MB / 485.1 MB, free: 14.48 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.316e-05/0.1335, allocations: 11.94 kB / 485.1 MB, free: 14.47 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.566e-06/0.1335, allocations: 0 / 485.1 MB, free: 14.47 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003547/0.1371, allocations: 0.7807 MB / 485.9 MB, free: 13.69 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003776/0.1374, allocations: 87.89 kB / 486 MB, free: 13.61 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007248/0.1447, allocations: 4.047 MB / 490 MB, free: 9.43 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000456/0.1452, allocations: 55.42 kB / 490.1 MB, free: 9.375 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.773e-05/0.1453, allocations: 16 kB / 490.1 MB, free: 9.359 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.0002564/0.1455, allocations: 173.7 kB / 490.3 MB, free: 9.18 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001014/0.1456, allocations: 35.62 kB / 490.3 MB, free: 9.145 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00339/0.149, allocations: 1.202 MB / 491.5 MB, free: 7.926 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.813e-06/0.1491, allocations: 4 kB / 491.5 MB, free: 7.922 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.164e-06/0.1491, allocations: 0 / 491.5 MB, free: 7.922 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.524e-06/0.1491, allocations: 3.984 kB / 491.5 MB, free: 7.918 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003846/0.1529, allocations: 1.791 MB / 493.3 MB, free: 6.07 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.354e-06/0.1529, allocations: 7.938 kB / 493.3 MB, free: 6.062 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000213/0.1532, allocations: 59.91 kB / 493.4 MB, free: 6.004 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003409/0.1566, allocations: 0.7422 MB / 494.1 MB, free: 5.258 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.901e-05/0.1566, allocations: 8 kB / 494.1 MB, free: 5.25 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006918/0.1636, allocations: 4.019 MB / 498.2 MB, free: 1.09 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.1636, allocations: 0 / 498.2 MB, free: 1.09 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003223/0.1668, allocations: 1.215 MB / 499.4 MB, free: 15.86 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000127/0.167, allocations: 124.5 kB / 499.5 MB, free: 15.72 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.722e-05/0.167, allocations: 4 kB / 499.5 MB, free: 15.71 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003875/0.1674, allocations: 38.5 kB / 499.5 MB, free: 15.68 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001044/0.1676, allocations: 36.39 kB / 499.6 MB, free: 15.64 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.83e-05/0.1676, allocations: 16 kB / 499.6 MB, free: 15.63 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002177/0.1678, allocations: 190 kB / 499.8 MB, free: 15.44 MB / 382.1 MB Notification: Performance of sort global known variables: time 3.11e-07/0.1678, allocations: 0 / 499.8 MB, free: 15.44 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0006838/0.1685, allocations: 183.8 kB / 500 MB, free: 15.26 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.00352/0.1721, allocations: 1.782 MB / 0.49 GB, free: 13.45 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002384/0.1745, allocations: 1.023 MB / 0.491 GB, free: 12.41 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.597e-06/0.1745, allocations: 0 / 0.491 GB, free: 12.41 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001662/0.1761, allocations: 0.6728 MB / 0.4916 GB, free: 11.73 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003955/0.1765, allocations: 40.81 kB / 0.4917 GB, free: 11.69 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009673/0.1862, allocations: 5.126 MB / 0.4967 GB, free: 6.469 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003716/0.1866, allocations: 0.8091 MB / 0.4975 GB, free: 5.637 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001744/0.1868, allocations: 54.92 kB / 0.4975 GB, free: 5.582 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001832/0.187, allocations: 131.4 kB / 0.4976 GB, free: 5.453 MB / 382.1 MB Notification: Performance of SimCode: time 5.21e-07/0.187, allocations: 0 / 0.4976 GB, free: 5.453 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2382/0.4252, allocations: 15.54 MB / 0.5128 GB, free: 45.28 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.11/11.53, allocations: 2.031 kB / 0.5128 GB, free: 45.28 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)