Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.TwoSourcesTwoLinesOneLoad.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.TwoSourcesTwoLinesOneLoad,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_TwoSourcesTwoLinesOneLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.TwoSourcesTwoLinesOneLoad,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_TwoSourcesTwoLinesOneLoad",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.001473/0.001473, allocations: 103.2 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.001813/0.001813, allocations: 189.5 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.401/1.401, allocations: 222.9 MB / 241.1 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.05088/0.05088, allocations: 8.092 MB / 299.3 MB, free: 6.656 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00226/0.00226, allocations: 67.89 kB / 414 MB, free: 22.24 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1181/0.1204, allocations: 51.51 MB / 465.5 MB, free: 2.68 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.TwoSourcesTwoLinesOneLoad): time 0.003051/0.1235, allocations: 1.691 MB / 467.2 MB, free: 0.9883 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00251/0.126, allocations: 1.559 MB / 468.7 MB, free: 15.41 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002443/0.1263, allocations: 4 kB / 468.7 MB, free: 15.41 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005286/0.1269, allocations: 127.3 kB / 468.9 MB, free: 15.29 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005345/0.1274, allocations: 131.2 kB / 469 MB, free: 15.16 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001844/0.1293, allocations: 0.9257 MB / 469.9 MB, free: 14.23 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004812/0.1298, allocations: 266.7 kB / 470.2 MB, free: 13.97 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002161/0.13, allocations: 84.59 kB / 470.3 MB, free: 13.88 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000169/0.1302, allocations: 119.5 kB / 470.4 MB, free: 13.77 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002594/0.1305, allocations: 135.5 kB / 470.5 MB, free: 13.63 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.065e-05/0.1305, allocations: 20 kB / 470.5 MB, free: 13.61 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004612/0.131, allocations: 211.8 kB / 470.7 MB, free: 13.41 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.341e-05/0.1311, allocations: 51.77 kB / 470.8 MB, free: 13.36 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000172/0.1312, allocations: 131.3 kB / 470.9 MB, free: 13.23 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007415/0.132, allocations: 414.6 kB / 471.3 MB, free: 12.82 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.72e-06/0.132, allocations: 3.938 kB / 471.3 MB, free: 12.82 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.973e-06/0.132, allocations: 0 / 471.3 MB, free: 12.82 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.168e-05/0.132, allocations: 4 kB / 471.3 MB, free: 12.82 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: 47 * Number of variables: 47 Notification: Performance of Generate backend data structure: time 0.002733/0.1348, allocations: 0.8422 MB / 472.2 MB, free: 11.92 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.584e-05/0.1348, allocations: 15.89 kB / 472.2 MB, free: 11.9 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.354e-05/0.1349, allocations: 54.73 kB / 472.2 MB, free: 11.84 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001491/0.1351, allocations: 36.53 kB / 472.3 MB, free: 11.8 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003536/0.1354, allocations: 260.7 kB / 472.5 MB, free: 11.51 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.083e-05/0.1355, allocations: 16.81 kB / 472.6 MB, free: 11.49 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.98e-05/0.1355, allocations: 20.38 kB / 472.6 MB, free: 11.47 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004899/0.136, allocations: 295.8 kB / 472.9 MB, free: 11.18 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.488e-05/0.136, allocations: 3.938 kB / 472.9 MB, free: 11.17 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.776e-05/0.1361, allocations: 4 kB / 472.9 MB, free: 11.17 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.616e-06/0.1361, allocations: 8 kB / 472.9 MB, free: 11.16 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000409/0.1365, allocations: 281.6 kB / 473.1 MB, free: 10.89 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001546/0.1381, allocations: 1.035 MB / 474.2 MB, free: 9.766 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009473/0.139, allocations: 462.5 kB / 474.6 MB, free: 9.289 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002475/0.1393, allocations: 177.3 kB / 474.8 MB, free: 9.113 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.197e-05/0.1394, allocations: 11.98 kB / 474.8 MB, free: 9.102 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.256e-05/0.1394, allocations: 42.5 kB / 474.9 MB, free: 9.051 MB / 350.1 MB Notification: Performance of pre-optimization done (n=29): time 2.355e-06/0.1394, allocations: 0 / 474.9 MB, free: 9.051 MB / 350.1 MB Notification: Performance of matching and sorting (n=29): time 0.002882/0.1423, allocations: 0.956 MB / 475.8 MB, free: 8.066 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.33e-05/0.1424, allocations: 55.41 kB / 475.9 MB, free: 8 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002568/0.1426, allocations: 215.8 kB / 476.1 MB, free: 7.781 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.869e-05/0.1427, allocations: 33.7 kB / 476.1 MB, free: 7.742 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.545e-05/0.1428, allocations: 140.6 kB / 476.3 MB, free: 7.598 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.481e-05/0.1429, allocations: 98.55 kB / 476.4 MB, free: 7.5 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001515/0.143, allocations: 73.64 kB / 476.4 MB, free: 7.422 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000129/0.1432, allocations: 338.8 kB / 476.8 MB, free: 7.082 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002611/0.1435, allocations: 171.9 kB / 476.9 MB, free: 6.914 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002632/0.1437, allocations: 183.9 kB / 477.1 MB, free: 6.734 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005376/0.1443, allocations: 381.2 kB / 477.5 MB, free: 6.359 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.1443, allocations: 0 / 477.5 MB, free: 6.359 MB / 350.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001408/0.1457, allocations: 0.6772 MB / 478.1 MB, free: 5.672 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.938e-05/0.1457, allocations: 4 kB / 478.2 MB, free: 5.668 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.236e-06/0.1457, allocations: 0 / 478.2 MB, free: 5.668 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001096/0.1468, allocations: 248.6 kB / 478.4 MB, free: 5.422 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002253/0.1471, allocations: 51.91 kB / 478.4 MB, free: 5.371 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003933/0.151, allocations: 2.696 MB / 481.1 MB, free: 2.535 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002695/0.1513, allocations: 31.62 kB / 481.2 MB, free: 2.504 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.715e-05/0.1514, allocations: 12 kB / 481.2 MB, free: 2.492 MB / 350.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 (32): * Single equations (assignments): 31 * 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 {(3,9)} Notification: Performance of prepare postOptimizeDAE: time 0.000195/0.1516, allocations: 143.1 kB / 481.3 MB, free: 2.344 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.716e-05/0.1517, allocations: 27.72 kB / 481.4 MB, free: 2.316 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001403/0.1531, allocations: 0.6024 MB / 482 MB, free: 1.703 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.843e-06/0.1531, allocations: 7.984 kB / 482 MB, free: 1.695 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.274e-06/0.1531, allocations: 4 kB / 482 MB, free: 1.691 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.703e-06/0.1531, allocations: 3.938 kB / 482 MB, free: 1.688 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001798/0.1549, allocations: 1.046 MB / 483 MB, free: 0.582 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.606e-06/0.1549, allocations: 0 / 483 MB, free: 0.582 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001278/0.1551, allocations: 31.98 kB / 483 MB, free: 0.5508 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000969/0.156, allocations: 244.5 kB / 483.3 MB, free: 316 kB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.045e-05/0.1561, allocations: 15.94 kB / 483.3 MB, free: 300 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00349/0.1596, allocations: 2.661 MB / 486 MB, free: 13.49 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.1596, allocations: 0 / 486 MB, free: 13.49 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001353/0.161, allocations: 0.6574 MB / 486.6 MB, free: 12.81 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.841e-05/0.1611, allocations: 104.9 kB / 486.7 MB, free: 12.69 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.429e-05/0.1611, allocations: 8 kB / 486.7 MB, free: 12.68 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002322/0.1614, allocations: 16.31 kB / 486.7 MB, free: 12.67 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.455e-05/0.1614, allocations: 19.97 kB / 486.8 MB, free: 12.65 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.504e-05/0.1615, allocations: 8 kB / 486.8 MB, free: 12.64 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002013/0.1617, allocations: 171 kB / 486.9 MB, free: 12.47 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.064e-06/0.1617, allocations: 0 / 486.9 MB, free: 12.47 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005159/0.1622, allocations: 111.8 kB / 487 MB, free: 12.36 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 (20): * Single equations (assignments): 19 * 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 {(3,9)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001719/0.164, allocations: 1.197 MB / 488.2 MB, free: 11.14 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001353/0.1653, allocations: 0.6232 MB / 488.9 MB, free: 10.5 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.507e-06/0.1653, allocations: 0 / 488.9 MB, free: 10.5 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008098/0.1662, allocations: 402.9 kB / 489.3 MB, free: 10.09 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004034/0.1666, allocations: 27.94 kB / 489.3 MB, free: 10.07 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005591/0.1722, allocations: 3.375 MB / 492.7 MB, free: 6.605 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003725/0.1726, allocations: 0.7523 MB / 493.4 MB, free: 5.824 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001199/0.1727, allocations: 29.92 kB / 493.4 MB, free: 5.797 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001149/0.1728, allocations: 71.41 kB / 493.5 MB, free: 5.727 MB / 366.1 MB Notification: Performance of SimCode: time 8.91e-07/0.1729, allocations: 0 / 493.5 MB, free: 5.727 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04864/0.2215, allocations: 9.303 MB / 0.491 GB, free: 12.55 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.13/11.35, allocations: 23.48 kB / 0.4911 GB, free: 12.53 MB / 382.1 MB (rm -f PowerSysPro_PowerSysPro.Examples.TwoSourcesTwoLinesOneLoad.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.TwoSourcesTwoLinesOneLoad.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.TwoSourcesTwoLinesOneLoad.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.TwoSourcesTwoLinesOneLoad.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Examples_TwoSourcesTwoLinesOneLoad_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Examples_TwoSourcesTwoLinesOneLoad.fmu > PowerSysPro_PowerSysPro.Examples.TwoSourcesTwoLinesOneLoad.pipe 2>&1)