Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat2.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.001882/0.001882, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.002271/0.002271, allocations: 215.8 kB / 23.73 MB, free: 4.16 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.51/1.51, 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 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/package.mo): time 0.1812/0.1812, allocations: 38.56 MB / 352.5 MB, free: 12.4 MB / 286.1 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/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_matrixTrDat2,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixTrDat2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat2,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixTrDat2",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.002218/0.002218, allocations: 67.91 kB / 492.5 MB, free: 4.688 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3468/0.349, allocations: 62.46 MB / 0.542 GB, free: 264 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat2): time 0.00405/0.353, allocations: 2.198 MB / 0.5441 GB, free: 14.53 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003374/0.3564, allocations: 1.894 MB / 0.5459 GB, free: 13.13 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.105e-05/0.3565, allocations: 0 / 0.5459 GB, free: 13.13 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001291/0.3566, allocations: 14.22 kB / 0.546 GB, free: 13.12 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 9.971e-05/0.3567, allocations: 26.56 kB / 0.546 GB, free: 13.1 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002652/0.3594, allocations: 0.965 MB / 0.5469 GB, free: 12.48 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001677/0.3595, allocations: 80.81 kB / 0.547 GB, free: 12.44 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.653e-05/0.3596, allocations: 14.41 kB / 0.547 GB, free: 12.43 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000141/0.3597, allocations: 38.16 kB / 0.5471 GB, free: 12.41 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001047/0.3598, allocations: 49.03 kB / 0.5471 GB, free: 12.38 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.684e-05/0.3598, allocations: 2.844 kB / 0.5471 GB, free: 12.38 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003613/0.3635, allocations: 1.89 MB / 0.549 GB, free: 11.14 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.296e-05/0.3635, allocations: 35.78 kB / 0.549 GB, free: 11.12 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.042e-05/0.3636, allocations: 30.31 kB / 0.549 GB, free: 11.1 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002596/0.3662, allocations: 1.35 MB / 0.5503 GB, free: 10.3 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.329e-06/0.3662, allocations: 0 / 0.5503 GB, free: 10.3 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.362e-06/0.3662, allocations: 0 / 0.5503 GB, free: 10.3 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.943e-06/0.3662, allocations: 0 / 0.5503 GB, free: 10.3 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.00101/0.3672, allocations: 0.502 MB / 0.5508 GB, free: 9.844 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.29e-05/0.3673, allocations: 14.05 kB / 0.5508 GB, free: 9.84 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.539e-05/0.3673, allocations: 42.14 kB / 0.5509 GB, free: 9.793 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.132e-05/0.3673, allocations: 14.44 kB / 0.5509 GB, free: 9.785 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001878/0.3675, allocations: 144.5 kB / 0.551 GB, free: 9.633 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.728e-06/0.3675, allocations: 1.156 kB / 0.551 GB, free: 9.633 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.008e-05/0.3675, allocations: 1.094 kB / 0.551 GB, free: 9.633 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002378/0.3678, allocations: 172.7 kB / 0.5512 GB, free: 9.523 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.088e-05/0.3678, allocations: 1.281 kB / 0.5512 GB, free: 9.523 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.014e-05/0.3678, allocations: 0 / 0.5512 GB, free: 9.523 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.686e-06/0.3678, allocations: 3.938 kB / 0.5512 GB, free: 9.52 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001509/0.368, allocations: 140.1 kB / 0.5513 GB, free: 9.445 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001866/0.3682, allocations: 160.4 kB / 0.5515 GB, free: 9.262 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002018/0.3684, allocations: 150.8 kB / 0.5516 GB, free: 9.168 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001471/0.3685, allocations: 131.7 kB / 0.5518 GB, free: 9.098 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.055e-05/0.3685, allocations: 5.172 kB / 0.5518 GB, free: 9.094 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.596e-05/0.3686, allocations: 39.67 kB / 0.5518 GB, free: 9.047 MB / 398.1 MB Notification: Performance of pre-optimization done (n=24): time 9.32e-07/0.3686, allocations: 0 / 0.5518 GB, free: 9.047 MB / 398.1 MB Notification: Performance of matching and sorting (n=24): time 0.0007128/0.3693, allocations: 484.6 kB / 0.5523 GB, free: 8.801 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001251/0.3694, allocations: 99.41 kB / 0.5524 GB, free: 8.699 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001571/0.3695, allocations: 149.6 kB / 0.5525 GB, free: 8.578 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.314e-05/0.3696, allocations: 30.86 kB / 0.5525 GB, free: 8.543 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.363e-05/0.3696, allocations: 96.95 kB / 0.5526 GB, free: 8.449 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.006e-05/0.3697, allocations: 80.44 kB / 0.5527 GB, free: 8.379 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.97e-05/0.3698, allocations: 28.98 kB / 0.5527 GB, free: 8.355 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002585/0.37, allocations: 332.4 kB / 0.553 GB, free: 8.027 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002161/0.3703, allocations: 131.3 kB / 0.5532 GB, free: 7.961 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001572/0.3704, allocations: 129.4 kB / 0.5533 GB, free: 7.898 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004196/0.3708, allocations: 305.5 kB / 0.5536 GB, free: 7.742 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/0.3708, allocations: 0 / 0.5536 GB, free: 7.742 MB / 398.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004108/0.3713, allocations: 333.8 kB / 0.5539 GB, free: 7.562 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.102e-05/0.3713, allocations: 68.94 kB / 0.554 GB, free: 7.512 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.833e-06/0.3713, allocations: 1.438 kB / 0.554 GB, free: 7.512 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.491e-05/0.3714, allocations: 0 / 0.554 GB, free: 7.512 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.21e-07/0.3714, allocations: 0 / 0.554 GB, free: 7.512 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.192e-06/0.3714, allocations: 1.281 kB / 0.554 GB, free: 7.512 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.802e-05/0.3714, allocations: 17.12 kB / 0.554 GB, free: 7.5 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.633e-05/0.3715, allocations: 5.062 kB / 0.554 GB, free: 7.5 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.0002053/0.3717, allocations: 195.5 kB / 0.5542 GB, free: 7.332 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.391e-05/0.3717, allocations: 17.66 kB / 0.5542 GB, free: 7.324 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.353e-05/0.3717, allocations: 12.47 kB / 0.5542 GB, free: 7.312 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.813e-06/0.3717, allocations: 1.062 kB / 0.5542 GB, free: 7.312 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.49e-06/0.3717, allocations: 7.984 kB / 0.5542 GB, free: 7.305 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.345e-06/0.3717, allocations: 0 / 0.5542 GB, free: 7.305 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001733/0.3719, allocations: 167.1 kB / 0.5544 GB, free: 7.121 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.055e-06/0.3719, allocations: 3.984 kB / 0.5544 GB, free: 7.117 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.346e-06/0.3719, allocations: 9.125 kB / 0.5544 GB, free: 7.109 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.844e-06/0.3719, allocations: 0 / 0.5544 GB, free: 7.109 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.584e-05/0.3719, allocations: 4.594 kB / 0.5544 GB, free: 7.109 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.362e-06/0.3719, allocations: 4.875 kB / 0.5544 GB, free: 7.105 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.567e-06/0.3719, allocations: 3.984 kB / 0.5544 GB, free: 7.102 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006671/0.3726, allocations: 0.5252 MB / 0.5549 GB, free: 6.613 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.643e-05/0.3726, allocations: 27.81 kB / 0.5549 GB, free: 6.586 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.89e-05/0.3727, allocations: 4 kB / 0.5549 GB, free: 6.582 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.107e-05/0.3727, allocations: 4 kB / 0.5549 GB, free: 6.578 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.795e-05/0.3727, allocations: 8 kB / 0.555 GB, free: 6.57 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.45e-05/0.3727, allocations: 4 kB / 0.555 GB, free: 6.566 MB / 398.1 MB Notification: Performance of sorting global known variables: time 9.872e-05/0.3728, allocations: 118.7 kB / 0.5551 GB, free: 6.453 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3728, allocations: 0 / 0.5551 GB, free: 6.453 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001205/0.374, allocations: 339.4 kB / 0.5554 GB, free: 6.121 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.002276/0.3763, allocations: 1.329 MB / 0.5567 GB, free: 4.754 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0006868/0.377, allocations: 0.5064 MB / 0.5572 GB, free: 4.223 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.377, allocations: 0 / 0.5572 GB, free: 4.223 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003271/0.3773, allocations: 297 kB / 0.5575 GB, free: 3.914 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002213/0.3776, allocations: 16.72 kB / 0.5575 GB, free: 3.902 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003735/0.3813, allocations: 2.992 MB / 0.5604 GB, free: 0.793 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001099/0.3814, allocations: 118.1 kB / 0.5605 GB, free: 0.6562 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 1.426e-05/0.3814, allocations: 0 / 0.5605 GB, free: 0.6562 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.089e-05/0.3815, allocations: 35.42 kB / 0.5606 GB, free: 0.6211 MB / 398.1 MB Notification: Performance of SimCode: time 5.41e-07/0.3815, allocations: 0 / 0.5606 GB, free: 0.6211 MB / 398.1 MB [CodegenCFunctions.tpl:5658:13-5658:13:writable] Error: Template error: This should have been handled in indexed assign and should not have gotten here. eigenvalues[:,2]. " [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 3.155568399000913] Failed to read output from testmodel.py, exit status != 0: 0.4179529151879251 0.43364902599999994 0.06430419600000001 Calling exit ...