Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_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.001616/0.001616, allocations: 115.9 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.002033/0.002033, allocations: 213.4 kB / 23.74 MB, free: 4.656 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.518/1.518, 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.1962/0.1962, allocations: 38.53 MB / 352.5 MB, free: 12.52 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.Z_matrixTrDat1,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixTrDat1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat1,fileNamePrefix="PowerSystems_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.001964/0.001964, allocations: 71.89 kB / 492.6 MB, free: 4.855 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3369/0.3389, allocations: 62.46 MB / 0.542 GB, free: 448 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat1): time 0.003853/0.3428, allocations: 2.216 MB / 0.5442 GB, free: 14.69 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003742/0.3465, allocations: 2.105 MB / 0.5462 GB, free: 13.07 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.97e-05/0.3466, allocations: 1 kB / 0.5462 GB, free: 13.07 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001532/0.3467, allocations: 10.08 kB / 0.5462 GB, free: 13.06 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001003/0.3468, allocations: 29.95 kB / 0.5463 GB, free: 13.04 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002984/0.3498, allocations: 0.9845 MB / 0.5472 GB, free: 12.4 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001859/0.35, allocations: 79 kB / 0.5473 GB, free: 12.36 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.536e-05/0.35, allocations: 10.45 kB / 0.5473 GB, free: 12.35 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001469/0.3502, allocations: 42 kB / 0.5474 GB, free: 12.32 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001255/0.3503, allocations: 47.75 kB / 0.5474 GB, free: 12.3 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.453e-05/0.3503, allocations: 1.25 kB / 0.5474 GB, free: 12.3 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003969/0.3543, allocations: 2.226 MB / 0.5496 GB, free: 10.76 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.677e-05/0.3544, allocations: 17.2 kB / 0.5496 GB, free: 10.75 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.309e-05/0.3544, allocations: 34.88 kB / 0.5496 GB, free: 10.73 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002451/0.3569, allocations: 1.363 MB / 0.551 GB, free: 9.906 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.3569, allocations: 0 / 0.551 GB, free: 9.906 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.744e-06/0.3569, allocations: 0 / 0.551 GB, free: 9.906 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.101e-06/0.3569, allocations: 1.25 kB / 0.551 GB, free: 9.906 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.0007502/0.3576, allocations: 461.2 kB / 0.5514 GB, free: 9.484 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.197e-05/0.3577, allocations: 12.95 kB / 0.5514 GB, free: 9.48 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.686e-05/0.3577, allocations: 41.27 kB / 0.5515 GB, free: 9.434 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.896e-05/0.3578, allocations: 8.859 kB / 0.5515 GB, free: 9.43 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001783/0.358, allocations: 144.7 kB / 0.5516 GB, free: 9.273 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.388e-06/0.358, allocations: 1.438 kB / 0.5516 GB, free: 9.273 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.838e-06/0.358, allocations: 1.625 kB / 0.5516 GB, free: 9.273 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001631/0.3581, allocations: 67.27 kB / 0.5517 GB, free: 9.227 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.314e-06/0.3581, allocations: 0 / 0.5517 GB, free: 9.227 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.117e-06/0.3581, allocations: 1 kB / 0.5517 GB, free: 9.227 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.107e-06/0.3582, allocations: 0 / 0.5517 GB, free: 9.227 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.856e-05/0.3582, allocations: 35.48 kB / 0.5517 GB, free: 9.215 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001754/0.3584, allocations: 154.5 kB / 0.5518 GB, free: 9.031 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.778e-05/0.3585, allocations: 54.3 kB / 0.5519 GB, free: 8.992 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.588e-05/0.3585, allocations: 35.97 kB / 0.5519 GB, free: 8.977 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.985e-06/0.3585, allocations: 1.031 kB / 0.5519 GB, free: 8.977 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.362e-05/0.3586, allocations: 35.53 kB / 0.552 GB, free: 8.934 MB / 398.1 MB Notification: Performance of pre-optimization done (n=12): time 1.142e-06/0.3586, allocations: 0 / 0.552 GB, free: 8.934 MB / 398.1 MB Notification: Performance of matching and sorting (n=12): time 0.0003351/0.3589, allocations: 184.2 kB / 0.5521 GB, free: 8.84 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.233e-05/0.359, allocations: 100.9 kB / 0.5522 GB, free: 8.73 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001263/0.3591, allocations: 128.8 kB / 0.5524 GB, free: 8.617 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.126e-05/0.3591, allocations: 26.73 kB / 0.5524 GB, free: 8.586 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.734e-05/0.3592, allocations: 90.55 kB / 0.5525 GB, free: 8.496 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.827e-05/0.3592, allocations: 40.52 kB / 0.5525 GB, free: 8.461 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.564e-05/0.3593, allocations: 26.17 kB / 0.5525 GB, free: 8.438 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001561/0.3594, allocations: 326 kB / 0.5529 GB, free: 8.113 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.489e-05/0.3595, allocations: 34.67 kB / 0.5529 GB, free: 8.102 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.619e-05/0.3595, allocations: 38.61 kB / 0.5529 GB, free: 8.086 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001682/0.3597, allocations: 159.6 kB / 0.5531 GB, free: 7.988 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/0.3597, allocations: 0 / 0.5531 GB, free: 7.988 MB / 398.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000209/0.3599, allocations: 151.8 kB / 0.5532 GB, free: 7.898 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.951e-05/0.36, allocations: 51.73 kB / 0.5533 GB, free: 7.855 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.019e-06/0.36, allocations: 1.25 kB / 0.5533 GB, free: 7.855 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.361e-05/0.36, allocations: 0 / 0.5533 GB, free: 7.855 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.32e-07/0.36, allocations: 0 / 0.5533 GB, free: 7.855 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.839e-06/0.36, allocations: 1.156 kB / 0.5533 GB, free: 7.855 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.313e-05/0.3601, allocations: 10.27 kB / 0.5533 GB, free: 7.848 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.084e-05/0.3601, allocations: 8.719 kB / 0.5533 GB, free: 7.844 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.0001384/0.3602, allocations: 164.4 kB / 0.5534 GB, free: 7.688 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.013e-05/0.3602, allocations: 9.672 kB / 0.5535 GB, free: 7.684 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.146e-05/0.3603, allocations: 11.64 kB / 0.5535 GB, free: 7.672 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.262e-06/0.3603, allocations: 0 / 0.5535 GB, free: 7.672 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/0.3603, allocations: 3.938 kB / 0.5535 GB, free: 7.668 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.478e-06/0.3603, allocations: 3.938 kB / 0.5535 GB, free: 7.664 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001358/0.3604, allocations: 151.2 kB / 0.5536 GB, free: 7.488 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.81e-07/0.3604, allocations: 0 / 0.5536 GB, free: 7.488 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.21e-07/0.3604, allocations: 0 / 0.5536 GB, free: 7.488 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.3604, allocations: 5.438 kB / 0.5536 GB, free: 7.484 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.213e-05/0.3604, allocations: 2.938 kB / 0.5536 GB, free: 7.484 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.326e-06/0.3604, allocations: 4 kB / 0.5536 GB, free: 7.48 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.3604, allocations: 1.438 kB / 0.5536 GB, free: 7.48 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003634/0.3608, allocations: 291.7 kB / 0.5539 GB, free: 7.309 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.082e-05/0.3608, allocations: 19.95 kB / 0.5539 GB, free: 7.293 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.149e-05/0.3608, allocations: 2.5 kB / 0.5539 GB, free: 7.293 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.005e-05/0.3609, allocations: 2.344 kB / 0.5539 GB, free: 7.293 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.841e-05/0.3609, allocations: 6.25 kB / 0.5539 GB, free: 7.289 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.359e-05/0.3609, allocations: 7.25 kB / 0.5539 GB, free: 7.285 MB / 398.1 MB Notification: Performance of sorting global known variables: time 6.89e-05/0.361, allocations: 104.5 kB / 0.554 GB, free: 7.199 MB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.361, allocations: 0 / 0.554 GB, free: 7.199 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0009746/0.3619, allocations: 323.9 kB / 0.5544 GB, free: 7.145 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.00154/0.3635, allocations: 1.083 MB / 0.5554 GB, free: 6.348 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003464/0.3638, allocations: 243.1 kB / 0.5556 GB, free: 6.168 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.3638, allocations: 0 / 0.5556 GB, free: 6.168 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001773/0.364, allocations: 167.3 kB / 0.5558 GB, free: 5.992 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000254/0.3643, allocations: 11.88 kB / 0.5558 GB, free: 5.98 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002288/0.3665, allocations: 1.958 MB / 0.5577 GB, free: 3.938 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003332/0.3669, allocations: 0.7041 MB / 0.5584 GB, free: 3.207 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 1.105e-05/0.3669, allocations: 0 / 0.5584 GB, free: 3.207 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.184e-05/0.3669, allocations: 27.42 kB / 0.5584 GB, free: 3.18 MB / 398.1 MB Notification: Performance of SimCode: time 3.4e-07/0.3669, allocations: 0 / 0.5584 GB, free: 3.18 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.998781898058951] Failed to read output from testmodel.py, exit status != 0: 0.4019467271864414 0.41926231700000005 0.058872364 Calling exit ...