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.0019/0.0019, allocations: 115.6 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.002308/0.002308, allocations: 209.4 kB / 23.74 MB, free: 4.66 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.45/1.45, allocations: 230.6 MB / 257.5 MB, free: 8.016 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.1852/0.1852, 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_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.00206/0.00206, allocations: 67.89 kB / 492.5 MB, free: 4.871 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3111/0.3132, allocations: 62.48 MB / 0.542 GB, free: 444 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat1): time 0.003792/0.317, allocations: 2.2 MB / 0.5442 GB, free: 14.7 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003365/0.3203, allocations: 2.109 MB / 0.5462 GB, free: 13.07 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.326e-05/0.3204, allocations: 1.062 kB / 0.5462 GB, free: 13.07 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001499/0.3205, allocations: 22.11 kB / 0.5462 GB, free: 13.05 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 9.493e-05/0.3206, allocations: 21.44 kB / 0.5463 GB, free: 13.04 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002869/0.3235, allocations: 0.9879 MB / 0.5472 GB, free: 12.39 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001704/0.3237, allocations: 71.05 kB / 0.5473 GB, free: 12.36 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.711e-05/0.3237, allocations: 14.84 kB / 0.5473 GB, free: 12.35 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001633/0.3239, allocations: 41.91 kB / 0.5474 GB, free: 12.32 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.219e-05/0.324, allocations: 47.31 kB / 0.5474 GB, free: 12.3 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.447e-05/0.324, allocations: 6.125 kB / 0.5474 GB, free: 12.29 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003579/0.3276, allocations: 2.23 MB / 0.5496 GB, free: 10.75 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.408e-05/0.3276, allocations: 20.83 kB / 0.5496 GB, free: 10.74 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.621e-05/0.3277, allocations: 27.86 kB / 0.5496 GB, free: 10.72 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002095/0.3298, allocations: 1.362 MB / 0.551 GB, free: 9.902 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.017e-06/0.3298, allocations: 1.594 kB / 0.551 GB, free: 9.902 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.3298, allocations: 0 / 0.551 GB, free: 9.902 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.21e-06/0.3298, allocations: 4 kB / 0.551 GB, free: 9.898 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.0007355/0.3305, allocations: 463.5 kB / 0.5514 GB, free: 9.477 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.531e-05/0.3306, allocations: 13.8 kB / 0.5514 GB, free: 9.473 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.43e-05/0.3306, allocations: 44.89 kB / 0.5515 GB, free: 9.422 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.872e-05/0.3307, allocations: 9.078 kB / 0.5515 GB, free: 9.418 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001725/0.3308, allocations: 126 kB / 0.5516 GB, free: 9.277 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.891e-06/0.3308, allocations: 1.031 kB / 0.5516 GB, free: 9.277 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.391e-05/0.3309, allocations: 1.188 kB / 0.5516 GB, free: 9.277 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00015/0.331, allocations: 72.48 kB / 0.5517 GB, free: 9.227 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.895e-06/0.331, allocations: 0 / 0.5517 GB, free: 9.227 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.618e-06/0.331, allocations: 0.9688 kB / 0.5517 GB, free: 9.227 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.807e-06/0.331, allocations: 0 / 0.5517 GB, free: 9.227 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.515e-05/0.3311, allocations: 39.02 kB / 0.5517 GB, free: 9.211 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001622/0.3313, allocations: 146.8 kB / 0.5518 GB, free: 9.035 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.079e-05/0.3313, allocations: 50.31 kB / 0.5519 GB, free: 9 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.435e-05/0.3314, allocations: 40.33 kB / 0.5519 GB, free: 8.98 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.307e-05/0.3314, allocations: 4 kB / 0.5519 GB, free: 8.977 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.424e-05/0.3314, allocations: 35.81 kB / 0.552 GB, free: 8.934 MB / 398.1 MB Notification: Performance of pre-optimization done (n=12): time 1.062e-06/0.3314, allocations: 0 / 0.552 GB, free: 8.934 MB / 398.1 MB Notification: Performance of matching and sorting (n=12): time 0.0003411/0.3318, allocations: 192.9 kB / 0.5521 GB, free: 8.832 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.31e-05/0.3318, allocations: 88.72 kB / 0.5522 GB, free: 8.734 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000117/0.332, allocations: 128.2 kB / 0.5524 GB, free: 8.621 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.736e-05/0.332, allocations: 26.42 kB / 0.5524 GB, free: 8.59 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.812e-05/0.332, allocations: 91.39 kB / 0.5525 GB, free: 8.5 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.796e-05/0.3321, allocations: 44.23 kB / 0.5525 GB, free: 8.461 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.478e-05/0.3321, allocations: 25.98 kB / 0.5525 GB, free: 8.438 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001562/0.3323, allocations: 326.3 kB / 0.5528 GB, free: 8.113 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.221e-05/0.3323, allocations: 30.42 kB / 0.5529 GB, free: 8.105 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.598e-05/0.3324, allocations: 35.5 kB / 0.5529 GB, free: 8.094 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001721/0.3326, allocations: 163.4 kB / 0.5531 GB, free: 7.992 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.3326, allocations: 0 / 0.5531 GB, free: 7.992 MB / 398.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000194/0.3328, allocations: 156.8 kB / 0.5532 GB, free: 7.898 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.942e-05/0.3328, allocations: 49.73 kB / 0.5533 GB, free: 7.859 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.781e-06/0.3328, allocations: 5.125 kB / 0.5533 GB, free: 7.855 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.446e-05/0.3328, allocations: 0 / 0.5533 GB, free: 7.855 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.52e-07/0.3328, allocations: 0 / 0.5533 GB, free: 7.855 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.169e-06/0.3328, allocations: 1.031 kB / 0.5533 GB, free: 7.855 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.239e-05/0.3329, allocations: 10.73 kB / 0.5533 GB, free: 7.848 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.07e-05/0.3329, allocations: 4.25 kB / 0.5533 GB, free: 7.848 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.0001456/0.3331, allocations: 164.3 kB / 0.5534 GB, free: 7.691 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.292e-05/0.3331, allocations: 10.14 kB / 0.5534 GB, free: 7.688 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.126e-05/0.3331, allocations: 15.39 kB / 0.5535 GB, free: 7.672 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.29e-06/0.3331, allocations: 7.984 kB / 0.5535 GB, free: 7.664 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.277e-06/0.3331, allocations: 3.938 kB / 0.5535 GB, free: 7.66 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.088e-06/0.3331, allocations: 3.938 kB / 0.5535 GB, free: 7.656 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001425/0.3333, allocations: 154.4 kB / 0.5536 GB, free: 7.477 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.983e-06/0.3333, allocations: 1 kB / 0.5536 GB, free: 7.477 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.81e-07/0.3333, allocations: 0 / 0.5536 GB, free: 7.477 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.3333, allocations: 0 / 0.5536 GB, free: 7.477 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.202e-05/0.3333, allocations: 3.406 kB / 0.5536 GB, free: 7.477 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.3333, allocations: 1.031 kB / 0.5536 GB, free: 7.477 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.3333, allocations: 0 / 0.5536 GB, free: 7.477 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000355/0.3336, allocations: 297.6 kB / 0.5539 GB, free: 7.301 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.613e-05/0.3336, allocations: 10.28 kB / 0.5539 GB, free: 7.293 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.154e-05/0.3337, allocations: 3.531 kB / 0.5539 GB, free: 7.293 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.087e-05/0.3337, allocations: 2.406 kB / 0.5539 GB, free: 7.293 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.253e-05/0.3337, allocations: 1.188 kB / 0.5539 GB, free: 7.293 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.288e-05/0.3337, allocations: 8.531 kB / 0.5539 GB, free: 7.289 MB / 398.1 MB Notification: Performance of sorting global known variables: time 6.963e-05/0.3338, allocations: 101.2 kB / 0.554 GB, free: 7.203 MB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3338, allocations: 3.969 kB / 0.554 GB, free: 7.199 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0009379/0.3347, allocations: 332.4 kB / 0.5544 GB, free: 7.137 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.001508/0.3363, allocations: 1.078 MB / 0.5554 GB, free: 6.348 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003358/0.3366, allocations: 241.5 kB / 0.5556 GB, free: 6.191 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.3366, allocations: 0 / 0.5556 GB, free: 6.191 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00017/0.3368, allocations: 163.3 kB / 0.5558 GB, free: 6.02 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002513/0.337, allocations: 11.88 kB / 0.5558 GB, free: 6.008 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002197/0.3392, allocations: 1.962 MB / 0.5577 GB, free: 3.957 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003407/0.3396, allocations: 0.7041 MB / 0.5584 GB, free: 3.227 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 1.29e-05/0.3396, allocations: 4.031 kB / 0.5584 GB, free: 3.223 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.621e-05/0.3396, allocations: 19.44 kB / 0.5584 GB, free: 3.203 MB / 398.1 MB Notification: Performance of SimCode: time 6.41e-07/0.3396, allocations: 0 / 0.5584 GB, free: 3.203 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.9525203590019373] Failed to read output from testmodel.py, exit status != 0: 0.3736032829983742 0.390283866 0.057135252000000004 Calling exit ...