Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.TransDatFromEqCirc.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.001303/0.001303, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.001697/0.001697, allocations: 208.8 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.546/1.546, allocations: 230.6 MB / 257.5 MB, free: 7.785 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.1975/0.1975, allocations: 38.55 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.TransDatFromEqCirc,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Precalculation_TransDatFromEqCirc",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Precalculation.TransDatFromEqCirc,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Precalculation_TransDatFromEqCirc",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.002522/0.002522, allocations: 63.89 kB / 492.5 MB, free: 4.684 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3535/0.356, allocations: 62.47 MB / 0.542 GB, free: 236 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.TransDatFromEqCirc): time 0.003824/0.3599, allocations: 2.232 MB / 0.5441 GB, free: 14.47 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001781/0.3616, allocations: 1.025 MB / 0.5451 GB, free: 13.71 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.537e-05/0.3617, allocations: 0 / 0.5451 GB, free: 13.71 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001196/0.3618, allocations: 11.2 kB / 0.5451 GB, free: 13.71 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000122/0.3619, allocations: 60.61 kB / 0.5452 GB, free: 13.66 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009818/0.3629, allocations: 325.3 kB / 0.5455 GB, free: 13.45 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000167/0.3631, allocations: 115.1 kB / 0.5456 GB, free: 13.4 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.046e-05/0.3631, allocations: 6.25 kB / 0.5456 GB, free: 13.39 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001513/0.3633, allocations: 64.3 kB / 0.5457 GB, free: 13.36 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001154/0.3634, allocations: 72.72 kB / 0.5458 GB, free: 13.32 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.285e-05/0.3634, allocations: 1.375 kB / 0.5458 GB, free: 13.32 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008729/0.3643, allocations: 0.5604 MB / 0.5463 GB, free: 12.94 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.342e-05/0.3643, allocations: 45.59 kB / 0.5464 GB, free: 12.91 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.886e-05/0.3644, allocations: 27.84 kB / 0.5464 GB, free: 12.9 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006476/0.365, allocations: 0.5296 MB / 0.5469 GB, free: 12.6 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.365, allocations: 1.125 kB / 0.5469 GB, free: 12.6 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.365, allocations: 0 / 0.5469 GB, free: 12.6 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.719e-06/0.365, allocations: 4 kB / 0.5469 GB, free: 12.59 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0004902/0.3655, allocations: 397.5 kB / 0.5473 GB, free: 12.22 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.961e-05/0.3656, allocations: 13.02 kB / 0.5473 GB, free: 12.21 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.464e-05/0.3657, allocations: 63.03 kB / 0.5474 GB, free: 12.15 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.405e-05/0.3657, allocations: 19.38 kB / 0.5474 GB, free: 12.14 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002017/0.3659, allocations: 145.2 kB / 0.5475 GB, free: 11.99 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.346e-06/0.3659, allocations: 3.156 kB / 0.5475 GB, free: 11.99 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.439e-05/0.3659, allocations: 12.91 kB / 0.5475 GB, free: 11.98 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002799/0.3662, allocations: 192.1 kB / 0.5477 GB, free: 11.86 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.345e-06/0.3662, allocations: 0 / 0.5477 GB, free: 11.86 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.515e-05/0.3662, allocations: 5.156 kB / 0.5477 GB, free: 11.86 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.22e-06/0.3662, allocations: 5.156 kB / 0.5477 GB, free: 11.86 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001877/0.3664, allocations: 141.1 kB / 0.5479 GB, free: 11.78 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004497/0.3669, allocations: 309.7 kB / 0.5481 GB, free: 11.49 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001763/0.3671, allocations: 136.2 kB / 0.5483 GB, free: 11.39 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001431/0.3672, allocations: 121.9 kB / 0.5484 GB, free: 11.32 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.356e-06/0.3672, allocations: 0 / 0.5484 GB, free: 11.32 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.686e-05/0.3672, allocations: 35.75 kB / 0.5484 GB, free: 11.28 MB / 398.1 MB Notification: Performance of pre-optimization done (n=20): time 9.61e-07/0.3672, allocations: 0 / 0.5484 GB, free: 11.28 MB / 398.1 MB Notification: Performance of matching and sorting (n=20): time 0.0006124/0.3679, allocations: 425.1 kB / 0.5488 GB, free: 11.04 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.05e-05/0.3679, allocations: 101.1 kB / 0.5489 GB, free: 10.93 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001139/0.368, allocations: 133.9 kB / 0.5491 GB, free: 10.82 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.421e-05/0.3681, allocations: 30.55 kB / 0.5491 GB, free: 10.78 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.843e-05/0.3681, allocations: 109.5 kB / 0.5492 GB, free: 10.68 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.831e-05/0.3682, allocations: 63.56 kB / 0.5493 GB, free: 10.62 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.763e-05/0.3682, allocations: 29.08 kB / 0.5493 GB, free: 10.6 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001518/0.3684, allocations: 327 kB / 0.5496 GB, free: 10.27 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001379/0.3685, allocations: 116.2 kB / 0.5497 GB, free: 10.21 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001251/0.3687, allocations: 112.1 kB / 0.5498 GB, free: 10.14 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002908/0.3689, allocations: 267.8 kB / 0.5501 GB, free: 9.992 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.895e-06/0.369, allocations: 1.375 kB / 0.5501 GB, free: 9.992 MB / 398.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003573/0.3693, allocations: 301.4 kB / 0.5504 GB, free: 9.809 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.828e-05/0.3694, allocations: 56.83 kB / 0.5504 GB, free: 9.766 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.469e-06/0.3694, allocations: 0 / 0.5504 GB, free: 9.766 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.619e-05/0.3694, allocations: 1.312 kB / 0.5504 GB, free: 9.766 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.72e-07/0.3694, allocations: 0 / 0.5504 GB, free: 9.766 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.308e-06/0.3694, allocations: 0 / 0.5504 GB, free: 9.766 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.946e-05/0.3695, allocations: 12.77 kB / 0.5504 GB, free: 9.758 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.226e-05/0.3695, allocations: 6.375 kB / 0.5504 GB, free: 9.758 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.0001741/0.3697, allocations: 187.9 kB / 0.5506 GB, free: 9.59 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.02e-05/0.3697, allocations: 16.11 kB / 0.5506 GB, free: 9.582 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.675e-05/0.3697, allocations: 7.906 kB / 0.5506 GB, free: 9.578 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.118e-06/0.3697, allocations: 8.016 kB / 0.5506 GB, free: 9.57 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.3697, allocations: 1.188 kB / 0.5506 GB, free: 9.57 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.118e-06/0.3697, allocations: 3.984 kB / 0.5506 GB, free: 9.566 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002117/0.3699, allocations: 171.3 kB / 0.5508 GB, free: 9.383 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.3699, allocations: 0 / 0.5508 GB, free: 9.383 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.016e-06/0.3699, allocations: 5.281 kB / 0.5508 GB, free: 9.379 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.382e-06/0.3699, allocations: 0 / 0.5508 GB, free: 9.379 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.684e-05/0.37, allocations: 8.531 kB / 0.5508 GB, free: 9.375 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.714e-06/0.37, allocations: 1.312 kB / 0.5508 GB, free: 9.375 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.464e-06/0.37, allocations: 4 kB / 0.5508 GB, free: 9.371 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005973/0.3706, allocations: 0.5186 MB / 0.5513 GB, free: 9.031 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.51e-05/0.3706, allocations: 18.94 kB / 0.5513 GB, free: 9.016 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.471e-05/0.3706, allocations: 4.719 kB / 0.5514 GB, free: 9.016 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.198e-05/0.3707, allocations: 3.125 kB / 0.5514 GB, free: 9.016 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.506e-05/0.3707, allocations: 2.938 kB / 0.5514 GB, free: 9.016 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.831e-05/0.3707, allocations: 14.2 kB / 0.5514 GB, free: 9.008 MB / 398.1 MB Notification: Performance of sorting global known variables: time 7.153e-05/0.3708, allocations: 101.6 kB / 0.5515 GB, free: 8.926 MB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3708, allocations: 0 / 0.5515 GB, free: 8.926 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0005466/0.3713, allocations: 139.5 kB / 0.5516 GB, free: 8.906 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.001661/0.373, allocations: 1.372 MB / 0.5529 GB, free: 7.875 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0005953/0.3736, allocations: 447.1 kB / 0.5534 GB, free: 7.609 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.3736, allocations: 0 / 0.5534 GB, free: 7.609 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002973/0.3739, allocations: 255.5 kB / 0.5536 GB, free: 7.449 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000358/0.3743, allocations: 15.48 kB / 0.5536 GB, free: 7.445 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003376/0.3776, allocations: 2.786 MB / 0.5563 GB, free: 4.949 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001294/0.3778, allocations: 121.2 kB / 0.5565 GB, free: 4.809 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 2.269e-05/0.3778, allocations: 0 / 0.5565 GB, free: 4.809 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.049e-05/0.3778, allocations: 39.42 kB / 0.5565 GB, free: 4.77 MB / 398.1 MB Notification: Performance of SimCode: time 6.71e-07/0.3778, allocations: 0 / 0.5565 GB, free: 4.77 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.0849598101340234] Failed to read output from testmodel.py, exit status != 0: 0.40927677415311337 0.42579080999999996 0.057484857999999944 Calling exit ...