Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Load.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Load,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Elementary_Load",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Elementary.Load,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Elementary_Load",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.0006689/0.000669, allocations: 90.44 kB / 16.65 MB, free: 6.348 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.0008171/0.000817, allocations: 178.6 kB / 17.56 MB, free: 5.949 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.525/1.525, allocations: 205.4 MB / 223.7 MB, free: 13.07 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1638/0.1638, allocations: 38.07 MB / 310.1 MB, free: 5.902 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005185/0.0005185, allocations: 19.98 kB / 377.3 MB, free: 2.605 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2447/0.2453, allocations: 56.33 MB / 433.6 MB, free: 18.64 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Load): time 0.003643/0.2489, allocations: 4.729 MB / 438.3 MB, free: 13.89 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001955/0.2509, allocations: 1.75 MB / 440.1 MB, free: 12.13 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001913/0.2511, allocations: 27.81 kB / 440.1 MB, free: 12.1 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001615/0.2513, allocations: 59.53 kB / 440.2 MB, free: 12.04 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004402/0.2517, allocations: 243 kB / 440.4 MB, free: 11.8 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004385/0.2522, allocations: 235.6 kB / 440.6 MB, free: 11.57 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005264/0.2527, allocations: 0.8848 MB / 441.5 MB, free: 10.69 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005511/0.2533, allocations: 0.5013 MB / 442 MB, free: 10.16 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002161/0.2535, allocations: 242.9 kB / 442.3 MB, free: 9.922 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003807/0.2539, allocations: 374.8 kB / 442.6 MB, free: 9.555 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.08e-05/0.254, allocations: 23.94 kB / 442.6 MB, free: 9.531 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002061/0.2542, allocations: 135.8 kB / 442.8 MB, free: 9.398 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001443/0.2543, allocations: 219.4 kB / 443 MB, free: 9.184 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001687/0.2545, allocations: 276.3 kB / 443.3 MB, free: 8.906 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003904/0.2549, allocations: 0.619 MB / 443.9 MB, free: 8.285 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.2549, allocations: 0 / 443.9 MB, free: 8.285 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.2549, allocations: 0 / 443.9 MB, free: 8.285 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.232e-06/0.2549, allocations: 4 kB / 443.9 MB, free: 8.281 MB / 318.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.001285/0.2562, allocations: 0.7931 MB / 444.7 MB, free: 7.438 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.19e-05/0.2563, allocations: 12.03 kB / 444.7 MB, free: 7.426 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.479e-05/0.2563, allocations: 86.7 kB / 444.8 MB, free: 7.332 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000462/0.2568, allocations: 84.23 kB / 444.9 MB, free: 7.25 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006843/0.2575, allocations: 487.8 kB / 445.3 MB, free: 6.738 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.105e-05/0.2575, allocations: 29.38 kB / 445.4 MB, free: 6.711 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001094/0.2577, allocations: 51.94 kB / 445.4 MB, free: 6.66 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007172/0.2584, allocations: 0.6961 MB / 446.1 MB, free: 5.898 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.914e-05/0.2584, allocations: 7.938 kB / 446.1 MB, free: 5.891 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.285e-05/0.2585, allocations: 16 kB / 446.1 MB, free: 5.875 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.291e-05/0.2586, allocations: 36.98 kB / 446.2 MB, free: 5.836 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006217/0.2592, allocations: 0.5267 MB / 446.7 MB, free: 5.312 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002512/0.2617, allocations: 3.11 MB / 449.8 MB, free: 2.047 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004362/0.2622, allocations: 329 kB / 450.1 MB, free: 1.711 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001867/0.2624, allocations: 173.7 kB / 450.3 MB, free: 1.535 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.344e-05/0.2624, allocations: 8.484 kB / 450.3 MB, free: 1.527 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.776e-05/0.2624, allocations: 38.56 kB / 450.3 MB, free: 1.48 MB / 318.1 MB Notification: Performance of pre-optimization done (n=31): time 1.322e-06/0.2624, allocations: 0 / 450.3 MB, free: 1.48 MB / 318.1 MB Notification: Performance of matching and sorting (n=32): time 0.001456/0.2639, allocations: 1.219 MB / 451.6 MB, free: 212 kB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.993e-05/0.2639, allocations: 81.11 kB / 451.6 MB, free: 112 kB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003646/0.2643, allocations: 393.5 kB / 452 MB, free: 15.72 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.026e-05/0.2643, allocations: 33.7 kB / 452.1 MB, free: 15.68 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001849/0.2645, allocations: 299.2 kB / 452.3 MB, free: 15.38 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.11e-05/0.2646, allocations: 114.4 kB / 452.5 MB, free: 15.27 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.404e-05/0.2647, allocations: 49.69 kB / 452.5 MB, free: 15.21 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001161/0.2648, allocations: 354.7 kB / 452.9 MB, free: 14.86 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002784/0.2651, allocations: 193 kB / 453 MB, free: 14.66 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003853/0.2655, allocations: 385.5 kB / 453.4 MB, free: 14.2 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007416/0.2662, allocations: 0.6009 MB / 454 MB, free: 13.52 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.2663, allocations: 0 / 454 MB, free: 13.52 MB / 334.1 MB Notification: Performance of matching and sorting (n=63) (initialization): time 0.001739/0.268, allocations: 0.8376 MB / 454.9 MB, free: 12.66 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.775e-05/0.268, allocations: 8 kB / 454.9 MB, free: 12.66 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.897e-06/0.268, allocations: 4 kB / 454.9 MB, free: 12.65 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0012/0.2693, allocations: 269.8 kB / 455.1 MB, free: 12.38 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005696/0.2698, allocations: 135.8 kB / 455.3 MB, free: 12.25 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004266/0.2741, allocations: 3.754 MB / 459 MB, free: 8.223 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003205/0.2744, allocations: 23.98 kB / 459 MB, free: 8.199 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.897e-05/0.2745, allocations: 31.98 kB / 459.1 MB, free: 8.168 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * 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 (53): * Single equations (assignments): 51 * Array equations: 0 * 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): 1 system {(2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0002699/0.2748, allocations: 229.5 kB / 459.3 MB, free: 7.934 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.714e-05/0.2749, allocations: 43.53 kB / 459.3 MB, free: 7.891 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000725/0.2756, allocations: 485 kB / 459.8 MB, free: 7.406 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.55e-06/0.2756, allocations: 4 kB / 459.8 MB, free: 7.402 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.775e-06/0.2756, allocations: 4 kB / 459.8 MB, free: 7.398 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.859e-06/0.2756, allocations: 0 / 459.8 MB, free: 7.398 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001298/0.2769, allocations: 1.019 MB / 460.8 MB, free: 6.316 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.076e-06/0.2769, allocations: 0 / 460.8 MB, free: 6.316 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004093/0.2774, allocations: 87.88 kB / 460.9 MB, free: 6.23 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.657e-06/0.2774, allocations: 0 / 460.9 MB, free: 6.23 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.313e-05/0.2774, allocations: 15.98 kB / 460.9 MB, free: 6.215 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.544e-06/0.2774, allocations: 4 kB / 460.9 MB, free: 6.211 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.2774, allocations: 0 / 460.9 MB, free: 6.211 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009419/0.2784, allocations: 0.7432 MB / 461.7 MB, free: 5.441 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.504e-05/0.2785, allocations: 120.6 kB / 461.8 MB, free: 5.305 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.962e-05/0.2785, allocations: 8.062 kB / 461.8 MB, free: 5.297 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002288/0.2788, allocations: 19.98 kB / 461.8 MB, free: 5.277 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.716e-05/0.2788, allocations: 19.91 kB / 461.9 MB, free: 5.258 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.66e-05/0.2788, allocations: 19.98 kB / 461.9 MB, free: 5.238 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002473/0.2791, allocations: 271.1 kB / 462.1 MB, free: 4.977 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2791, allocations: 0 / 462.1 MB, free: 4.977 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004962/0.2796, allocations: 124 kB / 462.3 MB, free: 4.855 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 5 (load.psi[1],load.psi[2],load.psi[3],load.Z[1],load.Z[2]) * 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 (38): * Single equations (assignments): 37 * 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.001122/0.2807, allocations: 1.284 MB / 463.5 MB, free: 3.535 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.00132/0.2821, allocations: 0.7982 MB / 464.3 MB, free: 2.711 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.956e-06/0.2821, allocations: 0 / 464.3 MB, free: 2.711 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002618/0.2823, allocations: 199.8 kB / 464.5 MB, free: 2.516 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00056/0.2829, allocations: 89.97 kB / 464.6 MB, free: 2.426 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008026/0.2909, allocations: 5.629 MB / 470.3 MB, free: 12.52 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004171/0.2914, allocations: 0.9015 MB / 471.2 MB, free: 11.6 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0003954/0.2918, allocations: 127.3 kB / 471.3 MB, free: 11.47 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002383/0.292, allocations: 175.3 kB / 471.4 MB, free: 11.3 MB / 350.1 MB Notification: Performance of SimCode: time 7.41e-07/0.292, allocations: 0 / 471.4 MB, free: 11.3 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02126/0.3133, allocations: 9.91 MB / 481.4 MB, free: 1.426 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002072/0.3135, allocations: 221.5 kB / 481.6 MB, free: 1.172 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.862/2.176, allocations: 0 / 481.6 MB, free: 1.172 MB / 350.1 MB (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Load.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Load.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Load.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Load.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_AC3ph_Elementary_Load_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_AC3ph_Elementary_Load.fmu > PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Load.pipe 2>&1)