Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat1.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.001367/0.001367, allocations: 107.2 kB / 20.44 MB, free: 1.207 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.002224/0.002224, allocations: 209.9 kB / 23.73 MB, free: 4.41 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: 7.797 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.1849/0.1849, 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 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_matrixTrDat1,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixTrDat1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat1,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixTrDat1",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.00213/0.00213, allocations: 67.84 kB / 492.5 MB, free: 4.672 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3586/0.3607, allocations: 62.47 MB / 0.542 GB, free: 256 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat1): time 0.003788/0.3645, allocations: 2.186 MB / 0.5441 GB, free: 14.53 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003335/0.3678, allocations: 1.899 MB / 0.5459 GB, free: 13.13 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.914e-05/0.3679, allocations: 0.875 kB / 0.5459 GB, free: 13.13 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001296/0.368, allocations: 9.922 kB / 0.546 GB, free: 13.12 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 9.603e-05/0.3681, allocations: 29.58 kB / 0.546 GB, free: 13.1 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0028/0.3709, allocations: 0.9654 MB / 0.5469 GB, free: 12.48 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001422/0.3711, allocations: 75.56 kB / 0.547 GB, free: 12.45 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.482e-05/0.3711, allocations: 14.7 kB / 0.547 GB, free: 12.43 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000138/0.3712, allocations: 37.95 kB / 0.547 GB, free: 12.41 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.749e-05/0.3713, allocations: 47.45 kB / 0.5471 GB, free: 12.39 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.395e-05/0.3713, allocations: 1.5 kB / 0.5471 GB, free: 12.39 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003437/0.3748, allocations: 1.889 MB / 0.5489 GB, free: 11.14 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.557e-05/0.3749, allocations: 18.45 kB / 0.549 GB, free: 11.13 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.984e-05/0.3749, allocations: 27.89 kB / 0.549 GB, free: 11.11 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002153/0.3771, allocations: 1.322 MB / 0.5503 GB, free: 10.33 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.3771, allocations: 1 kB / 0.5503 GB, free: 10.33 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.575e-06/0.3771, allocations: 0 / 0.5503 GB, free: 10.33 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.871e-06/0.3771, allocations: 0 / 0.5503 GB, free: 10.33 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.000842/0.3779, allocations: 474.7 kB / 0.5507 GB, free: 9.898 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.732e-05/0.378, allocations: 12.86 kB / 0.5507 GB, free: 9.895 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.081e-05/0.378, allocations: 37.16 kB / 0.5508 GB, free: 9.852 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.907e-05/0.3781, allocations: 8.391 kB / 0.5508 GB, free: 9.848 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001817/0.3782, allocations: 130.2 kB / 0.5509 GB, free: 9.707 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.19e-05/0.3783, allocations: 1.094 kB / 0.5509 GB, free: 9.707 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.547e-05/0.3783, allocations: 5.656 kB / 0.5509 GB, free: 9.703 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00021/0.3785, allocations: 119.8 kB / 0.551 GB, free: 9.613 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.652e-06/0.3785, allocations: 0 / 0.551 GB, free: 9.613 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.816e-06/0.3785, allocations: 5.188 kB / 0.551 GB, free: 9.609 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.847e-06/0.3785, allocations: 0 / 0.551 GB, free: 9.609 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001/0.3786, allocations: 84.02 kB / 0.5511 GB, free: 9.559 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001758/0.3788, allocations: 150.7 kB / 0.5513 GB, free: 9.379 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001337/0.3789, allocations: 94.44 kB / 0.5513 GB, free: 9.309 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.533e-05/0.379, allocations: 92.06 kB / 0.5514 GB, free: 9.246 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.581e-05/0.379, allocations: 1.312 kB / 0.5514 GB, free: 9.246 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.334e-05/0.3791, allocations: 31.59 kB / 0.5515 GB, free: 9.207 MB / 398.1 MB Notification: Performance of pre-optimization done (n=12): time 3.075e-06/0.3791, allocations: 3.984 kB / 0.5515 GB, free: 9.203 MB / 398.1 MB Notification: Performance of matching and sorting (n=12): time 0.0004103/0.3795, allocations: 298.6 kB / 0.5518 GB, free: 9.02 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.516e-05/0.3795, allocations: 86.27 kB / 0.5518 GB, free: 8.926 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001262/0.3797, allocations: 127.6 kB / 0.552 GB, free: 8.812 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.004e-05/0.3797, allocations: 34.73 kB / 0.552 GB, free: 8.773 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.763e-05/0.3797, allocations: 95.25 kB / 0.5521 GB, free: 8.68 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.999e-05/0.3798, allocations: 40.95 kB / 0.5521 GB, free: 8.645 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.411e-05/0.3798, allocations: 21.75 kB / 0.5521 GB, free: 8.625 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001674/0.38, allocations: 326.1 kB / 0.5525 GB, free: 8.301 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.563e-05/0.3801, allocations: 82.48 kB / 0.5525 GB, free: 8.25 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.915e-05/0.3802, allocations: 79.14 kB / 0.5526 GB, free: 8.203 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002111/0.3804, allocations: 183 kB / 0.5528 GB, free: 8.094 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.3804, allocations: 0 / 0.5528 GB, free: 8.094 MB / 398.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002712/0.3807, allocations: 214 kB / 0.553 GB, free: 7.957 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.454e-05/0.3807, allocations: 56.23 kB / 0.553 GB, free: 7.91 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.85e-06/0.3808, allocations: 0 / 0.553 GB, free: 7.91 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.518e-05/0.3808, allocations: 1.188 kB / 0.553 GB, free: 7.91 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.212e-06/0.3808, allocations: 0 / 0.553 GB, free: 7.91 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.522e-06/0.3808, allocations: 5 kB / 0.553 GB, free: 7.906 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.53e-05/0.3808, allocations: 10.92 kB / 0.5531 GB, free: 7.898 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.338e-05/0.3809, allocations: 7.359 kB / 0.5531 GB, free: 7.895 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.0001498/0.381, allocations: 173.1 kB / 0.5532 GB, free: 7.73 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.189e-05/0.381, allocations: 9.609 kB / 0.5532 GB, free: 7.727 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.438e-05/0.381, allocations: 7.094 kB / 0.5532 GB, free: 7.719 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.344e-06/0.3811, allocations: 5.188 kB / 0.5532 GB, free: 7.715 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.387e-06/0.3811, allocations: 0 / 0.5532 GB, free: 7.715 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.911e-06/0.3811, allocations: 3.938 kB / 0.5533 GB, free: 7.711 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001429/0.3812, allocations: 146.9 kB / 0.5534 GB, free: 7.539 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.3812, allocations: 0 / 0.5534 GB, free: 7.539 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.21e-07/0.3812, allocations: 0 / 0.5534 GB, free: 7.539 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.666e-06/0.3812, allocations: 5.062 kB / 0.5534 GB, free: 7.535 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.389e-05/0.3812, allocations: 3.531 kB / 0.5534 GB, free: 7.535 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.3812, allocations: 0 / 0.5534 GB, free: 7.535 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.366e-06/0.3812, allocations: 4.984 kB / 0.5534 GB, free: 7.531 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004148/0.3816, allocations: 329.4 kB / 0.5537 GB, free: 7.324 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.815e-05/0.3817, allocations: 15.14 kB / 0.5537 GB, free: 7.312 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.315e-05/0.3817, allocations: 2.125 kB / 0.5537 GB, free: 7.312 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.55e-05/0.3817, allocations: 6.141 kB / 0.5537 GB, free: 7.309 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.304e-05/0.3817, allocations: 2.125 kB / 0.5537 GB, free: 7.309 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.306e-05/0.3818, allocations: 12.19 kB / 0.5538 GB, free: 7.301 MB / 398.1 MB Notification: Performance of sorting global known variables: time 8.019e-05/0.3818, allocations: 104.9 kB / 0.5539 GB, free: 7.215 MB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3818, allocations: 0 / 0.5539 GB, free: 7.215 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0009903/0.3828, allocations: 328.2 kB / 0.5542 GB, free: 7.156 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.001557/0.3844, allocations: 1.125 MB / 0.5553 GB, free: 6.191 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0004059/0.3848, allocations: 310.7 kB / 0.5556 GB, free: 5.863 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 5.561e-06/0.3848, allocations: 0 / 0.5556 GB, free: 5.863 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002165/0.385, allocations: 193 kB / 0.5557 GB, free: 5.656 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002553/0.3853, allocations: 21.77 kB / 0.5558 GB, free: 5.637 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002489/0.3878, allocations: 2.193 MB / 0.5579 GB, free: 3.324 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.659e-05/0.3878, allocations: 91.62 kB / 0.558 GB, free: 3.215 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 1.284e-05/0.3879, allocations: 0 / 0.558 GB, free: 3.215 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.908e-05/0.3879, allocations: 31.36 kB / 0.558 GB, free: 3.184 MB / 398.1 MB Notification: Performance of SimCode: time 4.31e-07/0.3879, allocations: 0 / 0.558 GB, free: 3.184 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.087428213097155] Failed to read output from testmodel.py, exit status != 0: 0.42225505178794265 0.438140348 0.057721101000000004 Calling exit ...