Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat3.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.001322/0.001322, allocations: 112.5 kB / 21.22 MB, free: 0.7305 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.001533/0.001533, allocations: 212.2 kB / 24.53 MB, free: 4.07 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.477/1.477, allocations: 230.6 MB / 258.3 MB, free: 8.012 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.191/0.191, allocations: 38.52 MB / 353.2 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_matrixTrDat3,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixTrDat3",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat3,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixTrDat3",fmuType="cs",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.002233/0.002233, allocations: 63.89 kB / 493.3 MB, free: 4.859 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3536/0.3558, allocations: 62.47 MB / 0.5428 GB, free: 452 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat3): time 0.00436/0.3602, allocations: 2.217 MB / 0.5449 GB, free: 14.68 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.004201/0.3644, allocations: 2.102 MB / 0.547 GB, free: 13.07 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.864e-05/0.3645, allocations: 3.938 kB / 0.547 GB, free: 13.06 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001601/0.3646, allocations: 18.19 kB / 0.547 GB, free: 13.05 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001274/0.3647, allocations: 26.75 kB / 0.547 GB, free: 13.03 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00299/0.3677, allocations: 0.981 MB / 0.548 GB, free: 12.39 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001762/0.3679, allocations: 76 kB / 0.5481 GB, free: 12.36 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.07e-05/0.368, allocations: 14.47 kB / 0.5481 GB, free: 12.34 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001572/0.3681, allocations: 42.34 kB / 0.5481 GB, free: 12.32 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001138/0.3682, allocations: 57.36 kB / 0.5482 GB, free: 12.29 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.682e-05/0.3683, allocations: 7.344 kB / 0.5482 GB, free: 12.28 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00473/0.373, allocations: 2.226 MB / 0.5504 GB, free: 10.75 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001044/0.3731, allocations: 43.94 kB / 0.5504 GB, free: 10.73 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001075/0.3732, allocations: 56.02 kB / 0.5505 GB, free: 10.68 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003233/0.3764, allocations: 1.424 MB / 0.5518 GB, free: 9.824 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.583e-06/0.3764, allocations: 1.156 kB / 0.5519 GB, free: 9.824 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.725e-06/0.3764, allocations: 0 / 0.5519 GB, free: 9.824 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.777e-06/0.3765, allocations: 0 / 0.5519 GB, free: 9.824 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: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.001114/0.3776, allocations: 0.5439 MB / 0.5524 GB, free: 9.344 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.526e-05/0.3776, allocations: 13.08 kB / 0.5524 GB, free: 9.34 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.815e-05/0.3776, allocations: 2.406 kB / 0.5524 GB, free: 9.34 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.279e-05/0.3777, allocations: 53.36 kB / 0.5524 GB, free: 9.285 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.447e-05/0.3777, allocations: 18.33 kB / 0.5525 GB, free: 9.273 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002392/0.378, allocations: 153.1 kB / 0.5526 GB, free: 9.113 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.178e-05/0.378, allocations: 1.188 kB / 0.5526 GB, free: 9.113 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.655e-05/0.378, allocations: 1.062 kB / 0.5526 GB, free: 9.113 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002659/0.3783, allocations: 142.8 kB / 0.5527 GB, free: 9.035 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.168e-06/0.3783, allocations: 1.031 kB / 0.5527 GB, free: 9.035 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.123e-05/0.3783, allocations: 0 / 0.5527 GB, free: 9.035 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.714e-06/0.3783, allocations: 5 kB / 0.5528 GB, free: 9.031 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001429/0.3785, allocations: 103.9 kB / 0.5529 GB, free: 8.992 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002342/0.3787, allocations: 176.3 kB / 0.553 GB, free: 8.801 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001951/0.3789, allocations: 116 kB / 0.5531 GB, free: 8.742 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000138/0.379, allocations: 100.7 kB / 0.5532 GB, free: 8.703 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.515e-06/0.379, allocations: 4 kB / 0.5532 GB, free: 8.699 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.982e-05/0.3791, allocations: 35.75 kB / 0.5533 GB, free: 8.656 MB / 398.1 MB Notification: Performance of pre-optimization done (n=40): time 1.162e-06/0.3791, allocations: 0 / 0.5533 GB, free: 8.656 MB / 398.1 MB Notification: Performance of matching and sorting (n=40): time 0.000954/0.38, allocations: 0.4888 MB / 0.5537 GB, free: 8.461 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001085/0.3801, allocations: 112.8 kB / 0.5539 GB, free: 8.355 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002077/0.3803, allocations: 167.6 kB / 0.554 GB, free: 8.223 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.266e-05/0.3804, allocations: 26.77 kB / 0.554 GB, free: 8.191 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.358e-05/0.3804, allocations: 110.3 kB / 0.5541 GB, free: 8.082 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00015/0.3806, allocations: 138.2 kB / 0.5543 GB, free: 7.961 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.098e-05/0.3807, allocations: 37.33 kB / 0.5543 GB, free: 7.934 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001923/0.3809, allocations: 337.6 kB / 0.5546 GB, free: 7.602 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001479/0.381, allocations: 96.25 kB / 0.5547 GB, free: 7.57 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001305/0.3811, allocations: 96.23 kB / 0.5548 GB, free: 7.539 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004147/0.3816, allocations: 380.3 kB / 0.5552 GB, free: 7.367 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.993e-06/0.3816, allocations: 3.938 kB / 0.5552 GB, free: 7.363 MB / 398.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0004344/0.382, allocations: 339.9 kB / 0.5555 GB, free: 7.207 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001099/0.3821, allocations: 94.88 kB / 0.5556 GB, free: 7.133 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.913e-06/0.3821, allocations: 3.984 kB / 0.5556 GB, free: 7.129 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.442e-05/0.3821, allocations: 0 / 0.5556 GB, free: 7.129 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.152e-06/0.3821, allocations: 0 / 0.5556 GB, free: 7.129 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.25e-06/0.3821, allocations: 4 kB / 0.5556 GB, free: 7.125 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.659e-05/0.3822, allocations: 19.83 kB / 0.5556 GB, free: 7.105 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.325e-05/0.3822, allocations: 8 kB / 0.5556 GB, free: 7.098 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.0002304/0.3825, allocations: 235.4 kB / 0.5559 GB, free: 6.852 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.991e-05/0.3825, allocations: 23.86 kB / 0.5559 GB, free: 6.828 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.976e-05/0.3825, allocations: 18.66 kB / 0.5559 GB, free: 6.812 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.687e-06/0.3825, allocations: 3.984 kB / 0.5559 GB, free: 6.809 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.3825, allocations: 0 / 0.5559 GB, free: 6.809 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/0.3825, allocations: 0 / 0.5559 GB, free: 6.809 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001997/0.3827, allocations: 216.3 kB / 0.5561 GB, free: 6.555 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.041e-06/0.3827, allocations: 4 kB / 0.5561 GB, free: 6.551 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.22e-07/0.3828, allocations: 0 / 0.5561 GB, free: 6.551 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.443e-06/0.3828, allocations: 0 / 0.5561 GB, free: 6.551 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.713e-05/0.3828, allocations: 15.98 kB / 0.5561 GB, free: 6.535 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.3828, allocations: 0 / 0.5561 GB, free: 6.535 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.188e-06/0.3828, allocations: 3.938 kB / 0.5561 GB, free: 6.531 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001075/0.3839, allocations: 0.916 MB / 0.557 GB, free: 5.59 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.955e-05/0.3839, allocations: 23.8 kB / 0.557 GB, free: 5.566 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.342e-05/0.3839, allocations: 4 kB / 0.557 GB, free: 5.562 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.396e-05/0.384, allocations: 8 kB / 0.5571 GB, free: 5.555 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.072e-05/0.384, allocations: 15.98 kB / 0.5571 GB, free: 5.539 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.294e-05/0.384, allocations: 8 kB / 0.5571 GB, free: 5.531 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001234/0.3842, allocations: 132.2 kB / 0.5572 GB, free: 5.402 MB / 398.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3842, allocations: 4.031 kB / 0.5572 GB, free: 5.398 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001349/0.3855, allocations: 359.3 kB / 0.5576 GB, free: 5.047 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.002646/0.3882, allocations: 1.729 MB / 0.5592 GB, free: 3.281 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0009986/0.3892, allocations: 0.8271 MB / 0.56 GB, free: 2.441 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.232e-06/0.3892, allocations: 0 / 0.56 GB, free: 2.441 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006476/0.3898, allocations: 0.6084 MB / 0.5606 GB, free: 1.82 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002154/0.39, allocations: 18.06 kB / 0.5607 GB, free: 1.805 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004533/0.3946, allocations: 3.69 MB / 0.5643 GB, free: 14.02 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003945/0.3949, allocations: 0.7516 MB / 0.565 GB, free: 13.24 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 1.228e-05/0.395, allocations: 4.031 kB / 0.565 GB, free: 13.24 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.576e-05/0.395, allocations: 47.42 kB / 0.565 GB, free: 13.19 MB / 414.1 MB Notification: Performance of SimCode: time 9.52e-07/0.395, allocations: 0 / 0.565 GB, free: 13.19 MB / 414.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.0726245119585656] Failed to read output from testmodel.py, exit status != 0: 0.4329507310176268 0.449524906 0.06955594000000001 Calling exit ...