Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1.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.001678/0.001678, allocations: 115.9 kB / 20.44 MB, free: 1.465 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.001491/0.001491, allocations: 213.5 kB / 23.74 MB, free: 4.691 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.485/1.485, allocations: 230.6 MB / 257.5 MB, free: 8.02 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.1981/0.1981, allocations: 38.53 MB / 352.5 MB, free: 12.52 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_matrixEqCirc1,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixEqCirc1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixEqCirc1",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.002305/0.002305, allocations: 63.91 kB / 492.5 MB, free: 4.875 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4049/0.4072, allocations: 62.48 MB / 0.542 GB, free: 436 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1): time 0.003734/0.4109, allocations: 2.154 MB / 0.5441 GB, free: 14.72 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009257/0.4118, allocations: 0.5653 MB / 0.5447 GB, free: 14.29 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.548e-05/0.4119, allocations: 1.375 kB / 0.5447 GB, free: 14.29 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001366/0.412, allocations: 9.297 kB / 0.5447 GB, free: 14.28 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001467/0.4122, allocations: 30.72 kB / 0.5447 GB, free: 14.25 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003587/0.4125, allocations: 80.78 kB / 0.5448 GB, free: 14.2 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000134/0.4126, allocations: 57.17 kB / 0.5448 GB, free: 14.17 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.072e-05/0.4127, allocations: 14.41 kB / 0.5449 GB, free: 14.16 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001349/0.4128, allocations: 35.62 kB / 0.5449 GB, free: 14.14 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.162e-05/0.4129, allocations: 30.12 kB / 0.5449 GB, free: 14.12 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.166e-05/0.4129, allocations: 1.25 kB / 0.5449 GB, free: 14.12 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002482/0.4132, allocations: 123.9 kB / 0.545 GB, free: 14.03 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.9e-05/0.4132, allocations: 20.89 kB / 0.5451 GB, free: 14.02 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.38e-05/0.4132, allocations: 17.02 kB / 0.5451 GB, free: 14.01 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00021/0.4134, allocations: 106.2 kB / 0.5452 GB, free: 13.95 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.4134, allocations: 0 / 0.5452 GB, free: 13.95 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.395e-06/0.4135, allocations: 0 / 0.5452 GB, free: 13.95 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.189e-05/0.4135, allocations: 1.125 kB / 0.5452 GB, free: 13.95 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0004502/0.4139, allocations: 335 kB / 0.5455 GB, free: 13.62 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.789e-05/0.414, allocations: 12.06 kB / 0.5455 GB, free: 13.62 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.191e-05/0.414, allocations: 41.42 kB / 0.5455 GB, free: 13.57 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.476e-05/0.414, allocations: 7.672 kB / 0.5456 GB, free: 13.57 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001669/0.4142, allocations: 125 kB / 0.5457 GB, free: 13.43 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.793e-06/0.4142, allocations: 1.594 kB / 0.5457 GB, free: 13.43 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.506e-05/0.4142, allocations: 5.312 kB / 0.5457 GB, free: 13.42 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001486/0.4144, allocations: 64.39 kB / 0.5457 GB, free: 13.38 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.624e-06/0.4144, allocations: 5.219 kB / 0.5457 GB, free: 13.37 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.095e-06/0.4144, allocations: 0 / 0.5457 GB, free: 13.37 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.569e-06/0.4144, allocations: 1.125 kB / 0.5457 GB, free: 13.37 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.356e-05/0.4144, allocations: 32.83 kB / 0.5458 GB, free: 13.36 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001579/0.4146, allocations: 133.7 kB / 0.5459 GB, free: 13.2 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.813e-05/0.4147, allocations: 48.09 kB / 0.546 GB, free: 13.16 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.519e-05/0.4147, allocations: 34 kB / 0.546 GB, free: 13.14 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.726e-06/0.4147, allocations: 0 / 0.546 GB, free: 13.14 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.806e-05/0.4148, allocations: 40.47 kB / 0.546 GB, free: 13.1 MB / 398.1 MB Notification: Performance of pre-optimization done (n=12): time 9.01e-07/0.4148, allocations: 0 / 0.546 GB, free: 13.1 MB / 398.1 MB Notification: Performance of matching and sorting (n=12): time 0.0003055/0.4151, allocations: 189.1 kB / 0.5462 GB, free: 12.99 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.401e-05/0.4151, allocations: 88.72 kB / 0.5463 GB, free: 12.89 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001185/0.4153, allocations: 117.5 kB / 0.5464 GB, free: 12.79 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.985e-05/0.4153, allocations: 25.7 kB / 0.5464 GB, free: 12.75 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.681e-05/0.4154, allocations: 90.44 kB / 0.5465 GB, free: 12.66 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.359e-05/0.4154, allocations: 40.61 kB / 0.5465 GB, free: 12.63 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.241e-05/0.4154, allocations: 25.08 kB / 0.5466 GB, free: 12.61 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001524/0.4156, allocations: 317.6 kB / 0.5469 GB, free: 12.29 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.834e-05/0.4156, allocations: 28.52 kB / 0.5469 GB, free: 12.28 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.417e-05/0.4157, allocations: 33.23 kB / 0.5469 GB, free: 12.27 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002048/0.4159, allocations: 159.7 kB / 0.5471 GB, free: 12.17 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.4159, allocations: 3.938 kB / 0.5471 GB, free: 12.16 MB / 398.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001674/0.4161, allocations: 146.1 kB / 0.5472 GB, free: 12.07 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.95e-05/0.4161, allocations: 52.8 kB / 0.5473 GB, free: 12.03 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/0.4161, allocations: 64 / 0.5473 GB, free: 12.03 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.476e-05/0.4161, allocations: 5.375 kB / 0.5473 GB, free: 12.03 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.62e-07/0.4161, allocations: 0 / 0.5473 GB, free: 12.03 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.348e-06/0.4162, allocations: 0 / 0.5473 GB, free: 12.03 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.797e-05/0.4162, allocations: 6.688 kB / 0.5473 GB, free: 12.02 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.549e-05/0.4162, allocations: 3.125 kB / 0.5473 GB, free: 12.02 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.0001464/0.4163, allocations: 168.3 kB / 0.5475 GB, free: 11.86 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.836e-05/0.4164, allocations: 9.234 kB / 0.5475 GB, free: 11.86 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.735e-05/0.4164, allocations: 9.516 kB / 0.5475 GB, free: 11.85 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.222e-06/0.4164, allocations: 5.031 kB / 0.5475 GB, free: 11.84 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.028e-06/0.4164, allocations: 0 / 0.5475 GB, free: 11.84 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.009e-06/0.4164, allocations: 5.047 kB / 0.5475 GB, free: 11.84 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001422/0.4165, allocations: 155.6 kB / 0.5476 GB, free: 11.66 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.4165, allocations: 0.9688 kB / 0.5476 GB, free: 11.66 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.81e-07/0.4165, allocations: 0 / 0.5476 GB, free: 11.66 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.4165, allocations: 1.094 kB / 0.5476 GB, free: 11.66 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.043e-05/0.4165, allocations: 2.156 kB / 0.5476 GB, free: 11.66 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.506e-06/0.4165, allocations: 5.109 kB / 0.5476 GB, free: 11.65 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.4165, allocations: 0 / 0.5476 GB, free: 11.65 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003437/0.4169, allocations: 290.3 kB / 0.5479 GB, free: 11.48 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.576e-05/0.4169, allocations: 10.2 kB / 0.5479 GB, free: 11.47 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.105e-05/0.4169, allocations: 7.453 kB / 0.5479 GB, free: 11.46 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.804e-05/0.4169, allocations: 2.406 kB / 0.5479 GB, free: 11.46 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.037e-05/0.417, allocations: 1.25 kB / 0.5479 GB, free: 11.46 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.126e-06/0.417, allocations: 3.25 kB / 0.5479 GB, free: 11.46 MB / 398.1 MB Notification: Performance of sorting global known variables: time 6.204e-05/0.417, allocations: 96.45 kB / 0.548 GB, free: 11.38 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.417, allocations: 5.094 kB / 0.548 GB, free: 11.38 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002351/0.4173, allocations: 36 kB / 0.5481 GB, free: 11.37 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.0007291/0.418, allocations: 0.8199 MB / 0.5489 GB, free: 10.67 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003124/0.4183, allocations: 227.7 kB / 0.5491 GB, free: 10.55 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.4183, allocations: 1.562 kB / 0.5491 GB, free: 10.55 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000153/0.4185, allocations: 152.5 kB / 0.5492 GB, free: 10.46 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002676/0.4187, allocations: 20.78 kB / 0.5493 GB, free: 10.45 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001958/0.4207, allocations: 1.775 MB / 0.551 GB, free: 9.043 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003812/0.4211, allocations: 0.6954 MB / 0.5517 GB, free: 8.34 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 2.058e-05/0.4211, allocations: 1.438 kB / 0.5517 GB, free: 8.34 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.858e-05/0.4211, allocations: 24.77 kB / 0.5517 GB, free: 8.316 MB / 398.1 MB Notification: Performance of SimCode: time 4.41e-07/0.4211, allocations: 0 / 0.5517 GB, free: 8.316 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03214/0.4533, allocations: 2.729 MB / 0.5544 GB, free: 6.918 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.24/11.7, allocations: 11.98 kB / 0.5544 GB, free: 6.91 MB / 398.1 MB " [Timeout remaining time 648] (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixEqCirc1_fmu --startTime=0 --stopTime=0 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixEqCirc1.fmu > PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.498311009956524] Failed to read output from testmodel.py, exit status != 0: 11.800461109960452 11.815786026 11.39912582 Calling exit ...