Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Impedance.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/PowerSystems 2.0.0/package.mo", uses=false) Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/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(PowerSystems.Examples.AC3ph.Elementary.Impedance,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Elementary_Impedance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Elementary.Impedance,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Elementary_Impedance",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.001335/0.001336, allocations: 106.3 kB / 16.92 MB, free: 6.332 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.001624/0.001624, allocations: 191.4 kB / 17.85 MB, free: 5.414 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.314/1.314, allocations: 222.9 MB / 241.5 MB, free: 15.3 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1724/0.1724, allocations: 38.03 MB / 329.7 MB, free: 8.789 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001183/0.001183, allocations: 66.58 kB / 398.9 MB, free: 33.93 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1023/0.1035, allocations: 58.05 MB / 457 MB, free: 7.961 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Impedance): time 0.006797/0.1104, allocations: 4.579 MB / 461.5 MB, free: 3.355 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002467/0.1129, allocations: 1.472 MB / 463 MB, free: 1.879 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002172/0.1131, allocations: 11.94 kB / 463 MB, free: 1.867 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001075/0.1142, allocations: 378.5 kB / 463.4 MB, free: 1.496 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005137/0.1147, allocations: 234.8 kB / 463.6 MB, free: 1.266 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000625/0.1153, allocations: 255.3 kB / 463.9 MB, free: 1.016 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005459/0.1159, allocations: 0.5573 MB / 464.4 MB, free: 468 kB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004676/0.1164, allocations: 334.5 kB / 464.8 MB, free: 140 kB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003283/0.1167, allocations: 255 kB / 465 MB, free: 15.89 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004399/0.1172, allocations: 318.9 kB / 465.3 MB, free: 15.57 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.548e-05/0.1172, allocations: 36 kB / 465.3 MB, free: 15.54 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000265/0.1175, allocations: 135.8 kB / 465.5 MB, free: 15.41 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002071/0.1177, allocations: 231.4 kB / 465.7 MB, free: 15.18 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002275/0.118, allocations: 250.7 kB / 466 MB, free: 14.93 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005777/0.1186, allocations: 0.5841 MB / 466.5 MB, free: 14.35 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.987e-06/0.1186, allocations: 0 / 466.5 MB, free: 14.35 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.1186, allocations: 0 / 466.5 MB, free: 14.35 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.474e-06/0.1186, allocations: 0 / 466.5 MB, free: 14.35 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: 113 * Number of variables: 113 Notification: Performance of Generate backend data structure: time 0.00135/0.1199, allocations: 0.7699 MB / 467.3 MB, free: 13.53 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.738e-05/0.12, allocations: 11.89 kB / 467.3 MB, free: 13.52 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000111/0.1201, allocations: 86.7 kB / 467.4 MB, free: 13.42 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005614/0.1207, allocations: 100.1 kB / 467.5 MB, free: 13.32 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005783/0.1213, allocations: 407.9 kB / 467.9 MB, free: 12.89 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.358e-05/0.1213, allocations: 29.38 kB / 467.9 MB, free: 12.86 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001268/0.1214, allocations: 51.94 kB / 468 MB, free: 12.81 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009124/0.1223, allocations: 0.6517 MB / 468.6 MB, free: 12.1 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.875e-05/0.1224, allocations: 0 / 468.6 MB, free: 12.1 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.227e-05/0.1224, allocations: 20 kB / 468.7 MB, free: 12.08 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001178/0.1226, allocations: 32.98 kB / 468.7 MB, free: 12.04 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006935/0.1233, allocations: 479.5 kB / 469.2 MB, free: 11.57 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003162/0.1264, allocations: 3.018 MB / 472.2 MB, free: 8.391 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002801/0.1267, allocations: 177.1 kB / 472.3 MB, free: 8.199 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001548/0.1269, allocations: 113.7 kB / 472.5 MB, free: 8.082 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.779e-05/0.1269, allocations: 3.984 kB / 472.5 MB, free: 8.078 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.086e-05/0.127, allocations: 38.56 kB / 472.5 MB, free: 8.031 MB / 350.1 MB Notification: Performance of pre-optimization done (n=20): time 1.613e-06/0.127, allocations: 0 / 472.5 MB, free: 8.031 MB / 350.1 MB Notification: Performance of matching and sorting (n=21): time 0.001397/0.1284, allocations: 0.8305 MB / 473.3 MB, free: 7.148 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.044e-05/0.1285, allocations: 89.12 kB / 473.4 MB, free: 7.043 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004018/0.1289, allocations: 349.4 kB / 473.8 MB, free: 6.695 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.903e-05/0.1289, allocations: 33.7 kB / 473.8 MB, free: 6.656 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002629/0.1292, allocations: 299 kB / 474.1 MB, free: 6.355 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001022/0.1293, allocations: 78.98 kB / 474.2 MB, free: 6.277 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001565/0.1294, allocations: 89.94 kB / 474.2 MB, free: 6.18 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002014/0.1297, allocations: 338.8 kB / 474.6 MB, free: 5.84 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002326/0.1299, allocations: 132.8 kB / 474.7 MB, free: 5.711 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004377/0.1303, allocations: 330.8 kB / 475 MB, free: 5.293 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006542/0.131, allocations: 0.4969 MB / 475.5 MB, free: 4.703 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.853e-06/0.131, allocations: 7.938 kB / 475.5 MB, free: 4.695 MB / 350.1 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001047/0.1321, allocations: 0.5526 MB / 476.1 MB, free: 4.133 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.698e-05/0.1321, allocations: 12.19 kB / 476.1 MB, free: 4.121 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005333/0.1326, allocations: 274.9 kB / 476.4 MB, free: 3.852 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003602/0.133, allocations: 84.77 kB / 476.4 MB, free: 3.766 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003356/0.1334, allocations: 95.83 kB / 476.5 MB, free: 3.672 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001649/0.135, allocations: 1.723 MB / 478.3 MB, free: 1.801 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002227/0.1353, allocations: 16.06 kB / 478.3 MB, free: 1.785 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.481e-05/0.1353, allocations: 27.94 kB / 478.3 MB, free: 1.758 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (50): * Single equations (assignments): 49 * 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): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002782/0.1356, allocations: 213.6 kB / 478.5 MB, free: 1.539 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.925e-05/0.1357, allocations: 35.53 kB / 478.5 MB, free: 1.504 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004671/0.1361, allocations: 300.5 kB / 478.8 MB, free: 1.207 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.584e-06/0.1361, allocations: 0 / 478.8 MB, free: 1.207 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.242e-06/0.1362, allocations: 4 kB / 478.8 MB, free: 1.203 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.618e-06/0.1362, allocations: 4 kB / 478.9 MB, free: 1.199 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001212/0.1374, allocations: 0.7909 MB / 479.6 MB, free: 356 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.479e-06/0.1374, allocations: 4 kB / 479.6 MB, free: 352 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000274/0.1377, allocations: 55.91 kB / 479.7 MB, free: 296 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.42e-06/0.1377, allocations: 4.062 kB / 479.7 MB, free: 292 kB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.14e-05/0.1377, allocations: 11.98 kB / 479.7 MB, free: 280 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.697e-06/0.1377, allocations: 7.938 kB / 479.7 MB, free: 272 kB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.1377, allocations: 0 / 479.7 MB, free: 272 kB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005584/0.1383, allocations: 480.9 kB / 480.2 MB, free: 15.77 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.784e-05/0.1384, allocations: 108.8 kB / 480.3 MB, free: 15.64 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.39e-05/0.1384, allocations: 15.92 kB / 480.3 MB, free: 15.63 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001584/0.1386, allocations: 12.03 kB / 480.3 MB, free: 15.62 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.673e-05/0.1386, allocations: 11.98 kB / 480.3 MB, free: 15.61 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.661e-05/0.1387, allocations: 12 kB / 480.4 MB, free: 15.59 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002031/0.1389, allocations: 235.2 kB / 480.6 MB, free: 15.37 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1389, allocations: 0 / 480.6 MB, free: 15.37 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004454/0.1393, allocations: 96 kB / 480.7 MB, free: 15.27 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (ind.i[1],ind.i[2],ind.i[3]) * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008222/0.1402, allocations: 1.007 MB / 481.7 MB, free: 14.23 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0007323/0.1409, allocations: 466.5 kB / 482.1 MB, free: 13.76 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.1409, allocations: 1.625 kB / 482.1 MB, free: 13.76 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001598/0.1411, allocations: 119 kB / 482.3 MB, free: 13.64 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004615/0.1415, allocations: 69.47 kB / 482.3 MB, free: 13.58 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004747/0.1463, allocations: 4.002 MB / 486.3 MB, free: 9.285 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004702/0.1468, allocations: 0.874 MB / 487.2 MB, free: 8.387 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003032/0.1471, allocations: 107.2 kB / 487.3 MB, free: 8.285 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002043/0.1473, allocations: 151.4 kB / 487.5 MB, free: 8.137 MB / 366.1 MB Notification: Performance of SimCode: time 1.022e-06/0.1473, allocations: 0 / 487.5 MB, free: 8.137 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06205/0.2094, allocations: 7.27 MB / 494.7 MB, free: 0.9609 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.281/9.49, allocations: 0 / 494.7 MB, free: 0.9609 MB / 366.1 MB (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Impedance.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Impedance.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Impedance.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Impedance.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_AC3ph_Elementary_Impedance_fmu --startTime=0 --stopTime=0.2 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_AC3ph_Elementary_Impedance.fmu > PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Impedance.pipe 2>&1)