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.001623/0.001623, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.001408/0.001408, allocations: 211.4 kB / 23.73 MB, free: 4.16 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.497/1.497, allocations: 230.6 MB / 257.5 MB, free: 7.789 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.2044/0.2044, allocations: 38.55 MB / 352.5 MB, free: 12.39 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat3,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixTrDat3",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.002077/0.002077, allocations: 67.89 kB / 492.5 MB, free: 4.68 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.355/0.3571, allocations: 62.47 MB / 0.542 GB, free: 232 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat3): time 0.003747/0.3608, allocations: 2.189 MB / 0.5441 GB, free: 14.5 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003285/0.3641, allocations: 1.902 MB / 0.546 GB, free: 13.1 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.719e-05/0.3642, allocations: 5.531 kB / 0.546 GB, free: 13.1 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001456/0.3643, allocations: 9.359 kB / 0.546 GB, free: 13.09 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001332/0.3644, allocations: 27.17 kB / 0.546 GB, free: 13.07 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002702/0.3671, allocations: 0.957 MB / 0.5469 GB, free: 12.46 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001489/0.3673, allocations: 80.72 kB / 0.547 GB, free: 12.42 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.531e-05/0.3674, allocations: 9.547 kB / 0.547 GB, free: 12.41 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001529/0.3675, allocations: 46.86 kB / 0.5471 GB, free: 12.38 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001005/0.3676, allocations: 54.03 kB / 0.5471 GB, free: 12.35 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.665e-05/0.3676, allocations: 2.406 kB / 0.5471 GB, free: 12.35 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003294/0.3709, allocations: 1.888 MB / 0.549 GB, free: 11.11 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.631e-05/0.371, allocations: 43.12 kB / 0.549 GB, free: 11.09 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.839e-05/0.3711, allocations: 49.08 kB / 0.549 GB, free: 11.05 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002035/0.3731, allocations: 1.384 MB / 0.5504 GB, free: 10.23 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.3731, allocations: 5.5 kB / 0.5504 GB, free: 10.23 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.3731, allocations: 0 / 0.5504 GB, free: 10.23 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.462e-06/0.3731, allocations: 0 / 0.5504 GB, free: 10.23 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.0007932/0.3739, allocations: 0.5358 MB / 0.5509 GB, free: 9.758 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.468e-05/0.3739, allocations: 13.2 kB / 0.5509 GB, free: 9.754 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.444e-05/0.374, allocations: 53.89 kB / 0.551 GB, free: 9.699 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.089e-05/0.3741, allocations: 22.92 kB / 0.551 GB, free: 9.684 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002362/0.3743, allocations: 157 kB / 0.5512 GB, free: 9.52 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.026e-05/0.3743, allocations: 1.312 kB / 0.5512 GB, free: 9.52 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.226e-05/0.3743, allocations: 1.219 kB / 0.5512 GB, free: 9.52 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003959/0.3747, allocations: 248 kB / 0.5514 GB, free: 9.379 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.028e-05/0.3747, allocations: 3.938 kB / 0.5514 GB, free: 9.375 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.292e-05/0.3747, allocations: 3.938 kB / 0.5514 GB, free: 9.371 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.61e-06/0.3747, allocations: 1.344 kB / 0.5514 GB, free: 9.371 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002777/0.375, allocations: 196.1 kB / 0.5516 GB, free: 9.281 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002381/0.3753, allocations: 180.1 kB / 0.5518 GB, free: 9.086 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002948/0.3755, allocations: 211.9 kB / 0.552 GB, free: 8.973 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002653/0.3758, allocations: 200.7 kB / 0.5522 GB, free: 8.875 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.672e-06/0.3758, allocations: 1.094 kB / 0.5522 GB, free: 8.875 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.481e-05/0.3759, allocations: 35.66 kB / 0.5522 GB, free: 8.832 MB / 398.1 MB Notification: Performance of pre-optimization done (n=40): time 1.142e-06/0.3759, allocations: 4 kB / 0.5522 GB, free: 8.828 MB / 398.1 MB Notification: Performance of matching and sorting (n=40): time 0.001146/0.377, allocations: 0.731 MB / 0.5529 GB, free: 8.488 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.498e-05/0.3771, allocations: 112.5 kB / 0.553 GB, free: 8.383 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001732/0.3773, allocations: 168.4 kB / 0.5532 GB, free: 8.25 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.896e-05/0.3773, allocations: 26.86 kB / 0.5532 GB, free: 8.219 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.927e-05/0.3773, allocations: 102.7 kB / 0.5533 GB, free: 8.117 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001294/0.3775, allocations: 137.7 kB / 0.5534 GB, free: 7.996 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.999e-05/0.3775, allocations: 36.88 kB / 0.5535 GB, free: 7.969 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001756/0.3777, allocations: 340 kB / 0.5538 GB, free: 7.637 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002167/0.3779, allocations: 199.2 kB / 0.554 GB, free: 7.543 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002101/0.3781, allocations: 198.6 kB / 0.5542 GB, free: 7.449 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004971/0.3786, allocations: 473.2 kB / 0.5546 GB, free: 6.973 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.3786, allocations: 0 / 0.5546 GB, free: 6.973 MB / 398.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0005507/0.3792, allocations: 484.7 kB / 0.5551 GB, free: 6.48 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.966e-05/0.3793, allocations: 77.64 kB / 0.5552 GB, free: 6.398 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.776e-06/0.3793, allocations: 7.984 kB / 0.5552 GB, free: 6.391 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.325e-05/0.3793, allocations: 0 / 0.5552 GB, free: 6.391 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.31e-07/0.3793, allocations: 0 / 0.5552 GB, free: 6.391 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.241e-06/0.3793, allocations: 3.984 kB / 0.5552 GB, free: 6.387 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.439e-05/0.3794, allocations: 15.89 kB / 0.5552 GB, free: 6.371 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.934e-05/0.3794, allocations: 11.94 kB / 0.5552 GB, free: 6.359 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.0002273/0.3796, allocations: 243.4 kB / 0.5554 GB, free: 6.105 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.809e-05/0.3797, allocations: 23.86 kB / 0.5555 GB, free: 6.082 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.011e-05/0.3797, allocations: 14.66 kB / 0.5555 GB, free: 6.07 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.953e-06/0.3797, allocations: 0 / 0.5555 GB, free: 6.07 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.3797, allocations: 0 / 0.5555 GB, free: 6.07 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.164e-06/0.3797, allocations: 0 / 0.5555 GB, free: 6.07 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001846/0.3799, allocations: 200.4 kB / 0.5557 GB, free: 5.832 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.3799, allocations: 0 / 0.5557 GB, free: 5.832 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.52e-07/0.3799, allocations: 0 / 0.5557 GB, free: 5.832 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.342e-06/0.3799, allocations: 3.938 kB / 0.5557 GB, free: 5.828 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.159e-05/0.3799, allocations: 8 kB / 0.5557 GB, free: 5.82 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.755e-06/0.3799, allocations: 8 kB / 0.5557 GB, free: 5.812 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.3799, allocations: 0 / 0.5557 GB, free: 5.812 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009776/0.3809, allocations: 0.7967 MB / 0.5565 GB, free: 4.984 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.125e-05/0.3809, allocations: 23.78 kB / 0.5565 GB, free: 4.961 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.758e-05/0.381, allocations: 8 kB / 0.5565 GB, free: 4.953 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.128e-05/0.381, allocations: 4 kB / 0.5565 GB, free: 4.949 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.202e-05/0.381, allocations: 8 kB / 0.5565 GB, free: 4.941 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.904e-05/0.3811, allocations: 8 kB / 0.5565 GB, free: 4.934 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001077/0.3812, allocations: 132.2 kB / 0.5566 GB, free: 4.805 MB / 398.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3812, allocations: 0 / 0.5566 GB, free: 4.805 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001227/0.3824, allocations: 359.3 kB / 0.557 GB, free: 4.453 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.002184/0.3846, allocations: 1.606 MB / 0.5585 GB, free: 2.805 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0009385/0.3855, allocations: 0.768 MB / 0.5593 GB, free: 2.012 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.484e-06/0.3855, allocations: 0 / 0.5593 GB, free: 2.012 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004813/0.386, allocations: 448.8 kB / 0.5597 GB, free: 1.555 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002588/0.3863, allocations: 16 kB / 0.5597 GB, free: 1.539 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004699/0.391, allocations: 4.011 MB / 0.5637 GB, free: 13.41 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000164/0.3911, allocations: 148 kB / 0.5638 GB, free: 13.24 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 1.809e-05/0.3911, allocations: 0 / 0.5638 GB, free: 13.24 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.353e-05/0.3912, allocations: 43.42 kB / 0.5638 GB, free: 13.2 MB / 414.1 MB Notification: Performance of SimCode: time 1.142e-06/0.3912, allocations: 0 / 0.5638 GB, free: 13.2 MB / 414.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.13229574309662] Failed to read output from testmodel.py, exit status != 0: 0.42933681420981884 0.444305158 0.06816852300000001 Calling exit ...