Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat2.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.0008769/0.0008769, allocations: 111.6 kB / 20.43 MB, free: 4.594 MB / 13.93 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.0008537/0.0008537, allocations: 225.5 kB / 23.74 MB, free: 2.129 MB / 13.93 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 0.8933/0.8933, allocations: 230.6 MB / 257.5 MB, free: 9.574 MB / 202.7 MB " [Timeout remaining time 179] 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.1226/0.1226, allocations: 38.58 MB / 352.5 MB, free: 11.39 MB / 282.7 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.1.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: setCommandLineOptions("--fmiFlags=s:cvode") Running command: "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat2,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixTrDat2",fmuType="me_cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat2,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixTrDat2",fmuType="me_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.001544/0.001544, allocations: 71.89 kB / 493.3 MB, free: 4.535 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09347/0.09502, allocations: 62.49 MB / 0.5428 GB, free: 5.961 MB / 410.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat2): time 0.00296/0.09798, allocations: 2.191 MB / 0.5449 GB, free: 3.742 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.002333/0.1003, allocations: 1.895 MB / 0.5467 GB, free: 1.836 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.954e-05/0.1004, allocations: 0 / 0.5467 GB, free: 1.836 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001217/0.1005, allocations: 15.91 kB / 0.5468 GB, free: 1.82 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 6.738e-05/0.1005, allocations: 23.84 kB / 0.5468 GB, free: 1.797 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001499/0.102, allocations: 0.9707 MB / 0.5477 GB, free: 0.8281 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001029/0.1021, allocations: 71.7 kB / 0.5478 GB, free: 0.7578 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.395e-05/0.1022, allocations: 12.16 kB / 0.5478 GB, free: 0.7461 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001107/0.1023, allocations: 39.84 kB / 0.5479 GB, free: 0.707 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.879e-05/0.1024, allocations: 47.75 kB / 0.5479 GB, free: 0.6602 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 9.799e-06/0.1024, allocations: 4 kB / 0.5479 GB, free: 0.6562 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001812/0.1042, allocations: 1.902 MB / 0.5498 GB, free: 14.75 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 5.058e-05/0.1042, allocations: 35.83 kB / 0.5498 GB, free: 14.71 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 4.429e-05/0.1043, allocations: 31.75 kB / 0.5498 GB, free: 14.68 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001104/0.1054, allocations: 1.352 MB / 0.5511 GB, free: 13.33 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.1054, allocations: 0 / 0.5511 GB, free: 13.33 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.084e-06/0.1054, allocations: 3.938 kB / 0.5511 GB, free: 13.32 MB / 426.7 MB Notification: Performance of Transformations before backend: time 6.673e-06/0.1054, allocations: 0 / 0.5511 GB, free: 13.32 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.0004611/0.1059, allocations: 0.4942 MB / 0.5516 GB, free: 12.79 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.746e-05/0.1059, allocations: 12.03 kB / 0.5516 GB, free: 12.78 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.794e-05/0.1059, allocations: 42.73 kB / 0.5517 GB, free: 12.73 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.988e-05/0.106, allocations: 12.84 kB / 0.5517 GB, free: 12.72 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001232/0.1061, allocations: 148.9 kB / 0.5518 GB, free: 12.55 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.124e-06/0.1061, allocations: 0 / 0.5518 GB, free: 12.55 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.637e-06/0.1061, allocations: 4 kB / 0.5518 GB, free: 12.55 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001641/0.1063, allocations: 159.3 kB / 0.552 GB, free: 12.38 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.392e-06/0.1063, allocations: 3.938 kB / 0.552 GB, free: 12.38 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.255e-06/0.1063, allocations: 0 / 0.552 GB, free: 12.38 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.168e-06/0.1063, allocations: 0 / 0.552 GB, free: 12.38 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.351e-05/0.1064, allocations: 133.7 kB / 0.5521 GB, free: 12.24 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001078/0.1065, allocations: 156.6 kB / 0.5523 GB, free: 12.04 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001025/0.1066, allocations: 148.2 kB / 0.5524 GB, free: 11.88 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.614e-05/0.1067, allocations: 130.5 kB / 0.5525 GB, free: 11.75 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.162e-06/0.1067, allocations: 0 / 0.5525 GB, free: 11.75 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.799e-05/0.1067, allocations: 30.56 kB / 0.5526 GB, free: 11.71 MB / 426.7 MB Notification: Performance of pre-optimization done (n=24): time 1.052e-06/0.1067, allocations: 0 / 0.5526 GB, free: 11.71 MB / 426.7 MB Notification: Performance of matching and sorting (n=24): time 0.0006183/0.1073, allocations: 486.7 kB / 0.553 GB, free: 11.21 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.715e-05/0.1073, allocations: 93.09 kB / 0.5531 GB, free: 11.1 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.471e-05/0.1074, allocations: 157.5 kB / 0.5533 GB, free: 10.94 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 9.908e-06/0.1074, allocations: 29.73 kB / 0.5533 GB, free: 10.9 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.352e-05/0.1075, allocations: 96.58 kB / 0.5534 GB, free: 10.8 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.848e-05/0.1075, allocations: 79.27 kB / 0.5535 GB, free: 10.73 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.08e-05/0.1075, allocations: 29.7 kB / 0.5535 GB, free: 10.69 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 6.671e-05/0.1076, allocations: 326.8 kB / 0.5538 GB, free: 10.36 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.116e-05/0.1077, allocations: 133.6 kB / 0.5539 GB, free: 10.23 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.07e-05/0.1078, allocations: 121.7 kB / 0.5541 GB, free: 10.1 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001752/0.1079, allocations: 294.6 kB / 0.5543 GB, free: 9.801 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/0.1079, allocations: 7.984 kB / 0.5543 GB, free: 9.793 MB / 426.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.000206/0.1081, allocations: 316.8 kB / 0.5546 GB, free: 9.465 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.881e-05/0.1082, allocations: 65.72 kB / 0.5547 GB, free: 9.395 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.248e-06/0.1082, allocations: 4 kB / 0.5547 GB, free: 9.391 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.183e-05/0.1082, allocations: 0 / 0.5547 GB, free: 9.391 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.32e-07/0.1082, allocations: 0 / 0.5547 GB, free: 9.391 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.368e-06/0.1082, allocations: 0 / 0.5547 GB, free: 9.391 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.844e-05/0.1083, allocations: 19.89 kB / 0.5547 GB, free: 9.371 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.879e-05/0.1083, allocations: 7.984 kB / 0.5547 GB, free: 9.363 MB / 426.7 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 9.392e-05/0.1084, allocations: 195.4 kB / 0.5549 GB, free: 9.156 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.391e-05/0.1084, allocations: 15.91 kB / 0.5549 GB, free: 9.141 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.495e-05/0.1084, allocations: 17.22 kB / 0.555 GB, free: 9.121 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.1084, allocations: 0 / 0.555 GB, free: 9.121 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.487e-06/0.1084, allocations: 4 kB / 0.555 GB, free: 9.117 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.128e-06/0.1084, allocations: 7.984 kB / 0.555 GB, free: 9.109 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.023e-05/0.1085, allocations: 168.5 kB / 0.5551 GB, free: 8.902 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.71e-07/0.1085, allocations: 0 / 0.5551 GB, free: 8.902 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.172e-06/0.1085, allocations: 3.984 kB / 0.5551 GB, free: 8.898 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.092e-06/0.1085, allocations: 0 / 0.5551 GB, free: 8.898 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.059e-05/0.1085, allocations: 8 kB / 0.5551 GB, free: 8.891 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.12e-07/0.1085, allocations: 0 / 0.5551 GB, free: 8.891 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.21e-07/0.1085, allocations: 0 / 0.5551 GB, free: 8.891 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00035/0.1089, allocations: 0.5172 MB / 0.5556 GB, free: 8.344 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.11e-05/0.1089, allocations: 15.89 kB / 0.5557 GB, free: 8.328 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.469e-05/0.1089, allocations: 8.031 kB / 0.5557 GB, free: 8.32 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.449e-05/0.1089, allocations: 4 kB / 0.5557 GB, free: 8.316 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.752e-05/0.1089, allocations: 8 kB / 0.5557 GB, free: 8.309 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.458e-06/0.1089, allocations: 7.984 kB / 0.5557 GB, free: 8.301 MB / 426.7 MB Notification: Performance of sorting global known variables: time 4.71e-05/0.109, allocations: 115.1 kB / 0.5558 GB, free: 8.188 MB / 426.7 MB Notification: Performance of sort global known variables: time 6e-08/0.109, allocations: 4 kB / 0.5558 GB, free: 8.184 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0006095/0.1096, allocations: 339.3 kB / 0.5561 GB, free: 7.852 MB / 426.7 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.001052/0.1106, allocations: 1.325 MB / 0.5574 GB, free: 6.484 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.000361/0.111, allocations: 0.4946 MB / 0.5579 GB, free: 5.965 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.111, allocations: 4 kB / 0.5579 GB, free: 5.961 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001723/0.1112, allocations: 297 kB / 0.5582 GB, free: 5.652 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001655/0.1113, allocations: 8 kB / 0.5582 GB, free: 5.645 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00216/0.1135, allocations: 2.954 MB / 0.5611 GB, free: 2.57 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.509e-05/0.1136, allocations: 118.1 kB / 0.5612 GB, free: 2.434 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 1.541e-05/0.1136, allocations: 4 kB / 0.5612 GB, free: 2.43 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.811e-05/0.1136, allocations: 35.42 kB / 0.5612 GB, free: 2.395 MB / 426.7 MB Notification: Performance of SimCode: time 5.71e-07/0.1136, allocations: 0 / 0.5612 GB, free: 2.395 MB / 426.7 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: 2.1350143924355507]