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.001484/0.001484, 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.001732/0.001732, allocations: 216.4 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.495/1.495, allocations: 230.6 MB / 257.5 MB, free: 8.012 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.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 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.002016/0.002016, allocations: 59.91 kB / 492.5 MB, free: 4.871 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3457/0.3478, allocations: 62.47 MB / 0.542 GB, free: 436 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.TransDatFromEqCirc): time 0.003839/0.3516, allocations: 2.269 MB / 0.5442 GB, free: 14.62 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001764/0.3534, allocations: 1.127 MB / 0.5453 GB, free: 13.76 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.126e-05/0.3534, allocations: 0 / 0.5453 GB, free: 13.76 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001378/0.3536, allocations: 14.03 kB / 0.5453 GB, free: 13.75 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001146/0.3537, allocations: 49.23 kB / 0.5454 GB, free: 13.71 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001039/0.3547, allocations: 349.7 kB / 0.5457 GB, free: 13.48 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001697/0.3549, allocations: 119.3 kB / 0.5458 GB, free: 13.43 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.895e-05/0.3549, allocations: 2.75 kB / 0.5458 GB, free: 13.43 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001572/0.3551, allocations: 59.12 kB / 0.5459 GB, free: 13.39 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001242/0.3552, allocations: 73 kB / 0.546 GB, free: 13.36 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.347e-05/0.3552, allocations: 2.531 kB / 0.546 GB, free: 13.36 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000995/0.3562, allocations: 0.6567 MB / 0.5466 GB, free: 12.89 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.423e-05/0.3563, allocations: 38.05 kB / 0.5466 GB, free: 12.88 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.685e-05/0.3563, allocations: 42.97 kB / 0.5467 GB, free: 12.85 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006986/0.357, allocations: 0.5388 MB / 0.5472 GB, free: 12.54 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.988e-06/0.357, allocations: 0 / 0.5472 GB, free: 12.54 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.357, allocations: 1.188 kB / 0.5472 GB, free: 12.54 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.7e-06/0.357, allocations: 0 / 0.5472 GB, free: 12.54 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.0005552/0.3576, allocations: 406.3 kB / 0.5476 GB, free: 12.15 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.176e-05/0.3576, allocations: 13.61 kB / 0.5476 GB, free: 12.15 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.229e-05/0.3577, allocations: 59.14 kB / 0.5477 GB, free: 12.09 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.06e-05/0.3578, allocations: 15.22 kB / 0.5477 GB, free: 12.08 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000198/0.358, allocations: 141.6 kB / 0.5478 GB, free: 11.93 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.501e-05/0.358, allocations: 3.594 kB / 0.5478 GB, free: 11.93 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.841e-05/0.358, allocations: 8.812 kB / 0.5478 GB, free: 11.93 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00026/0.3583, allocations: 139.7 kB / 0.548 GB, free: 11.85 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.868e-06/0.3583, allocations: 0 / 0.548 GB, free: 11.85 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.562e-05/0.3583, allocations: 2.5 kB / 0.548 GB, free: 11.85 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.001e-06/0.3583, allocations: 1 kB / 0.548 GB, free: 11.85 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001354/0.3584, allocations: 88.66 kB / 0.548 GB, free: 11.81 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000493/0.3589, allocations: 321.4 kB / 0.5484 GB, free: 11.51 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001238/0.359, allocations: 72.8 kB / 0.5484 GB, free: 11.46 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001012/0.3592, allocations: 61.73 kB / 0.5485 GB, free: 11.44 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.969e-06/0.3592, allocations: 0 / 0.5485 GB, free: 11.44 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.446e-05/0.3592, allocations: 35.69 kB / 0.5485 GB, free: 11.39 MB / 398.1 MB Notification: Performance of pre-optimization done (n=20): time 1.183e-06/0.3592, allocations: 0 / 0.5485 GB, free: 11.39 MB / 398.1 MB Notification: Performance of matching and sorting (n=20): time 0.0005838/0.3598, allocations: 294 kB / 0.5488 GB, free: 11.25 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.156e-05/0.3599, allocations: 99.53 kB / 0.5489 GB, free: 11.15 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000137/0.36, allocations: 133.9 kB / 0.549 GB, free: 11.03 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.176e-05/0.36, allocations: 26.86 kB / 0.549 GB, free: 11 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.65e-05/0.3601, allocations: 113.1 kB / 0.5492 GB, free: 10.89 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.504e-05/0.3602, allocations: 63.95 kB / 0.5492 GB, free: 10.84 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.404e-05/0.3602, allocations: 28.36 kB / 0.5492 GB, free: 10.81 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001821/0.3604, allocations: 322.8 kB / 0.5495 GB, free: 10.49 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.907e-05/0.3605, allocations: 61.09 kB / 0.5496 GB, free: 10.47 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.628e-05/0.3606, allocations: 55.53 kB / 0.5497 GB, free: 10.45 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002613/0.3609, allocations: 239.7 kB / 0.5499 GB, free: 10.31 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.3609, allocations: 1.406 kB / 0.5499 GB, free: 10.31 MB / 398.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003117/0.3612, allocations: 224.6 kB / 0.5501 GB, free: 10.19 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.777e-05/0.3612, allocations: 56.36 kB / 0.5502 GB, free: 10.14 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.609e-06/0.3612, allocations: 0 / 0.5502 GB, free: 10.14 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.462e-05/0.3613, allocations: 0 / 0.5502 GB, free: 10.14 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.704e-06/0.3613, allocations: 1.219 kB / 0.5502 GB, free: 10.14 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.759e-06/0.3613, allocations: 0 / 0.5502 GB, free: 10.14 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.408e-05/0.3613, allocations: 12.95 kB / 0.5502 GB, free: 10.14 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.99e-05/0.3614, allocations: 13.25 kB / 0.5502 GB, free: 10.13 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.0001782/0.3615, allocations: 182.8 kB / 0.5504 GB, free: 9.965 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.585e-05/0.3616, allocations: 17.95 kB / 0.5504 GB, free: 9.957 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.075e-05/0.3616, allocations: 14.36 kB / 0.5504 GB, free: 9.945 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-06/0.3616, allocations: 1.125 kB / 0.5504 GB, free: 9.945 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/0.3616, allocations: 0 / 0.5504 GB, free: 9.945 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.426e-06/0.3616, allocations: 1.25 kB / 0.5504 GB, free: 9.945 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002453/0.3619, allocations: 179 kB / 0.5506 GB, free: 9.754 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.3619, allocations: 0 / 0.5506 GB, free: 9.754 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.968e-06/0.3619, allocations: 5.281 kB / 0.5506 GB, free: 9.75 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.433e-06/0.3619, allocations: 4 kB / 0.5506 GB, free: 9.746 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.189e-05/0.3619, allocations: 13.08 kB / 0.5506 GB, free: 9.738 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.3619, allocations: 0 / 0.5506 GB, free: 9.738 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.253e-06/0.3619, allocations: 0 / 0.5506 GB, free: 9.738 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005948/0.3625, allocations: 456.4 kB / 0.551 GB, free: 9.457 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.577e-05/0.3625, allocations: 19.81 kB / 0.551 GB, free: 9.441 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.575e-05/0.3625, allocations: 4.5 kB / 0.551 GB, free: 9.441 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.942e-05/0.3626, allocations: 3.812 kB / 0.551 GB, free: 9.441 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.641e-05/0.3626, allocations: 14.61 kB / 0.5511 GB, free: 9.43 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.466e-05/0.3626, allocations: 5.688 kB / 0.5511 GB, free: 9.43 MB / 398.1 MB Notification: Performance of sorting global known variables: time 7.887e-05/0.3627, allocations: 101.1 kB / 0.5512 GB, free: 9.348 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3627, allocations: 1.188 kB / 0.5512 GB, free: 9.348 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0005991/0.3633, allocations: 143.2 kB / 0.5513 GB, free: 9.324 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.001531/0.3648, allocations: 1.24 MB / 0.5525 GB, free: 8.395 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0004715/0.3653, allocations: 321.5 kB / 0.5528 GB, free: 8.23 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.3653, allocations: 0 / 0.5528 GB, free: 8.23 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002486/0.3656, allocations: 207.1 kB / 0.553 GB, free: 8.109 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003147/0.3659, allocations: 16.7 kB / 0.553 GB, free: 8.105 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003122/0.369, allocations: 2.455 MB / 0.5554 GB, free: 6.324 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004235/0.3694, allocations: 0.7275 MB / 0.5561 GB, free: 5.57 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 2.691e-05/0.3695, allocations: 4 kB / 0.5561 GB, free: 5.566 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.17e-05/0.3695, allocations: 31.42 kB / 0.5562 GB, free: 5.535 MB / 398.1 MB Notification: Performance of SimCode: time 7.22e-07/0.3695, allocations: 0 / 0.5562 GB, free: 5.535 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: 3.0511912470683455] Failed to read output from testmodel.py, exit status != 0: 0.39931357209570706 0.41550610099999996 0.05519647900000001 Calling exit ...