Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceThreeLinesThreeLoads.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.OneSourceThreeLinesThreeLoads,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceThreeLinesThreeLoads",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.OneSourceThreeLinesThreeLoads,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceThreeLinesThreeLoads",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.004051/0.004051, allocations: 89.16 kB / 15.91 MB, free: 6.305 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.001021/0.001021, allocations: 196 kB / 16.83 MB, free: 6.238 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.237/1.237, allocations: 222.9 MB / 240.5 MB, free: 4.605 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.1336/0.1336, allocations: 8.072 MB / 298.7 MB, free: 2.066 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001088/0.001088, allocations: 63.91 kB / 361.2 MB, free: 13.63 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07454/0.07564, allocations: 51.51 MB / 412.7 MB, free: 10.07 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceThreeLinesThreeLoads): time 0.00292/0.0786, allocations: 2.275 MB / 414.9 MB, free: 7.789 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00196/0.08058, allocations: 1.664 MB / 416.6 MB, free: 6.109 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001562/0.08077, allocations: 4 kB / 416.6 MB, free: 6.105 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003737/0.08115, allocations: 127.5 kB / 416.7 MB, free: 5.98 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003919/0.08155, allocations: 179 kB / 416.9 MB, free: 5.805 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001538/0.0831, allocations: 0.9301 MB / 417.8 MB, free: 4.875 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004115/0.08352, allocations: 402 kB / 418.2 MB, free: 4.48 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001905/0.08372, allocations: 120 kB / 418.3 MB, free: 4.363 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000158/0.08388, allocations: 159.4 kB / 418.5 MB, free: 4.207 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002453/0.08413, allocations: 219.1 kB / 418.7 MB, free: 3.992 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.668e-05/0.0842, allocations: 24 kB / 418.7 MB, free: 3.969 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003479/0.08455, allocations: 203.8 kB / 418.9 MB, free: 3.77 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.411e-05/0.08462, allocations: 79.61 kB / 419 MB, free: 3.691 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001583/0.08479, allocations: 187 kB / 419.2 MB, free: 3.508 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004966/0.08529, allocations: 0.5334 MB / 419.7 MB, free: 2.973 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.0853, allocations: 0 / 419.7 MB, free: 2.973 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.233e-06/0.08531, allocations: 4 kB / 419.7 MB, free: 2.969 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.04e-06/0.08532, allocations: 0 / 419.7 MB, free: 2.969 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: 67 * Number of variables: 67 Notification: Performance of Generate backend data structure: time 0.003438/0.08876, allocations: 1.142 MB / 420.9 MB, free: 1.773 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.324e-05/0.08881, allocations: 15.97 kB / 420.9 MB, free: 1.758 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.136e-05/0.08888, allocations: 66.72 kB / 421 MB, free: 1.684 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.23e-05/0.08897, allocations: 40.47 kB / 421 MB, free: 1.645 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003569/0.08933, allocations: 327.5 kB / 421.3 MB, free: 1.289 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.975e-05/0.08936, allocations: 28.88 kB / 421.3 MB, free: 1.262 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.566e-05/0.08941, allocations: 28.38 kB / 421.4 MB, free: 1.234 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006003/0.09002, allocations: 413.3 kB / 421.8 MB, free: 0.8203 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.768e-06/0.09004, allocations: 3.938 kB / 421.8 MB, free: 0.8164 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.923e-05/0.09008, allocations: 12 kB / 421.8 MB, free: 0.8047 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.205e-06/0.09009, allocations: 8 kB / 421.8 MB, free: 0.7969 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005446/0.09064, allocations: 422 kB / 422.2 MB, free: 396 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001922/0.09257, allocations: 1.542 MB / 423.8 MB, free: 14.71 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00105/0.09363, allocations: 0.5513 MB / 424.3 MB, free: 14.15 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003549/0.094, allocations: 285.5 kB / 424.6 MB, free: 13.87 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.952e-05/0.09407, allocations: 20.34 kB / 424.6 MB, free: 13.85 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.011e-05/0.09409, allocations: 38.94 kB / 424.6 MB, free: 13.8 MB / 366.1 MB Notification: Performance of pre-optimization done (n=46): time 1.422e-06/0.0941, allocations: 0 / 424.6 MB, free: 13.8 MB / 366.1 MB Notification: Performance of matching and sorting (n=46): time 0.004303/0.09841, allocations: 1.643 MB / 426.3 MB, free: 12.09 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.095e-05/0.09845, allocations: 55.41 kB / 426.3 MB, free: 12.02 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002713/0.09873, allocations: 278.7 kB / 426.6 MB, free: 11.74 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.036e-05/0.09878, allocations: 37.7 kB / 426.6 MB, free: 11.7 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.64e-05/0.09887, allocations: 156.9 kB / 426.8 MB, free: 11.54 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000103/0.09898, allocations: 161.6 kB / 427 MB, free: 11.38 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001467/0.09914, allocations: 94.23 kB / 427 MB, free: 11.29 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 9.622e-05/0.09924, allocations: 342.8 kB / 427.4 MB, free: 10.94 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003679/0.09961, allocations: 265 kB / 427.6 MB, free: 10.68 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003668/0.09998, allocations: 269 kB / 427.9 MB, free: 10.42 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000771/0.1008, allocations: 0.582 MB / 428.5 MB, free: 9.84 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.973e-06/0.1008, allocations: 0 / 428.5 MB, free: 9.84 MB / 366.1 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.00221/0.103, allocations: 1.024 MB / 429.5 MB, free: 8.797 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.227e-05/0.103, allocations: 4 kB / 429.5 MB, free: 8.793 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/0.103, allocations: 0 / 429.5 MB, free: 8.793 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001784/0.1048, allocations: 426.1 kB / 429.9 MB, free: 8.367 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002734/0.1051, allocations: 83.84 kB / 430 MB, free: 8.285 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005742/0.1108, allocations: 5.649 MB / 435.7 MB, free: 2.242 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002841/0.1111, allocations: 43.47 kB / 435.7 MB, free: 2.199 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.675e-05/0.1112, allocations: 16 kB / 435.7 MB, free: 2.184 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 (46): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * 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): 3 systems {(2,4), (2,4), (2,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0001631/0.1114, allocations: 172.4 kB / 435.9 MB, free: 2.008 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.579e-05/0.1114, allocations: 31.62 kB / 435.9 MB, free: 1.977 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002219/0.1137, allocations: 1.001 MB / 436.9 MB, free: 0.957 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.739e-06/0.1137, allocations: 4 kB / 436.9 MB, free: 0.9531 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.542e-06/0.1137, allocations: 0 / 436.9 MB, free: 0.9531 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.22e-06/0.1137, allocations: 3.984 kB / 436.9 MB, free: 0.9492 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005032/0.1142, allocations: 0.5676 MB / 437.5 MB, free: 340 kB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.1142, allocations: 0 / 437.5 MB, free: 340 kB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001897/0.1144, allocations: 59.91 kB / 437.6 MB, free: 280 kB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.1333/0.2477, allocations: 416.7 kB / 438 MB, free: 56.86 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.126e-05/0.2478, allocations: 12.62 kB / 438 MB, free: 56.86 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00447/0.2522, allocations: 5.596 MB / 443.6 MB, free: 53.14 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.2523, allocations: 0 / 443.6 MB, free: 53.14 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001886/0.2542, allocations: 1.017 MB / 444.6 MB, free: 52.97 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.361e-05/0.2542, allocations: 124.5 kB / 444.7 MB, free: 52.86 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.088e-05/0.2543, allocations: 6.812 kB / 444.7 MB, free: 52.86 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003098/0.2546, allocations: 31.34 kB / 444.7 MB, free: 52.86 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.751e-05/0.2547, allocations: 38.17 kB / 444.8 MB, free: 52.86 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.265e-05/0.2547, allocations: 20 kB / 444.8 MB, free: 52.86 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001788/0.2549, allocations: 197.1 kB / 445 MB, free: 52.78 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2549, allocations: 0 / 445 MB, free: 52.78 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005027/0.2554, allocations: 168.6 kB / 445.2 MB, free: 52.78 MB / 366.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 (37): * 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: 3 * 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): 3 systems {(2,4), (2,4), (2,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002033/0.2575, allocations: 1.589 MB / 446.7 MB, free: 51.89 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001467/0.2589, allocations: 1.08 MB / 447.8 MB, free: 51.25 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.259, allocations: 4 kB / 447.8 MB, free: 51.25 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001048/0.26, allocations: 0.7548 MB / 448.6 MB, free: 50.74 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003894/0.2604, allocations: 50.47 kB / 448.6 MB, free: 50.71 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006074/0.2665, allocations: 4.857 MB / 453.5 MB, free: 47.94 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001609/0.2667, allocations: 0.7988 MB / 454.3 MB, free: 47.24 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001597/0.2668, allocations: 53.34 kB / 454.3 MB, free: 47.23 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000126/0.267, allocations: 116.6 kB / 454.5 MB, free: 47.15 MB / 366.1 MB Notification: Performance of SimCode: time 7.92e-07/0.267, allocations: 0 / 454.5 MB, free: 47.15 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.267/0.534, allocations: 13.45 MB / 467.9 MB, free: 46.14 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001296/0.5341, allocations: 235.8 kB / 468.1 MB, free: 45.89 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.813/2.348, allocations: 0 / 468.1 MB, free: 45.89 MB / 366.1 MB (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceThreeLinesThreeLoads.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceThreeLinesThreeLoads.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceThreeLinesThreeLoads.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceThreeLinesThreeLoads.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Examples_OneSourceThreeLinesThreeLoads_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Examples_OneSourceThreeLinesThreeLoads.fmu > PowerSysPro_PowerSysPro.Examples.OneSourceThreeLinesThreeLoads.pipe 2>&1)