Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat0.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.001325/0.001325, allocations: 113.1 kB / 20.43 MB, free: 1.457 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.001474/0.001474, allocations: 215.7 kB / 23.75 MB, free: 4.668 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.473/1.473, allocations: 230.6 MB / 257.5 MB, free: 7.984 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.1849/0.1849, allocations: 38.53 MB / 352.5 MB, free: 12.51 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_matrixTrDat0,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixTrDat0",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat0,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixTrDat0",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.002019/0.002019, allocations: 63.91 kB / 492.6 MB, free: 4.832 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3237/0.3258, allocations: 62.47 MB / 0.542 GB, free: 420 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat0): time 0.003399/0.3292, allocations: 2.215 MB / 0.5442 GB, free: 14.66 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003136/0.3323, allocations: 2.106 MB / 0.5462 GB, free: 13.04 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.76e-05/0.3323, allocations: 0 / 0.5462 GB, free: 13.04 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000166/0.3325, allocations: 14.66 kB / 0.5462 GB, free: 13.02 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 8.375e-05/0.3326, allocations: 22.72 kB / 0.5463 GB, free: 13.01 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002425/0.335, allocations: 0.9913 MB / 0.5472 GB, free: 12.36 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001357/0.3352, allocations: 72.36 kB / 0.5473 GB, free: 12.33 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.213e-05/0.3352, allocations: 14.27 kB / 0.5473 GB, free: 12.32 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001345/0.3353, allocations: 43.86 kB / 0.5474 GB, free: 12.29 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.174e-05/0.3354, allocations: 41.64 kB / 0.5474 GB, free: 12.27 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.181e-05/0.3354, allocations: 2.188 kB / 0.5474 GB, free: 12.27 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003424/0.3389, allocations: 2.237 MB / 0.5496 GB, free: 10.72 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.34e-05/0.3389, allocations: 9.938 kB / 0.5496 GB, free: 10.72 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.029e-05/0.339, allocations: 22.27 kB / 0.5496 GB, free: 10.7 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001797/0.3407, allocations: 1.363 MB / 0.5509 GB, free: 9.879 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.3408, allocations: 0 / 0.5509 GB, free: 9.879 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.333e-06/0.3408, allocations: 0 / 0.5509 GB, free: 9.879 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.049e-06/0.3408, allocations: 0 / 0.5509 GB, free: 9.879 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006553/0.3414, allocations: 454 kB / 0.5514 GB, free: 9.461 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.991e-05/0.3415, allocations: 18.02 kB / 0.5514 GB, free: 9.453 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.609e-05/0.3415, allocations: 31.88 kB / 0.5514 GB, free: 9.414 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.952e-05/0.3415, allocations: 9.234 kB / 0.5514 GB, free: 9.41 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001659/0.3417, allocations: 129.2 kB / 0.5516 GB, free: 9.266 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.738e-06/0.3417, allocations: 0 / 0.5516 GB, free: 9.266 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.457e-06/0.3417, allocations: 1.094 kB / 0.5516 GB, free: 9.266 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001209/0.3418, allocations: 53.52 kB / 0.5516 GB, free: 9.227 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.534e-06/0.3418, allocations: 0 / 0.5516 GB, free: 9.227 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.596e-06/0.3419, allocations: 0 / 0.5516 GB, free: 9.227 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.606e-06/0.3419, allocations: 1 kB / 0.5516 GB, free: 9.227 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.588e-05/0.3419, allocations: 24.25 kB / 0.5516 GB, free: 9.219 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001625/0.3421, allocations: 144.2 kB / 0.5518 GB, free: 9.043 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.606e-05/0.3421, allocations: 42.89 kB / 0.5518 GB, free: 9.008 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.342e-05/0.3422, allocations: 29.16 kB / 0.5518 GB, free: 8.992 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.334e-06/0.3422, allocations: 0 / 0.5518 GB, free: 8.992 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.376e-05/0.3422, allocations: 31.88 kB / 0.5519 GB, free: 8.953 MB / 398.1 MB Notification: Performance of pre-optimization done (n=8): time 1.032e-06/0.3422, allocations: 7.938 kB / 0.5519 GB, free: 8.945 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002715/0.3425, allocations: 153.6 kB / 0.552 GB, free: 8.852 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.432e-05/0.3426, allocations: 90.62 kB / 0.5521 GB, free: 8.75 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001077/0.3427, allocations: 119.6 kB / 0.5522 GB, free: 8.641 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.934e-05/0.3427, allocations: 26.92 kB / 0.5523 GB, free: 8.609 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.815e-05/0.3427, allocations: 90.25 kB / 0.5523 GB, free: 8.52 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.83e-05/0.3428, allocations: 23 kB / 0.5524 GB, free: 8.5 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.756e-05/0.3428, allocations: 20.86 kB / 0.5524 GB, free: 8.48 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001504/0.343, allocations: 325.2 kB / 0.5527 GB, free: 8.156 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.969e-05/0.343, allocations: 23.02 kB / 0.5527 GB, free: 8.148 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.171e-05/0.343, allocations: 20.2 kB / 0.5527 GB, free: 8.145 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00013/0.3432, allocations: 131.5 kB / 0.5529 GB, free: 8.051 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.3432, allocations: 3.938 kB / 0.5529 GB, free: 8.047 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001524/0.3433, allocations: 124.2 kB / 0.553 GB, free: 7.965 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.321e-05/0.3434, allocations: 47.53 kB / 0.553 GB, free: 7.926 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.208e-06/0.3434, allocations: 1.281 kB / 0.553 GB, free: 7.926 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.153e-05/0.3434, allocations: 0 / 0.553 GB, free: 7.926 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.01e-07/0.3434, allocations: 0 / 0.553 GB, free: 7.926 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.813e-06/0.3434, allocations: 9.516 kB / 0.553 GB, free: 7.918 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.902e-05/0.3434, allocations: 9.469 kB / 0.553 GB, free: 7.91 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.294e-05/0.3435, allocations: 10.95 kB / 0.5531 GB, free: 7.902 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.0001193/0.3436, allocations: 149.7 kB / 0.5532 GB, free: 7.754 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.789e-05/0.3436, allocations: 9.266 kB / 0.5532 GB, free: 7.75 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.887e-05/0.3436, allocations: 10.69 kB / 0.5532 GB, free: 7.738 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.106e-06/0.3436, allocations: 3.984 kB / 0.5532 GB, free: 7.734 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.096e-06/0.3436, allocations: 0 / 0.5532 GB, free: 7.734 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.174e-06/0.3436, allocations: 1 kB / 0.5532 GB, free: 7.734 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001261/0.3438, allocations: 147.5 kB / 0.5534 GB, free: 7.559 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.41e-07/0.3438, allocations: 0 / 0.5534 GB, free: 7.559 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.31e-07/0.3438, allocations: 0 / 0.5534 GB, free: 7.559 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.162e-06/0.3438, allocations: 0 / 0.5534 GB, free: 7.559 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.928e-06/0.3438, allocations: 3.156 kB / 0.5534 GB, free: 7.559 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.3438, allocations: 0 / 0.5534 GB, free: 7.559 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.402e-06/0.3438, allocations: 1.344 kB / 0.5534 GB, free: 7.559 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002823/0.3441, allocations: 229.8 kB / 0.5536 GB, free: 7.402 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.262e-05/0.3441, allocations: 11.33 kB / 0.5536 GB, free: 7.395 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.863e-05/0.3441, allocations: 2.281 kB / 0.5536 GB, free: 7.395 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.285e-05/0.3441, allocations: 1.062 kB / 0.5536 GB, free: 7.395 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.652e-05/0.3441, allocations: 2.281 kB / 0.5536 GB, free: 7.395 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.128e-05/0.3441, allocations: 6.234 kB / 0.5536 GB, free: 7.391 MB / 398.1 MB Notification: Performance of sorting global known variables: time 6.602e-05/0.3442, allocations: 102 kB / 0.5537 GB, free: 7.305 MB / 398.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3442, allocations: 1.312 kB / 0.5537 GB, free: 7.305 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0008142/0.345, allocations: 322.9 kB / 0.554 GB, free: 7.246 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.001364/0.3464, allocations: 1.008 MB / 0.555 GB, free: 6.477 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002612/0.3466, allocations: 173.3 kB / 0.5552 GB, free: 6.375 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.3466, allocations: 0 / 0.5552 GB, free: 6.375 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001263/0.3468, allocations: 128.4 kB / 0.5553 GB, free: 6.285 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002338/0.347, allocations: 5.125 kB / 0.5553 GB, free: 6.285 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001874/0.3489, allocations: 1.707 MB / 0.557 GB, free: 4.699 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003455/0.3492, allocations: 0.6924 MB / 0.5576 GB, free: 3.98 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 1.107e-05/0.3492, allocations: 0 / 0.5576 GB, free: 3.98 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.612e-05/0.3493, allocations: 23.42 kB / 0.5577 GB, free: 3.957 MB / 398.1 MB Notification: Performance of SimCode: time 4.11e-07/0.3493, allocations: 0 / 0.5577 GB, free: 3.957 MB / 398.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: 2.907422023003164] Failed to read output from testmodel.py, exit status != 0: 0.3835366540006362 0.39966019900000005 0.055736419 Calling exit ...