Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0.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.001318/0.001318, 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.001496/0.001496, allocations: 209.7 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.465/1.465, allocations: 230.6 MB / 257.5 MB, free: 7.793 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.1994/0.1994, allocations: 38.56 MB / 352.5 MB, free: 12.3 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_matrixEqCirc0,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixEqCirc0",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixEqCirc0",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.00205/0.00205, allocations: 67.89 kB / 492.5 MB, free: 4.688 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4004/0.4024, allocations: 62.48 MB / 0.542 GB, free: 232 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0): time 0.003933/0.4064, allocations: 2.136 MB / 0.544 GB, free: 14.54 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008989/0.4073, allocations: 0.5112 MB / 0.5445 GB, free: 14.16 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.748e-05/0.4073, allocations: 3.938 kB / 0.5445 GB, free: 14.16 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001862/0.4075, allocations: 11.64 kB / 0.5446 GB, free: 14.15 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 9.19e-05/0.4076, allocations: 30.05 kB / 0.5446 GB, free: 14.13 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003755/0.408, allocations: 82.67 kB / 0.5447 GB, free: 14.07 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001296/0.4081, allocations: 56.52 kB / 0.5447 GB, free: 14.04 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.722e-05/0.4081, allocations: 6.812 kB / 0.5447 GB, free: 14.04 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001357/0.4083, allocations: 31.59 kB / 0.5448 GB, free: 14.02 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.473e-05/0.4083, allocations: 38.95 kB / 0.5448 GB, free: 14 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 9.858e-06/0.4084, allocations: 1.375 kB / 0.5448 GB, free: 14 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000216/0.4086, allocations: 103.2 kB / 0.5449 GB, free: 13.93 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.069e-05/0.4086, allocations: 13.42 kB / 0.5449 GB, free: 13.92 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.002e-05/0.4087, allocations: 13.38 kB / 0.5449 GB, free: 13.91 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002114/0.4089, allocations: 93.58 kB / 0.545 GB, free: 13.86 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.4089, allocations: 0 / 0.545 GB, free: 13.86 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.866e-06/0.4089, allocations: 1.375 kB / 0.545 GB, free: 13.86 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.801e-06/0.4089, allocations: 0 / 0.545 GB, free: 13.86 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0004399/0.4093, allocations: 317.7 kB / 0.5453 GB, free: 13.54 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.002e-05/0.4094, allocations: 13.58 kB / 0.5453 GB, free: 13.54 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.718e-05/0.4094, allocations: 40.06 kB / 0.5454 GB, free: 13.49 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.533e-05/0.4094, allocations: 7.641 kB / 0.5454 GB, free: 13.48 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001917/0.4096, allocations: 129.2 kB / 0.5455 GB, free: 13.34 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.05e-05/0.4096, allocations: 384 / 0.5455 GB, free: 13.34 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.321e-05/0.4097, allocations: 5.25 kB / 0.5455 GB, free: 13.34 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001644/0.4098, allocations: 90.84 kB / 0.5456 GB, free: 13.26 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.142e-05/0.4098, allocations: 7.984 kB / 0.5456 GB, free: 13.25 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.897e-06/0.4098, allocations: 1 kB / 0.5456 GB, free: 13.25 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.538e-06/0.4098, allocations: 0 / 0.5456 GB, free: 13.25 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.006e-05/0.4099, allocations: 62.19 kB / 0.5457 GB, free: 13.21 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002038/0.4101, allocations: 131.9 kB / 0.5458 GB, free: 13.05 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000118/0.4102, allocations: 82.39 kB / 0.5459 GB, free: 12.98 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.511e-05/0.4103, allocations: 70.47 kB / 0.5459 GB, free: 12.92 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.027e-06/0.4103, allocations: 0 / 0.5459 GB, free: 12.92 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.006e-05/0.4104, allocations: 36.09 kB / 0.546 GB, free: 12.88 MB / 398.1 MB Notification: Performance of pre-optimization done (n=8): time 1.022e-06/0.4104, allocations: 1.375 kB / 0.546 GB, free: 12.88 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0003203/0.4107, allocations: 226.4 kB / 0.5462 GB, free: 12.72 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.394e-05/0.4108, allocations: 91.69 kB / 0.5463 GB, free: 12.62 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001017/0.4109, allocations: 114.1 kB / 0.5464 GB, free: 12.51 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.947e-05/0.4109, allocations: 26.98 kB / 0.5464 GB, free: 12.48 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.257e-05/0.4109, allocations: 89.67 kB / 0.5465 GB, free: 12.39 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.946e-05/0.411, allocations: 31.64 kB / 0.5465 GB, free: 12.36 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.486e-05/0.411, allocations: 15.16 kB / 0.5465 GB, free: 12.34 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001632/0.4112, allocations: 321.2 kB / 0.5468 GB, free: 12.02 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.72e-05/0.4113, allocations: 58.28 kB / 0.5469 GB, free: 11.98 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.994e-05/0.4113, allocations: 66.11 kB / 0.547 GB, free: 11.94 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001435/0.4115, allocations: 137.8 kB / 0.5471 GB, free: 11.84 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.418e-06/0.4115, allocations: 3.938 kB / 0.5471 GB, free: 11.84 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000199/0.4117, allocations: 170.6 kB / 0.5472 GB, free: 11.71 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.469e-05/0.4117, allocations: 42.34 kB / 0.5473 GB, free: 11.68 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.039e-06/0.4117, allocations: 3.938 kB / 0.5473 GB, free: 11.68 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.427e-05/0.4118, allocations: 9.469 kB / 0.5473 GB, free: 11.67 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.042e-06/0.4118, allocations: 3.938 kB / 0.5473 GB, free: 11.66 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.16e-06/0.4118, allocations: 0 / 0.5473 GB, free: 11.66 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.944e-05/0.4118, allocations: 11.3 kB / 0.5473 GB, free: 11.66 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.735e-05/0.4118, allocations: 1.406 kB / 0.5473 GB, free: 11.66 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.000138/0.4119, allocations: 161.9 kB / 0.5475 GB, free: 11.5 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.357e-05/0.412, allocations: 8.922 kB / 0.5475 GB, free: 11.49 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.497e-05/0.412, allocations: 5.906 kB / 0.5475 GB, free: 11.48 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.412, allocations: 0 / 0.5475 GB, free: 11.48 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.511e-06/0.412, allocations: 0.875 kB / 0.5475 GB, free: 11.48 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.534e-06/0.412, allocations: 4 kB / 0.5475 GB, free: 11.48 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001285/0.4121, allocations: 137.5 kB / 0.5476 GB, free: 11.31 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.4121, allocations: 1.094 kB / 0.5476 GB, free: 11.31 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.31e-07/0.4121, allocations: 0 / 0.5476 GB, free: 11.31 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.303e-06/0.4121, allocations: 0 / 0.5476 GB, free: 11.31 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.588e-06/0.4121, allocations: 2.75 kB / 0.5476 GB, free: 11.31 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.42e-07/0.4121, allocations: 0 / 0.5476 GB, free: 11.31 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.4121, allocations: 1.375 kB / 0.5476 GB, free: 11.31 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003202/0.4125, allocations: 259.2 kB / 0.5479 GB, free: 11.12 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.064e-05/0.4125, allocations: 2.219 kB / 0.5479 GB, free: 11.12 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.755e-05/0.4125, allocations: 2.156 kB / 0.5479 GB, free: 11.12 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.823e-05/0.4125, allocations: 9.062 kB / 0.5479 GB, free: 11.12 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.108e-05/0.4125, allocations: 2.125 kB / 0.5479 GB, free: 11.12 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.09e-05/0.4125, allocations: 6.141 kB / 0.5479 GB, free: 11.11 MB / 398.1 MB Notification: Performance of sorting global known variables: time 5.856e-05/0.4126, allocations: 88.06 kB / 0.548 GB, free: 11.04 MB / 398.1 MB Notification: Performance of sort global known variables: time 6e-08/0.4126, allocations: 0 / 0.548 GB, free: 11.04 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002423/0.4128, allocations: 27.97 kB / 0.548 GB, free: 11.03 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.0007415/0.4136, allocations: 0.8015 MB / 0.5488 GB, free: 10.31 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003447/0.4139, allocations: 243.9 kB / 0.549 GB, free: 10.14 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 5.31e-06/0.4139, allocations: 0 / 0.549 GB, free: 10.14 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001608/0.4141, allocations: 155.9 kB / 0.5492 GB, free: 10.02 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002834/0.4144, allocations: 6.156 kB / 0.5492 GB, free: 10.02 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001938/0.4163, allocations: 1.756 MB / 0.5509 GB, free: 8.52 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.141e-05/0.4164, allocations: 78.81 kB / 0.551 GB, free: 8.438 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 1.927e-05/0.4164, allocations: 1.062 kB / 0.551 GB, free: 8.438 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.889e-05/0.4165, allocations: 16.44 kB / 0.551 GB, free: 8.422 MB / 398.1 MB Notification: Performance of SimCode: time 7.01e-07/0.4165, allocations: 0 / 0.551 GB, free: 8.422 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03121/0.4477, allocations: 2.745 MB / 0.5537 GB, free: 6.77 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.17/11.61, allocations: 9.109 kB / 0.5537 GB, free: 6.766 MB / 398.1 MB " [Timeout remaining time 648] (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixEqCirc0_fmu --startTime=0 --stopTime=0 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixEqCirc0.fmu > PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.364735207054764] Failed to read output from testmodel.py, exit status != 0: 11.724621559958905 11.754879881 11.340179929 Calling exit ...