Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001312/0.001312, allocations: 111.1 kB / 20.44 MB, free: 1.184 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001546/0.001546, allocations: 210 kB / 23.73 MB, free: 4.387 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.532/1.532, allocations: 230.6 MB / 257.5 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1862/0.1862, allocations: 38.56 MB / 352.5 MB, free: 12.38 MB / 286.1 MB " [Timeout remaining time 180] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixEqCirc2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixEqCirc2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: PowerSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002082/0.002082, allocations: 67.89 kB / 492.5 MB, free: 4.672 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3764/0.3785, allocations: 62.47 MB / 0.542 GB, free: 228 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2): time 0.004225/0.3827, allocations: 2.133 MB / 0.544 GB, free: 14.54 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001131/0.3838, allocations: 0.5139 MB / 0.5445 GB, free: 14.16 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.011e-05/0.3839, allocations: 5.156 kB / 0.5445 GB, free: 14.15 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001665/0.3841, allocations: 10.33 kB / 0.5446 GB, free: 14.14 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 9.951e-05/0.3842, allocations: 25.83 kB / 0.5446 GB, free: 14.12 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004187/0.3846, allocations: 82.53 kB / 0.5447 GB, free: 14.07 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001258/0.3847, allocations: 60.17 kB / 0.5447 GB, free: 14.04 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.106e-05/0.3848, allocations: 2.031 kB / 0.5447 GB, free: 14.04 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001403/0.3849, allocations: 36.25 kB / 0.5448 GB, free: 14.02 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.581e-05/0.385, allocations: 28.95 kB / 0.5448 GB, free: 14 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.04e-05/0.385, allocations: 1.594 kB / 0.5448 GB, free: 14 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002134/0.3852, allocations: 100.3 kB / 0.5449 GB, free: 13.93 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.335e-05/0.3852, allocations: 30.92 kB / 0.5449 GB, free: 13.91 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.969e-05/0.3853, allocations: 20.34 kB / 0.5449 GB, free: 13.9 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002393/0.3855, allocations: 138.2 kB / 0.5451 GB, free: 13.82 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.913e-06/0.3855, allocations: 0 / 0.5451 GB, free: 13.82 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.364e-06/0.3855, allocations: 0 / 0.5451 GB, free: 13.82 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.913e-06/0.3855, allocations: 1.375 kB / 0.5451 GB, free: 13.82 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.0005476/0.3861, allocations: 361.2 kB / 0.5454 GB, free: 13.48 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.622e-05/0.3861, allocations: 14.08 kB / 0.5454 GB, free: 13.47 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.986e-05/0.3862, allocations: 46.48 kB / 0.5455 GB, free: 13.42 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.654e-05/0.3862, allocations: 12.12 kB / 0.5455 GB, free: 13.41 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002213/0.3865, allocations: 134.8 kB / 0.5456 GB, free: 13.27 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.396e-06/0.3865, allocations: 1.438 kB / 0.5456 GB, free: 13.27 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.629e-05/0.3865, allocations: 5.188 kB / 0.5456 GB, free: 13.27 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002417/0.3867, allocations: 165.2 kB / 0.5458 GB, free: 13.16 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.087e-06/0.3867, allocations: 0 / 0.5458 GB, free: 13.16 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.198e-05/0.3868, allocations: 5.375 kB / 0.5458 GB, free: 13.16 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.489e-06/0.3868, allocations: 0 / 0.5458 GB, free: 13.16 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001415/0.3869, allocations: 125 kB / 0.5459 GB, free: 13.09 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002107/0.3871, allocations: 158.4 kB / 0.546 GB, free: 12.91 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002198/0.3873, allocations: 148.1 kB / 0.5462 GB, free: 12.82 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001707/0.3875, allocations: 133.6 kB / 0.5463 GB, free: 12.74 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.298e-05/0.3875, allocations: 5.203 kB / 0.5463 GB, free: 12.74 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.176e-05/0.3875, allocations: 31.72 kB / 0.5463 GB, free: 12.7 MB / 398.1 MB Notification: Performance of pre-optimization done (n=24): time 1.193e-06/0.3875, allocations: 4 kB / 0.5463 GB, free: 12.7 MB / 398.1 MB Notification: Performance of matching and sorting (n=24): time 0.0007125/0.3883, allocations: 465.8 kB / 0.5468 GB, free: 12.46 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001028/0.3884, allocations: 104 kB / 0.5469 GB, free: 12.35 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001386/0.3885, allocations: 133.3 kB / 0.547 GB, free: 12.23 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.298e-05/0.3885, allocations: 26.89 kB / 0.547 GB, free: 12.2 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.829e-05/0.3886, allocations: 95.25 kB / 0.5471 GB, free: 12.11 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.161e-05/0.3887, allocations: 78.05 kB / 0.5472 GB, free: 12.04 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.703e-05/0.3887, allocations: 22.75 kB / 0.5472 GB, free: 12.02 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001755/0.3889, allocations: 328.3 kB / 0.5475 GB, free: 11.7 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001561/0.3891, allocations: 124.2 kB / 0.5477 GB, free: 11.64 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001472/0.3892, allocations: 135.3 kB / 0.5478 GB, free: 11.57 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003454/0.3896, allocations: 291.1 kB / 0.5481 GB, free: 11.42 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.839e-06/0.3896, allocations: 4.75 kB / 0.5481 GB, free: 11.42 MB / 398.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004238/0.39, allocations: 323.5 kB / 0.5484 GB, free: 11.24 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.628e-05/0.3901, allocations: 67.66 kB / 0.5484 GB, free: 11.19 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.653e-06/0.3901, allocations: 1.344 kB / 0.5484 GB, free: 11.19 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.043e-05/0.3901, allocations: 0 / 0.5484 GB, free: 11.19 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.323e-06/0.3901, allocations: 0 / 0.5484 GB, free: 11.19 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.031e-06/0.3901, allocations: 1.156 kB / 0.5484 GB, free: 11.19 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.692e-05/0.3902, allocations: 16.67 kB / 0.5485 GB, free: 11.18 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.574e-05/0.3902, allocations: 5.406 kB / 0.5485 GB, free: 11.18 MB / 398.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 (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001922/0.3904, allocations: 198.5 kB / 0.5487 GB, free: 11 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.665e-05/0.3904, allocations: 16.38 kB / 0.5487 GB, free: 11 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.305e-05/0.3904, allocations: 12.06 kB / 0.5487 GB, free: 10.98 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.489e-06/0.3904, allocations: 3.984 kB / 0.5487 GB, free: 10.98 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.3904, allocations: 0 / 0.5487 GB, free: 10.98 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.518e-06/0.3904, allocations: 1.344 kB / 0.5487 GB, free: 10.98 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001731/0.3906, allocations: 163.3 kB / 0.5488 GB, free: 10.8 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.3906, allocations: 0 / 0.5488 GB, free: 10.8 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.61e-07/0.3906, allocations: 1.062 kB / 0.5488 GB, free: 10.8 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.302e-06/0.3906, allocations: 0 / 0.5488 GB, free: 10.8 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.574e-05/0.3906, allocations: 9.031 kB / 0.5489 GB, free: 10.79 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.3906, allocations: 0 / 0.5489 GB, free: 10.79 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.68e-06/0.3906, allocations: 7.969 kB / 0.5489 GB, free: 10.79 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006493/0.3913, allocations: 0.5116 MB / 0.5494 GB, free: 10.51 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.351e-05/0.3913, allocations: 20.31 kB / 0.5494 GB, free: 10.49 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.447e-05/0.3913, allocations: 4.438 kB / 0.5494 GB, free: 10.49 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.699e-05/0.3914, allocations: 6.906 kB / 0.5494 GB, free: 10.49 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.588e-05/0.3914, allocations: 2.844 kB / 0.5494 GB, free: 10.49 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.114e-05/0.3914, allocations: 8.5 kB / 0.5494 GB, free: 10.48 MB / 398.1 MB Notification: Performance of sorting global known variables: time 8.113e-05/0.3915, allocations: 108.9 kB / 0.5495 GB, free: 10.39 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3915, allocations: 0 / 0.5495 GB, free: 10.39 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000268/0.3917, allocations: 49.75 kB / 0.5496 GB, free: 10.39 MB / 398.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 (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * 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.001024/0.3928, allocations: 1.054 MB / 0.5506 GB, free: 9.586 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0006161/0.3934, allocations: 0.5019 MB / 0.5511 GB, free: 9.32 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.3934, allocations: 0 / 0.5511 GB, free: 9.32 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003403/0.3937, allocations: 299.2 kB / 0.5514 GB, free: 9.152 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002565/0.394, allocations: 15.52 kB / 0.5514 GB, free: 9.148 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003328/0.3973, allocations: 2.793 MB / 0.5541 GB, free: 7.223 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000122/0.3974, allocations: 105 kB / 0.5542 GB, free: 7.094 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 2.646e-05/0.3975, allocations: 7.938 kB / 0.5542 GB, free: 7.086 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.623e-05/0.3975, allocations: 31.42 kB / 0.5542 GB, free: 7.055 MB / 398.1 MB Notification: Performance of SimCode: time 7.11e-07/0.3975, allocations: 0 / 0.5542 GB, free: 7.055 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03253/0.43, allocations: 4.194 MB / 0.5583 GB, free: 2.98 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.08/11.51, allocations: 7.297 kB / 0.5583 GB, free: 2.977 MB / 398.1 MB " [Timeout remaining time 648] (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixEqCirc2_fmu --startTime=0 --stopTime=0 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixEqCirc2.fmu > PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.341549372766167] Failed to read output from testmodel.py, exit status != 0: 11.618723052088171 11.64936253 11.258630745 Calling exit ...