Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_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.0018/0.0018, 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.001507/0.001507, allocations: 210.6 kB / 23.72 MB, free: 4.391 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.53/1.53, 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.2083/0.2083, allocations: 38.56 MB / 352.5 MB, free: 12.29 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_matrixTrDat1,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixTrDat1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat1,fileNamePrefix="PowerSystems_latest_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.002182/0.002182, allocations: 63.89 kB / 492.5 MB, free: 4.672 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3695/0.3717, allocations: 62.48 MB / 0.542 GB, free: 228 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat1): time 0.004122/0.3758, allocations: 2.181 MB / 0.5441 GB, free: 14.51 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003774/0.3796, allocations: 1.902 MB / 0.5459 GB, free: 13.11 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.767e-05/0.3796, allocations: 5.219 kB / 0.5459 GB, free: 13.11 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001577/0.3798, allocations: 9.234 kB / 0.546 GB, free: 13.1 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001045/0.3799, allocations: 31.14 kB / 0.546 GB, free: 13.07 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002852/0.3828, allocations: 0.9573 MB / 0.5469 GB, free: 12.46 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001666/0.3829, allocations: 74.55 kB / 0.547 GB, free: 12.43 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.915e-05/0.383, allocations: 14.2 kB / 0.547 GB, free: 12.41 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001726/0.3832, allocations: 38.41 kB / 0.547 GB, free: 12.39 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001042/0.3833, allocations: 47.06 kB / 0.5471 GB, free: 12.37 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.593e-05/0.3833, allocations: 2.281 kB / 0.5471 GB, free: 12.37 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003591/0.3869, allocations: 1.889 MB / 0.5489 GB, free: 11.12 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.382e-05/0.3869, allocations: 21.42 kB / 0.549 GB, free: 11.11 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.101e-05/0.387, allocations: 27.89 kB / 0.549 GB, free: 11.09 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002417/0.3894, allocations: 1.323 MB / 0.5503 GB, free: 10.31 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.3894, allocations: 0 / 0.5503 GB, free: 10.31 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.044e-06/0.3894, allocations: 1.406 kB / 0.5503 GB, free: 10.31 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.068e-05/0.3894, allocations: 0 / 0.5503 GB, free: 10.31 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.0009708/0.3904, allocations: 465.9 kB / 0.5507 GB, free: 9.883 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.505e-05/0.3904, allocations: 12.98 kB / 0.5507 GB, free: 9.879 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.59e-05/0.3905, allocations: 44.92 kB / 0.5508 GB, free: 9.828 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.033e-05/0.3905, allocations: 9.234 kB / 0.5508 GB, free: 9.824 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002001/0.3907, allocations: 133.1 kB / 0.5509 GB, free: 9.68 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.363e-06/0.3907, allocations: 5.188 kB / 0.5509 GB, free: 9.676 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.469e-05/0.3907, allocations: 1.25 kB / 0.5509 GB, free: 9.676 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002111/0.3909, allocations: 116.2 kB / 0.551 GB, free: 9.59 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.816e-06/0.3909, allocations: 1.094 kB / 0.551 GB, free: 9.59 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.808e-06/0.391, allocations: 3.938 kB / 0.551 GB, free: 9.586 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.689e-06/0.391, allocations: 0 / 0.551 GB, free: 9.586 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.964e-05/0.3911, allocations: 84.05 kB / 0.5511 GB, free: 9.535 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001882/0.3912, allocations: 151.2 kB / 0.5513 GB, free: 9.355 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001337/0.3914, allocations: 97.86 kB / 0.5514 GB, free: 9.281 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.525e-05/0.3915, allocations: 92 kB / 0.5514 GB, free: 9.219 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.426e-06/0.3915, allocations: 1.188 kB / 0.5514 GB, free: 9.219 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.107e-05/0.3915, allocations: 31.81 kB / 0.5515 GB, free: 9.18 MB / 398.1 MB Notification: Performance of pre-optimization done (n=12): time 1.292e-06/0.3915, allocations: 0 / 0.5515 GB, free: 9.18 MB / 398.1 MB Notification: Performance of matching and sorting (n=12): time 0.000435/0.392, allocations: 302.6 kB / 0.5518 GB, free: 8.992 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.884e-05/0.392, allocations: 89.81 kB / 0.5518 GB, free: 8.895 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001244/0.3921, allocations: 128.6 kB / 0.552 GB, free: 8.781 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.151e-05/0.3922, allocations: 25.7 kB / 0.552 GB, free: 8.75 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.534e-05/0.3922, allocations: 95.34 kB / 0.5521 GB, free: 8.656 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.37e-05/0.3923, allocations: 40.39 kB / 0.5521 GB, free: 8.621 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.607e-05/0.3923, allocations: 22.53 kB / 0.5521 GB, free: 8.602 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001594/0.3925, allocations: 330.2 kB / 0.5525 GB, free: 8.273 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.876e-05/0.3926, allocations: 83.61 kB / 0.5525 GB, free: 8.223 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.723e-05/0.3927, allocations: 79.08 kB / 0.5526 GB, free: 8.176 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002017/0.3929, allocations: 190 kB / 0.5528 GB, free: 8.059 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.3929, allocations: 0 / 0.5528 GB, free: 8.059 MB / 398.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002633/0.3931, allocations: 209.6 kB / 0.553 GB, free: 7.926 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.781e-05/0.3932, allocations: 53.36 kB / 0.553 GB, free: 7.883 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.621e-06/0.3932, allocations: 0 / 0.553 GB, free: 7.883 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.437e-05/0.3932, allocations: 0 / 0.553 GB, free: 7.883 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.242e-06/0.3932, allocations: 1.219 kB / 0.553 GB, free: 7.883 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.889e-06/0.3932, allocations: 4.062 kB / 0.553 GB, free: 7.879 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.322e-05/0.3933, allocations: 11.36 kB / 0.5531 GB, free: 7.871 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.179e-05/0.3933, allocations: 3.312 kB / 0.5531 GB, free: 7.871 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.3935, allocations: 168.7 kB / 0.5532 GB, free: 7.711 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.271e-05/0.3935, allocations: 10.36 kB / 0.5532 GB, free: 7.707 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.122e-05/0.3935, allocations: 11.41 kB / 0.5532 GB, free: 7.695 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.3935, allocations: 0 / 0.5532 GB, free: 7.695 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.658e-06/0.3935, allocations: 1.406 kB / 0.5532 GB, free: 7.695 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.693e-06/0.3935, allocations: 3.938 kB / 0.5532 GB, free: 7.691 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001548/0.3937, allocations: 145.8 kB / 0.5534 GB, free: 7.52 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.3937, allocations: 0 / 0.5534 GB, free: 7.52 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.213e-06/0.3937, allocations: 5.219 kB / 0.5534 GB, free: 7.516 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.454e-06/0.3937, allocations: 3.938 kB / 0.5534 GB, free: 7.512 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.446e-05/0.3937, allocations: 3.344 kB / 0.5534 GB, free: 7.512 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.028e-06/0.3937, allocations: 4 kB / 0.5534 GB, free: 7.508 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.3937, allocations: 5.094 kB / 0.5534 GB, free: 7.504 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004303/0.3941, allocations: 328.8 kB / 0.5537 GB, free: 7.297 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.613e-05/0.3942, allocations: 7.359 kB / 0.5537 GB, free: 7.293 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.326e-05/0.3942, allocations: 3.281 kB / 0.5537 GB, free: 7.293 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.482e-05/0.3942, allocations: 6.25 kB / 0.5537 GB, free: 7.289 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.73e-05/0.3942, allocations: 6.266 kB / 0.5537 GB, free: 7.285 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.548e-05/0.3943, allocations: 11.84 kB / 0.5538 GB, free: 7.277 MB / 398.1 MB Notification: Performance of sorting global known variables: time 8.221e-05/0.3943, allocations: 99.95 kB / 0.5539 GB, free: 7.195 MB / 398.1 MB Notification: Performance of sort global known variables: time 6.1e-08/0.3943, allocations: 0 / 0.5539 GB, free: 7.195 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001306/0.3957, allocations: 333.1 kB / 0.5542 GB, free: 7.133 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.002267/0.3979, allocations: 1.115 MB / 0.5553 GB, free: 6.184 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000463/0.3984, allocations: 318.6 kB / 0.5556 GB, free: 5.848 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.3984, allocations: 4.094 kB / 0.5556 GB, free: 5.844 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002161/0.3986, allocations: 189 kB / 0.5557 GB, free: 5.641 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003167/0.3989, allocations: 17.94 kB / 0.5558 GB, free: 5.625 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002899/0.4018, allocations: 2.204 MB / 0.5579 GB, free: 3.301 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.705e-05/0.4019, allocations: 87.59 kB / 0.558 GB, free: 3.195 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 1.468e-05/0.4019, allocations: 0 / 0.558 GB, free: 3.195 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.241e-05/0.402, allocations: 27.52 kB / 0.558 GB, free: 3.168 MB / 398.1 MB Notification: Performance of SimCode: time 5.91e-07/0.402, allocations: 0 / 0.558 GB, free: 3.168 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.2318091806955636] Failed to read output from testmodel.py, exit status != 0: 0.43690389208495617 0.45287638100000005 0.060183097000000005 Calling exit ...