Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_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.00193/0.00193, 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.002353/0.002353, allocations: 222.1 kB / 23.73 MB, free: 4.164 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.478/1.478, allocations: 230.6 MB / 257.5 MB, free: 7.797 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.1883/0.1883, allocations: 38.55 MB / 352.5 MB, free: 12.28 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_matrixTrDat2,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixTrDat2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat2,fileNamePrefix="PowerSystems_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.002168/0.002168, allocations: 67.89 kB / 492.5 MB, free: 4.652 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3368/0.3389, allocations: 62.46 MB / 0.5419 GB, free: 240 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat2): time 0.003738/0.3427, allocations: 2.202 MB / 0.5441 GB, free: 14.5 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003316/0.346, allocations: 1.894 MB / 0.5459 GB, free: 13.11 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.466e-05/0.346, allocations: 1.125 kB / 0.5459 GB, free: 13.11 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001332/0.3462, allocations: 8.984 kB / 0.546 GB, free: 13.1 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001016/0.3463, allocations: 39.09 kB / 0.546 GB, free: 13.07 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002971/0.3492, allocations: 0.9615 MB / 0.5469 GB, free: 12.45 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002063/0.3494, allocations: 79.22 kB / 0.547 GB, free: 12.41 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.104e-05/0.3495, allocations: 11.23 kB / 0.547 GB, free: 12.4 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001979/0.3497, allocations: 46.2 kB / 0.5471 GB, free: 12.38 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001143/0.3498, allocations: 45.78 kB / 0.5471 GB, free: 12.35 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.47e-05/0.3498, allocations: 5.219 kB / 0.5471 GB, free: 12.35 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003473/0.3533, allocations: 1.891 MB / 0.549 GB, free: 11.1 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.052e-05/0.3534, allocations: 31.89 kB / 0.549 GB, free: 11.09 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.125e-05/0.3534, allocations: 34.27 kB / 0.549 GB, free: 11.06 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002283/0.3557, allocations: 1.348 MB / 0.5503 GB, free: 10.27 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.111e-06/0.3557, allocations: 1.25 kB / 0.5503 GB, free: 10.27 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.785e-06/0.3557, allocations: 0 / 0.5503 GB, free: 10.27 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.983e-06/0.3557, allocations: 0 / 0.5503 GB, free: 10.27 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.0009045/0.3566, allocations: 0.4979 MB / 0.5508 GB, free: 9.812 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.059e-05/0.3567, allocations: 14.67 kB / 0.5508 GB, free: 9.809 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.821e-05/0.3567, allocations: 39 kB / 0.5509 GB, free: 9.766 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.893e-05/0.3568, allocations: 13.31 kB / 0.5509 GB, free: 9.758 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002346/0.357, allocations: 156 kB / 0.551 GB, free: 9.594 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.118e-05/0.357, allocations: 1.469 kB / 0.551 GB, free: 9.594 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.183e-05/0.3571, allocations: 1.406 kB / 0.551 GB, free: 9.594 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002684/0.3573, allocations: 165.4 kB / 0.5512 GB, free: 9.492 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.286e-06/0.3573, allocations: 3.938 kB / 0.5512 GB, free: 9.488 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.039e-05/0.3573, allocations: 0 / 0.5512 GB, free: 9.488 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.869e-06/0.3573, allocations: 9.406 kB / 0.5512 GB, free: 9.48 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001593/0.3575, allocations: 138.8 kB / 0.5513 GB, free: 9.406 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001936/0.3577, allocations: 156.5 kB / 0.5515 GB, free: 9.227 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001875/0.3579, allocations: 147.5 kB / 0.5516 GB, free: 9.137 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001533/0.358, allocations: 135 kB / 0.5518 GB, free: 9.062 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.082e-06/0.358, allocations: 1.125 kB / 0.5518 GB, free: 9.062 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.237e-05/0.3581, allocations: 35.59 kB / 0.5518 GB, free: 9.02 MB / 398.1 MB Notification: Performance of pre-optimization done (n=24): time 1.102e-06/0.3581, allocations: 0 / 0.5518 GB, free: 9.02 MB / 398.1 MB Notification: Performance of matching and sorting (n=24): time 0.0007506/0.3589, allocations: 483.7 kB / 0.5523 GB, free: 8.773 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.062e-05/0.3589, allocations: 100.4 kB / 0.5524 GB, free: 8.672 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001592/0.3591, allocations: 154.4 kB / 0.5525 GB, free: 8.547 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.082e-05/0.3591, allocations: 25.7 kB / 0.5525 GB, free: 8.516 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.179e-05/0.3592, allocations: 101 kB / 0.5526 GB, free: 8.418 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.775e-05/0.3593, allocations: 76.89 kB / 0.5527 GB, free: 8.352 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.999e-05/0.3593, allocations: 28.55 kB / 0.5527 GB, free: 8.328 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001847/0.3595, allocations: 332.2 kB / 0.553 GB, free: 8 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001425/0.3596, allocations: 127.6 kB / 0.5532 GB, free: 7.938 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001366/0.3598, allocations: 134.2 kB / 0.5533 GB, free: 7.871 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003413/0.3601, allocations: 304.7 kB / 0.5536 GB, free: 7.715 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.3601, allocations: 1.125 kB / 0.5536 GB, free: 7.715 MB / 398.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003861/0.3605, allocations: 330 kB / 0.5539 GB, free: 7.535 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.173e-05/0.3606, allocations: 68.94 kB / 0.554 GB, free: 7.484 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.418e-06/0.3606, allocations: 0 / 0.554 GB, free: 7.484 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.627e-05/0.3606, allocations: 1.062 kB / 0.554 GB, free: 7.484 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.062e-06/0.3606, allocations: 0 / 0.554 GB, free: 7.484 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.03e-06/0.3606, allocations: 1 kB / 0.554 GB, free: 7.484 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.856e-05/0.3607, allocations: 13.27 kB / 0.554 GB, free: 7.477 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.597e-05/0.3607, allocations: 5.5 kB / 0.554 GB, free: 7.477 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.0001902/0.3609, allocations: 196 kB / 0.5542 GB, free: 7.309 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.166e-05/0.3609, allocations: 20.8 kB / 0.5542 GB, free: 7.297 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.296e-05/0.361, allocations: 16.69 kB / 0.5542 GB, free: 7.281 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.863e-06/0.361, allocations: 5.062 kB / 0.5542 GB, free: 7.277 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.361, allocations: 0 / 0.5542 GB, free: 7.277 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.863e-06/0.361, allocations: 0 / 0.5542 GB, free: 7.277 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001651/0.3611, allocations: 174.7 kB / 0.5544 GB, free: 7.086 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.42e-07/0.3611, allocations: 1.062 kB / 0.5544 GB, free: 7.086 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.91e-07/0.3611, allocations: 0 / 0.5544 GB, free: 7.086 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.954e-06/0.3611, allocations: 1.312 kB / 0.5544 GB, free: 7.086 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.649e-05/0.3612, allocations: 4.406 kB / 0.5544 GB, free: 7.086 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.183e-06/0.3612, allocations: 0 / 0.5544 GB, free: 7.086 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.133e-06/0.3612, allocations: 5.094 kB / 0.5544 GB, free: 7.082 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006528/0.3618, allocations: 0.5273 MB / 0.5549 GB, free: 6.578 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.446e-05/0.3619, allocations: 27.77 kB / 0.5549 GB, free: 6.551 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.686e-05/0.3619, allocations: 4 kB / 0.5549 GB, free: 6.547 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.971e-05/0.3619, allocations: 4 kB / 0.5549 GB, free: 6.543 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.931e-05/0.3619, allocations: 11.98 kB / 0.5549 GB, free: 6.531 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.58e-05/0.362, allocations: 7.984 kB / 0.555 GB, free: 6.523 MB / 398.1 MB Notification: Performance of sorting global known variables: time 9.662e-05/0.3621, allocations: 115.2 kB / 0.5551 GB, free: 6.41 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3621, allocations: 0 / 0.5551 GB, free: 6.41 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001138/0.3632, allocations: 335.4 kB / 0.5554 GB, free: 6.082 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.00193/0.3651, allocations: 1.34 MB / 0.5567 GB, free: 4.707 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0006366/0.3658, allocations: 0.5064 MB / 0.5572 GB, free: 4.176 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.806e-06/0.3658, allocations: 0 / 0.5572 GB, free: 4.176 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000338/0.3661, allocations: 297 kB / 0.5575 GB, free: 3.867 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002526/0.3664, allocations: 15.94 kB / 0.5575 GB, free: 3.852 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003914/0.3703, allocations: 2.99 MB / 0.5604 GB, free: 0.7461 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001226/0.3704, allocations: 114 kB / 0.5605 GB, free: 0.6133 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 1.923e-05/0.3704, allocations: 4 kB / 0.5605 GB, free: 0.6094 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.183e-05/0.3705, allocations: 31.42 kB / 0.5605 GB, free: 0.5781 MB / 398.1 MB Notification: Performance of SimCode: time 6.91e-07/0.3705, allocations: 0 / 0.5605 GB, free: 0.5781 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.00172985997051] Failed to read output from testmodel.py, exit status != 0: 0.406839432194829 0.430919387 0.070169805 Calling exit ...