Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Source.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.Source,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Elementary_Source",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Elementary.Source,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Elementary_Source",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.001252/0.001252, allocations: 110.2 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.001377/0.001378, 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.303/1.303, allocations: 222.9 MB / 241.6 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.173/0.173, allocations: 38.03 MB / 329.7 MB, free: 8.801 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001293/0.001293, allocations: 55.77 kB / 398.9 MB, free: 33.96 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0999/0.1012, allocations: 58.07 MB / 457 MB, free: 7.969 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Source): time 0.00589/0.1071, allocations: 4.401 MB / 461.4 MB, free: 3.539 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002268/0.1094, allocations: 1.523 MB / 462.9 MB, free: 2.012 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001607/0.1096, allocations: 15.88 kB / 462.9 MB, free: 1.996 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007816/0.1104, allocations: 278 kB / 463.2 MB, free: 1.727 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005142/0.1109, allocations: 290.6 kB / 463.5 MB, free: 1.441 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005621/0.1115, allocations: 243.4 kB / 463.7 MB, free: 1.203 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005369/0.1121, allocations: 0.6079 MB / 464.3 MB, free: 0.5938 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003423/0.1124, allocations: 231.8 kB / 464.5 MB, free: 380 kB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003085/0.1127, allocations: 263 kB / 464.8 MB, free: 116 kB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004766/0.1132, allocations: 366.9 kB / 465.1 MB, free: 15.75 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.321e-05/0.1133, allocations: 40 kB / 465.2 MB, free: 15.71 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000401/0.1137, allocations: 239.6 kB / 465.4 MB, free: 15.48 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001974/0.1139, allocations: 231.4 kB / 465.6 MB, free: 15.25 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002316/0.1141, allocations: 254.7 kB / 465.9 MB, free: 15 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006093/0.1148, allocations: 0.6504 MB / 466.5 MB, free: 14.35 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.987e-06/0.1148, allocations: 0 / 466.5 MB, free: 14.35 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.253e-06/0.1148, allocations: 0 / 466.5 MB, free: 14.35 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.636e-06/0.1148, allocations: 4 kB / 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: 119 * Number of variables: 119 Notification: Performance of Generate backend data structure: time 0.001299/0.1161, allocations: 0.7805 MB / 467.3 MB, free: 13.52 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.786e-05/0.1162, allocations: 15.89 kB / 467.3 MB, free: 13.51 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.263e-05/0.1162, allocations: 86.69 kB / 467.4 MB, free: 13.41 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006074/0.1169, allocations: 88.22 kB / 467.5 MB, free: 13.33 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005462/0.1174, allocations: 403.2 kB / 467.9 MB, free: 12.89 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.553e-05/0.1175, allocations: 33.36 kB / 467.9 MB, free: 12.86 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001269/0.1176, allocations: 43.94 kB / 468 MB, free: 12.81 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000896/0.1185, allocations: 0.6953 MB / 468.7 MB, free: 12.08 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.15e-05/0.1185, allocations: 7.938 kB / 468.7 MB, free: 12.07 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.613e-05/0.1186, allocations: 16 kB / 468.7 MB, free: 12.05 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001999/0.1188, allocations: 64.94 kB / 468.8 MB, free: 11.99 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009116/0.1197, allocations: 0.6674 MB / 469.4 MB, free: 11.32 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003225/0.1229, allocations: 2.654 MB / 472.1 MB, free: 8.516 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005152/0.1235, allocations: 325.2 kB / 472.4 MB, free: 8.18 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002508/0.1237, allocations: 201.7 kB / 472.6 MB, free: 7.977 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.633e-05/0.1238, allocations: 15.97 kB / 472.6 MB, free: 7.961 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.651e-05/0.1238, allocations: 34.5 kB / 472.6 MB, free: 7.918 MB / 350.1 MB Notification: Performance of pre-optimization done (n=39): time 2.044e-06/0.1238, allocations: 3.938 kB / 472.7 MB, free: 7.914 MB / 350.1 MB Notification: Performance of matching and sorting (n=40): time 0.001856/0.1257, allocations: 1.29 MB / 473.9 MB, free: 6.57 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.622e-05/0.1257, allocations: 81.11 kB / 474 MB, free: 6.473 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002626/0.126, allocations: 287.2 kB / 474.3 MB, free: 6.188 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.571e-05/0.126, allocations: 41.62 kB / 474.3 MB, free: 6.141 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001403/0.1262, allocations: 243.7 kB / 474.6 MB, free: 5.895 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.157e-05/0.1263, allocations: 145.9 kB / 474.7 MB, free: 5.75 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001101/0.1264, allocations: 82.03 kB / 474.8 MB, free: 5.664 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001153/0.1265, allocations: 354.8 kB / 475.1 MB, free: 5.309 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002427/0.1268, allocations: 184.9 kB / 475.3 MB, free: 5.129 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003124/0.1271, allocations: 329.3 kB / 475.7 MB, free: 4.754 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000614/0.1277, allocations: 0.5545 MB / 476.2 MB, free: 4.141 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.1277, allocations: 0 / 476.2 MB, free: 4.141 MB / 350.1 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.001135/0.1289, allocations: 0.6854 MB / 476.9 MB, free: 3.441 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.893e-05/0.1289, allocations: 11.98 kB / 476.9 MB, free: 3.43 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0007529/0.1296, allocations: 488.1 kB / 477.4 MB, free: 2.945 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004068/0.1301, allocations: 117.5 kB / 477.5 MB, free: 2.824 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002852/0.1304, allocations: 75.89 kB / 477.6 MB, free: 2.75 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002727/0.1331, allocations: 3.262 MB / 480.8 MB, free: 15.21 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002393/0.1334, allocations: 23.98 kB / 480.9 MB, free: 15.18 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.998e-05/0.1334, allocations: 20.06 kB / 480.9 MB, free: 15.16 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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 (45): * Single equations (assignments): 41 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002719/0.1337, allocations: 205.7 kB / 481.1 MB, free: 14.95 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.972e-05/0.1338, allocations: 35.53 kB / 481.1 MB, free: 14.92 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000712/0.1345, allocations: 473.1 kB / 481.6 MB, free: 14.44 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.426e-05/0.1345, allocations: 19.92 kB / 481.6 MB, free: 14.42 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/0.1346, allocations: 7.938 kB / 481.6 MB, free: 14.41 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.693e-06/0.1346, allocations: 4 kB / 481.6 MB, free: 14.41 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001357/0.1359, allocations: 1.017 MB / 482.6 MB, free: 13.33 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.046e-06/0.1359, allocations: 3.938 kB / 482.6 MB, free: 13.33 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003213/0.1363, allocations: 59.95 kB / 482.7 MB, free: 13.27 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.861e-06/0.1363, allocations: 7.938 kB / 482.7 MB, free: 13.26 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.399e-05/0.1363, allocations: 12.06 kB / 482.7 MB, free: 13.25 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.406e-06/0.1363, allocations: 3.938 kB / 482.7 MB, free: 13.25 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/0.1363, allocations: 4 kB / 482.7 MB, free: 13.24 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009531/0.1373, allocations: 0.7397 MB / 483.4 MB, free: 12.48 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001483/0.1374, allocations: 144.6 kB / 483.6 MB, free: 12.32 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.879e-05/0.1375, allocations: 16 kB / 483.6 MB, free: 12.3 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001867/0.1377, allocations: 15.97 kB / 483.6 MB, free: 12.29 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.445e-05/0.1378, allocations: 23.91 kB / 483.6 MB, free: 12.26 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.462e-05/0.1378, allocations: 12 kB / 483.7 MB, free: 12.25 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001941/0.138, allocations: 203.1 kB / 483.9 MB, free: 12.05 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.138, allocations: 0 / 483.9 MB, free: 12.05 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005182/0.1385, allocations: 108 kB / 484 MB, free: 11.95 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 (30): * Single equations (assignments): 27 * Array equations: 2 * 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.001321/0.1398, allocations: 1.324 MB / 485.3 MB, free: 10.59 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001116/0.141, allocations: 0.7981 MB / 486.1 MB, free: 9.762 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.141, allocations: 0 / 486.1 MB, free: 9.762 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002618/0.1413, allocations: 210.6 kB / 486.3 MB, free: 9.559 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004824/0.1417, allocations: 60.81 kB / 486.3 MB, free: 9.5 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005132/0.1469, allocations: 4.395 MB / 490.7 MB, free: 4.891 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004315/0.1473, allocations: 0.8743 MB / 491.6 MB, free: 3.992 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002857/0.1476, allocations: 107.2 kB / 491.7 MB, free: 3.887 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001824/0.1478, allocations: 147.4 kB / 491.9 MB, free: 3.742 MB / 366.1 MB Notification: Performance of SimCode: time 4.01e-07/0.1478, allocations: 0 / 491.9 MB, free: 3.742 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02881/0.1766, allocations: 7.941 MB / 499.8 MB, free: 11.88 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.045/9.222, allocations: 7.672 kB / 499.8 MB, free: 11.88 MB / 382.1 MB (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Source.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Source.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Source.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Source.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_AC3ph_Elementary_Source_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_AC3ph_Elementary_Source.fmu > PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Source.pipe 2>&1)