Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_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.001358/0.001358, allocations: 111.1 kB / 20.44 MB, free: 1.18 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.001519/0.001519, allocations: 211.3 kB / 23.73 MB, free: 4.387 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.517/1.517, allocations: 230.6 MB / 257.5 MB, free: 7.738 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.1809/0.1809, allocations: 38.54 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 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_matrixTrDat1,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixTrDat1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat1,fileNamePrefix="PowerSystems_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.00224/0.00224, allocations: 63.91 kB / 492.5 MB, free: 4.688 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3367/0.339, allocations: 62.47 MB / 0.542 GB, free: 260 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat1): time 0.003681/0.3426, allocations: 2.189 MB / 0.5441 GB, free: 14.53 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003331/0.346, allocations: 1.898 MB / 0.5459 GB, free: 13.13 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.536e-05/0.346, allocations: 1.125 kB / 0.5459 GB, free: 13.13 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001245/0.3462, allocations: 14.03 kB / 0.546 GB, free: 13.12 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 8.786e-05/0.3462, allocations: 25.22 kB / 0.546 GB, free: 13.1 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002652/0.3489, allocations: 0.9616 MB / 0.5469 GB, free: 12.49 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001492/0.349, allocations: 67.48 kB / 0.547 GB, free: 12.46 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.277e-05/0.3491, allocations: 18.41 kB / 0.547 GB, free: 12.44 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001419/0.3492, allocations: 45.91 kB / 0.547 GB, free: 12.41 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.554e-05/0.3493, allocations: 50.56 kB / 0.5471 GB, free: 12.38 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.364e-05/0.3493, allocations: 2.406 kB / 0.5471 GB, free: 12.38 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003241/0.3526, allocations: 1.894 MB / 0.5489 GB, free: 11.13 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.866e-05/0.3526, allocations: 17.67 kB / 0.549 GB, free: 11.12 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.238e-05/0.3527, allocations: 18.53 kB / 0.549 GB, free: 11.11 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001683/0.3543, allocations: 1.327 MB / 0.5503 GB, free: 10.33 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.107e-06/0.3544, allocations: 1.25 kB / 0.5503 GB, free: 10.33 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.844e-06/0.3544, allocations: 0 / 0.5503 GB, free: 10.33 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.559e-06/0.3544, 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.0006508/0.355, allocations: 466 kB / 0.5507 GB, free: 9.902 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.937e-05/0.355, allocations: 13.14 kB / 0.5507 GB, free: 9.898 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.254e-05/0.3551, allocations: 37.09 kB / 0.5508 GB, free: 9.855 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.167e-05/0.3551, allocations: 8.547 kB / 0.5508 GB, free: 9.852 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001766/0.3553, allocations: 135 kB / 0.5509 GB, free: 9.703 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.348e-06/0.3553, allocations: 1.094 kB / 0.5509 GB, free: 9.703 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.134e-05/0.3553, allocations: 9.438 kB / 0.5509 GB, free: 9.695 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001798/0.3555, allocations: 119.8 kB / 0.551 GB, free: 9.605 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.663e-06/0.3555, allocations: 1.344 kB / 0.551 GB, free: 9.605 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.266e-06/0.3555, allocations: 0 / 0.551 GB, free: 9.605 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.426e-06/0.3555, allocations: 0 / 0.551 GB, free: 9.605 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.736e-05/0.3556, allocations: 83.36 kB / 0.5511 GB, free: 9.555 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001742/0.3558, allocations: 147.7 kB / 0.5513 GB, free: 9.379 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001291/0.3559, allocations: 94.06 kB / 0.5513 GB, free: 9.309 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001038/0.356, allocations: 92.55 kB / 0.5514 GB, free: 9.246 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.458e-06/0.356, allocations: 0 / 0.5514 GB, free: 9.246 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.169e-05/0.3561, allocations: 36.53 kB / 0.5515 GB, free: 9.203 MB / 398.1 MB Notification: Performance of pre-optimization done (n=12): time 9.62e-07/0.3561, allocations: 4 kB / 0.5515 GB, free: 9.199 MB / 398.1 MB Notification: Performance of matching and sorting (n=12): time 0.0004141/0.3565, allocations: 298.7 kB / 0.5518 GB, free: 9.016 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.974e-05/0.3565, allocations: 89.66 kB / 0.5518 GB, free: 8.918 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001176/0.3567, allocations: 131.2 kB / 0.552 GB, free: 8.805 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.959e-05/0.3567, allocations: 25.7 kB / 0.552 GB, free: 8.773 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.402e-05/0.3567, allocations: 91.39 kB / 0.5521 GB, free: 8.684 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.191e-05/0.3568, allocations: 41.08 kB / 0.5521 GB, free: 8.648 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.521e-05/0.3568, allocations: 25.39 kB / 0.5521 GB, free: 8.625 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001553/0.357, allocations: 326.1 kB / 0.5525 GB, free: 8.301 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.58e-05/0.3571, allocations: 84.17 kB / 0.5525 GB, free: 8.25 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.736e-05/0.3572, allocations: 86.39 kB / 0.5526 GB, free: 8.195 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002045/0.3574, allocations: 178.6 kB / 0.5528 GB, free: 8.09 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.3574, allocations: 0 / 0.5528 GB, free: 8.09 MB / 398.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002615/0.3576, allocations: 214 kB / 0.553 GB, free: 7.953 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.109e-05/0.3577, allocations: 48.69 kB / 0.553 GB, free: 7.914 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.092e-06/0.3577, allocations: 3.984 kB / 0.553 GB, free: 7.91 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.222e-05/0.3577, allocations: 3.938 kB / 0.553 GB, free: 7.906 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.51e-07/0.3577, allocations: 1.031 kB / 0.553 GB, free: 7.906 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.408e-06/0.3577, allocations: 0 / 0.553 GB, free: 7.906 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.895e-05/0.3578, allocations: 10.98 kB / 0.5531 GB, free: 7.898 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.921e-05/0.3578, allocations: 4.375 kB / 0.5531 GB, free: 7.898 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.0001422/0.3579, allocations: 169.3 kB / 0.5532 GB, free: 7.738 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.465e-05/0.3579, allocations: 13.45 kB / 0.5532 GB, free: 7.73 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.02e-05/0.358, allocations: 11.08 kB / 0.5532 GB, free: 7.719 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.423e-06/0.358, allocations: 0 / 0.5532 GB, free: 7.719 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.788e-06/0.358, allocations: 1.156 kB / 0.5532 GB, free: 7.719 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.358e-06/0.358, allocations: 7.875 kB / 0.5533 GB, free: 7.711 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001365/0.3581, allocations: 146.3 kB / 0.5534 GB, free: 7.539 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.41e-07/0.3581, allocations: 0 / 0.5534 GB, free: 7.539 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.21e-07/0.3581, allocations: 1 kB / 0.5534 GB, free: 7.539 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.286e-06/0.3581, allocations: 4 kB / 0.5534 GB, free: 7.535 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.229e-05/0.3581, allocations: 7.531 kB / 0.5534 GB, free: 7.531 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.3581, allocations: 0.9688 kB / 0.5534 GB, free: 7.531 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.3581, allocations: 0 / 0.5534 GB, free: 7.531 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004058/0.3585, allocations: 329.9 kB / 0.5537 GB, free: 7.324 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.433e-05/0.3586, allocations: 7.422 kB / 0.5537 GB, free: 7.32 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.101e-05/0.3586, allocations: 2.5 kB / 0.5537 GB, free: 7.32 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.858e-05/0.3586, allocations: 2.344 kB / 0.5537 GB, free: 7.32 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.147e-05/0.3586, allocations: 5.188 kB / 0.5537 GB, free: 7.316 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.26e-05/0.3586, allocations: 8.469 kB / 0.5537 GB, free: 7.312 MB / 398.1 MB Notification: Performance of sorting global known variables: time 7.536e-05/0.3587, allocations: 107.7 kB / 0.5538 GB, free: 7.223 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3587, allocations: 1.156 kB / 0.5538 GB, free: 7.223 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0009006/0.3596, allocations: 328.9 kB / 0.5542 GB, free: 7.164 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.001626/0.3612, allocations: 1.123 MB / 0.5553 GB, free: 6.215 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0004082/0.3616, allocations: 314.6 kB / 0.5556 GB, free: 5.883 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.3617, allocations: 0 / 0.5556 GB, free: 5.883 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002043/0.3619, allocations: 193 kB / 0.5557 GB, free: 5.676 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002764/0.3621, allocations: 24.03 kB / 0.5558 GB, free: 5.652 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002432/0.3646, allocations: 2.196 MB / 0.5579 GB, free: 3.336 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.79e-05/0.3647, allocations: 87.59 kB / 0.558 GB, free: 3.23 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 1.526e-05/0.3647, allocations: 4 kB / 0.558 GB, free: 3.227 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.991e-05/0.3647, allocations: 15.44 kB / 0.558 GB, free: 3.211 MB / 398.1 MB Notification: Performance of SimCode: time 7.21e-07/0.3647, allocations: 3.938 kB / 0.558 GB, free: 3.207 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.017124759964645] Failed to read output from testmodel.py, exit status != 0: 0.4173601740039885 0.44835394100000003 0.08849361700000001 Calling exit ...