Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat3.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.001333/0.001333, allocations: 113.2 kB / 20.43 MB, free: 1.449 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.001461/0.001461, allocations: 214.7 kB / 23.74 MB, free: 4.656 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.504/1.504, allocations: 230.6 MB / 257.5 MB, free: 8.031 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.2333/0.2333, allocations: 38.53 MB / 352.5 MB, free: 12.54 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_matrixTrDat3,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixTrDat3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat3,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixTrDat3",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.001922/0.001922, allocations: 59.91 kB / 492.6 MB, free: 4.859 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3504/0.3523, allocations: 62.47 MB / 0.542 GB, free: 440 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat3): time 0.003965/0.3563, allocations: 2.222 MB / 0.5442 GB, free: 14.67 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003471/0.3597, allocations: 2.105 MB / 0.5462 GB, free: 13.05 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.805e-05/0.3598, allocations: 1.344 kB / 0.5462 GB, free: 13.05 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001302/0.3599, allocations: 16.89 kB / 0.5463 GB, free: 13.04 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001025/0.36, allocations: 31.33 kB / 0.5463 GB, free: 13.01 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002936/0.363, allocations: 0.9799 MB / 0.5472 GB, free: 12.38 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001684/0.3631, allocations: 75.78 kB / 0.5473 GB, free: 12.34 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.713e-05/0.3632, allocations: 10.73 kB / 0.5473 GB, free: 12.33 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001399/0.3633, allocations: 43.09 kB / 0.5474 GB, free: 12.31 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001068/0.3634, allocations: 53.8 kB / 0.5474 GB, free: 12.28 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.464e-05/0.3634, allocations: 6.156 kB / 0.5474 GB, free: 12.27 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003933/0.3674, allocations: 2.232 MB / 0.5496 GB, free: 10.73 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.108e-05/0.3675, allocations: 42.5 kB / 0.5496 GB, free: 10.71 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.862e-05/0.3676, allocations: 56.64 kB / 0.5497 GB, free: 10.67 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002474/0.37, allocations: 1.416 MB / 0.5511 GB, free: 9.82 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.37, allocations: 7.875 kB / 0.5511 GB, free: 9.812 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.074e-06/0.37, allocations: 0 / 0.5511 GB, free: 9.812 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.853e-06/0.37, allocations: 1.031 kB / 0.5511 GB, free: 9.812 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: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.001032/0.3711, allocations: 0.5426 MB / 0.5516 GB, free: 9.332 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.395e-05/0.3711, allocations: 13.55 kB / 0.5516 GB, free: 9.328 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.986e-05/0.3712, allocations: 49.58 kB / 0.5517 GB, free: 9.277 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.352e-05/0.3712, allocations: 19.23 kB / 0.5517 GB, free: 9.266 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002046/0.3714, allocations: 161.5 kB / 0.5519 GB, free: 9.098 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.016e-05/0.3714, allocations: 3.938 kB / 0.5519 GB, free: 9.094 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.979e-06/0.3715, allocations: 1.469 kB / 0.5519 GB, free: 9.094 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002126/0.3717, allocations: 135.9 kB / 0.552 GB, free: 9.023 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.374e-06/0.3717, allocations: 0 / 0.552 GB, free: 9.023 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.045e-05/0.3717, allocations: 4 kB / 0.552 GB, free: 9.02 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.629e-06/0.3717, allocations: 1.094 kB / 0.552 GB, free: 9.02 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000118/0.3718, allocations: 96 kB / 0.5521 GB, free: 8.988 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002076/0.372, allocations: 184.6 kB / 0.5523 GB, free: 8.789 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001483/0.3722, allocations: 114.8 kB / 0.5524 GB, free: 8.73 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000114/0.3723, allocations: 104.7 kB / 0.5525 GB, free: 8.688 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.033e-05/0.3723, allocations: 5.266 kB / 0.5525 GB, free: 8.684 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.144e-05/0.3723, allocations: 35.78 kB / 0.5525 GB, free: 8.641 MB / 398.1 MB Notification: Performance of pre-optimization done (n=40): time 1.042e-06/0.3723, allocations: 0 / 0.5525 GB, free: 8.641 MB / 398.1 MB Notification: Performance of matching and sorting (n=40): time 0.0007229/0.373, allocations: 0.4961 MB / 0.553 GB, free: 8.438 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.619e-05/0.3731, allocations: 108.4 kB / 0.5531 GB, free: 8.336 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000157/0.3733, allocations: 168.6 kB / 0.5533 GB, free: 8.203 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.149e-05/0.3733, allocations: 26.77 kB / 0.5533 GB, free: 8.172 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.387e-05/0.3734, allocations: 105.4 kB / 0.5534 GB, free: 8.066 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001147/0.3735, allocations: 138 kB / 0.5535 GB, free: 7.945 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.479e-05/0.3736, allocations: 41.83 kB / 0.5536 GB, free: 7.914 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001548/0.3737, allocations: 337.8 kB / 0.5539 GB, free: 7.582 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001141/0.3738, allocations: 100 kB / 0.554 GB, free: 7.547 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001034/0.3739, allocations: 91.38 kB / 0.5541 GB, free: 7.52 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000366/0.3743, allocations: 381.3 kB / 0.5544 GB, free: 7.348 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.3743, allocations: 0 / 0.5544 GB, free: 7.348 MB / 398.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.000409/0.3747, allocations: 343.6 kB / 0.5548 GB, free: 7.188 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.055e-05/0.3748, allocations: 89.06 kB / 0.5548 GB, free: 7.121 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/0.3748, allocations: 0 / 0.5548 GB, free: 7.121 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.343e-05/0.3748, allocations: 4.062 kB / 0.5548 GB, free: 7.117 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.143e-06/0.3748, allocations: 0 / 0.5548 GB, free: 7.117 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.469e-06/0.3748, allocations: 0 / 0.5548 GB, free: 7.117 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.153e-05/0.3749, allocations: 15.89 kB / 0.5549 GB, free: 7.102 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.037e-05/0.3749, allocations: 12 kB / 0.5549 GB, free: 7.09 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.0002214/0.3751, allocations: 231.4 kB / 0.5551 GB, free: 6.848 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.946e-05/0.3752, allocations: 27.86 kB / 0.5551 GB, free: 6.82 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.968e-05/0.3752, allocations: 22.58 kB / 0.5551 GB, free: 6.801 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.222e-06/0.3752, allocations: 0 / 0.5551 GB, free: 6.801 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.3752, allocations: 4 kB / 0.5551 GB, free: 6.797 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.294e-06/0.3752, allocations: 0 / 0.5551 GB, free: 6.797 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001882/0.3754, allocations: 212.4 kB / 0.5553 GB, free: 6.547 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.31e-07/0.3754, allocations: 0 / 0.5553 GB, free: 6.547 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.61e-07/0.3754, allocations: 0 / 0.5553 GB, free: 6.547 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.112e-06/0.3754, allocations: 7.938 kB / 0.5553 GB, free: 6.539 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.788e-05/0.3754, allocations: 4 kB / 0.5554 GB, free: 6.535 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.52e-07/0.3754, allocations: 0 / 0.5554 GB, free: 6.535 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.3754, allocations: 4 kB / 0.5554 GB, free: 6.531 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001043/0.3765, allocations: 0.9238 MB / 0.5563 GB, free: 5.582 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.168e-05/0.3765, allocations: 27.78 kB / 0.5563 GB, free: 5.555 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.348e-05/0.3765, allocations: 4 kB / 0.5563 GB, free: 5.551 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.266e-05/0.3766, allocations: 8 kB / 0.5563 GB, free: 5.543 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.124e-05/0.3766, allocations: 4 kB / 0.5563 GB, free: 5.539 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.865e-05/0.3766, allocations: 12 kB / 0.5563 GB, free: 5.527 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001039/0.3767, allocations: 132.2 kB / 0.5564 GB, free: 5.398 MB / 398.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3767, allocations: 0 / 0.5564 GB, free: 5.398 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001058/0.3778, allocations: 355.3 kB / 0.5568 GB, free: 5.051 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.002428/0.3802, allocations: 1.729 MB / 0.5585 GB, free: 3.285 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.00101/0.3812, allocations: 0.8309 MB / 0.5593 GB, free: 2.441 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.3812, allocations: 4.094 kB / 0.5593 GB, free: 2.438 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000661/0.3819, allocations: 0.6045 MB / 0.5599 GB, free: 1.82 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002656/0.3822, allocations: 20 kB / 0.5599 GB, free: 1.801 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004855/0.387, allocations: 3.687 MB / 0.5635 GB, free: 14.02 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000485/0.3875, allocations: 0.7516 MB / 0.5642 GB, free: 13.25 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 2.212e-05/0.3875, allocations: 7.938 kB / 0.5642 GB, free: 13.24 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.39e-05/0.3876, allocations: 43.42 kB / 0.5643 GB, free: 13.2 MB / 414.1 MB Notification: Performance of SimCode: time 1.473e-06/0.3876, allocations: 4.031 kB / 0.5643 GB, free: 13.19 MB / 414.1 MB [CodegenCFunctions.tpl:5647:13-5647: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.196641340997303] Failed to read output from testmodel.py, exit status != 0: 0.42598134400031995 0.441493356 0.068160687 Calling exit ...