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.006469/0.006469, allocations: 113.1 kB / 20.44 MB, free: 4.586 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.00154/0.00154, allocations: 218 kB / 23.73 MB, free: 2.137 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 1.022/1.022, allocations: 230.6 MB / 257.5 MB, free: 9.629 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.1.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.1.0-master/package.mo): time 0.1591/0.1591, allocations: 38.59 MB / 352.5 MB, free: 11.41 MB / 282.7 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.1.0-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.002016/0.002016, allocations: 75.89 kB / 494.1 MB, free: 3.816 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1026/0.1046, allocations: 62.48 MB / 0.5435 GB, free: 5.219 MB / 410.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat2): time 0.003005/0.1076, allocations: 2.191 MB / 0.5457 GB, free: 3 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.002535/0.1101, allocations: 1.895 MB / 0.5475 GB, free: 1.094 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.69e-05/0.1102, allocations: 4 kB / 0.5475 GB, free: 1.09 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001243/0.1103, allocations: 7.922 kB / 0.5475 GB, free: 1.082 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 8.079e-05/0.1104, allocations: 31.83 kB / 0.5476 GB, free: 1.051 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001847/0.1122, allocations: 0.9511 MB / 0.5485 GB, free: 100 kB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001209/0.1123, allocations: 79.62 kB / 0.5486 GB, free: 20 kB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.538e-05/0.1124, allocations: 8.172 kB / 0.5486 GB, free: 12 kB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000118/0.1125, allocations: 35.91 kB / 0.5486 GB, free: 15.98 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.741e-05/0.1126, allocations: 55.75 kB / 0.5487 GB, free: 15.92 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 1.131e-05/0.1126, allocations: 3.984 kB / 0.5487 GB, free: 15.92 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002373/0.115, allocations: 1.894 MB / 0.5505 GB, free: 14.02 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 4.851e-05/0.115, allocations: 39.84 kB / 0.5506 GB, free: 13.98 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 4.161e-05/0.115, allocations: 31.73 kB / 0.5506 GB, free: 13.95 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001325/0.1164, allocations: 1.352 MB / 0.5519 GB, free: 12.59 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.1164, allocations: 3.938 kB / 0.5519 GB, free: 12.59 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.252e-06/0.1164, allocations: 0 / 0.5519 GB, free: 12.59 MB / 426.7 MB Notification: Performance of Transformations before backend: time 5.23e-06/0.1164, allocations: 0 / 0.5519 GB, free: 12.59 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.0005329/0.1169, allocations: 498.1 kB / 0.5524 GB, free: 12.07 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.692e-05/0.1169, allocations: 12.03 kB / 0.5524 GB, free: 12.05 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.202e-05/0.117, allocations: 42.73 kB / 0.5524 GB, free: 12 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.37e-05/0.117, allocations: 12.84 kB / 0.5525 GB, free: 11.99 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001481/0.1172, allocations: 156.8 kB / 0.5526 GB, free: 11.82 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.926e-06/0.1172, allocations: 0 / 0.5526 GB, free: 11.82 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.378e-06/0.1172, allocations: 4 kB / 0.5526 GB, free: 11.81 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001866/0.1174, allocations: 163.3 kB / 0.5528 GB, free: 11.64 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.672e-06/0.1174, allocations: 0 / 0.5528 GB, free: 11.64 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.017e-06/0.1174, allocations: 4 kB / 0.5528 GB, free: 11.64 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.18e-06/0.1174, allocations: 4 kB / 0.5528 GB, free: 11.63 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001068/0.1175, allocations: 129.6 kB / 0.5529 GB, free: 11.5 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001359/0.1176, allocations: 156.6 kB / 0.5531 GB, free: 11.3 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001283/0.1178, allocations: 140.2 kB / 0.5532 GB, free: 11.15 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001022/0.1179, allocations: 134.5 kB / 0.5533 GB, free: 11.01 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.043e-06/0.1179, allocations: 4 kB / 0.5533 GB, free: 11.01 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.245e-05/0.1179, allocations: 42.48 kB / 0.5534 GB, free: 10.96 MB / 426.7 MB Notification: Performance of pre-optimization done (n=24): time 1.333e-06/0.1179, allocations: 0 / 0.5534 GB, free: 10.96 MB / 426.7 MB Notification: Performance of matching and sorting (n=24): time 0.000688/0.1186, allocations: 474.7 kB / 0.5538 GB, free: 10.47 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.738e-05/0.1186, allocations: 101.1 kB / 0.5539 GB, free: 10.35 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001029/0.1187, allocations: 149.5 kB / 0.554 GB, free: 10.2 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.179e-05/0.1187, allocations: 25.7 kB / 0.5541 GB, free: 10.17 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.178e-05/0.1188, allocations: 100.6 kB / 0.5542 GB, free: 10.07 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.884e-05/0.1188, allocations: 75.28 kB / 0.5542 GB, free: 9.992 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.883e-05/0.1189, allocations: 29.7 kB / 0.5543 GB, free: 9.957 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 8.373e-05/0.119, allocations: 342.8 kB / 0.5546 GB, free: 9.613 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001021/0.1191, allocations: 121.7 kB / 0.5547 GB, free: 9.488 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.91e-05/0.1192, allocations: 125.6 kB / 0.5548 GB, free: 9.359 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002291/0.1194, allocations: 298.6 kB / 0.5551 GB, free: 9.055 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.1194, allocations: 0 / 0.5551 GB, free: 9.055 MB / 426.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002757/0.1197, allocations: 320.8 kB / 0.5554 GB, free: 8.723 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.195e-05/0.1197, allocations: 65.66 kB / 0.5555 GB, free: 8.652 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.827e-06/0.1197, allocations: 0 / 0.5555 GB, free: 8.652 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.161e-05/0.1197, allocations: 0 / 0.5555 GB, free: 8.652 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.72e-07/0.1197, allocations: 0 / 0.5555 GB, free: 8.652 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.148e-06/0.1197, allocations: 0 / 0.5555 GB, free: 8.652 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.144e-05/0.1198, allocations: 19.95 kB / 0.5555 GB, free: 8.633 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.06e-05/0.1198, allocations: 4 kB / 0.5555 GB, free: 8.629 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 0.0001203/0.1199, allocations: 199.4 kB / 0.5557 GB, free: 8.418 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.126e-05/0.12, allocations: 19.91 kB / 0.5557 GB, free: 8.398 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.436e-05/0.12, allocations: 13.2 kB / 0.5557 GB, free: 8.383 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.463e-06/0.12, allocations: 4 kB / 0.5557 GB, free: 8.379 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.217e-06/0.12, allocations: 0 / 0.5557 GB, free: 8.379 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.12, allocations: 0 / 0.5557 GB, free: 8.379 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001057/0.1201, allocations: 172.5 kB / 0.5559 GB, free: 8.168 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.01e-07/0.1201, allocations: 0 / 0.5559 GB, free: 8.168 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.9e-07/0.1201, allocations: 4 kB / 0.5559 GB, free: 8.164 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/0.1201, allocations: 4 kB / 0.5559 GB, free: 8.16 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.312e-05/0.1201, allocations: 4 kB / 0.5559 GB, free: 8.156 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.52e-07/0.1201, allocations: 0 / 0.5559 GB, free: 8.156 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.1201, allocations: 0 / 0.5559 GB, free: 8.156 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000468/0.1206, allocations: 0.5211 MB / 0.5564 GB, free: 7.605 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.591e-05/0.1206, allocations: 19.84 kB / 0.5564 GB, free: 7.586 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.946e-05/0.1206, allocations: 4 kB / 0.5564 GB, free: 7.582 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.276e-05/0.1206, allocations: 8 kB / 0.5564 GB, free: 7.574 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.833e-05/0.1207, allocations: 4 kB / 0.5565 GB, free: 7.57 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.13e-05/0.1207, allocations: 4 kB / 0.5565 GB, free: 7.566 MB / 426.7 MB Notification: Performance of sorting global known variables: time 5.965e-05/0.1207, allocations: 123.1 kB / 0.5566 GB, free: 7.445 MB / 426.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1207, allocations: 3.938 kB / 0.5566 GB, free: 7.441 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0005963/0.1213, allocations: 339.4 kB / 0.5569 GB, free: 7.109 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.001273/0.1226, allocations: 1.324 MB / 0.5582 GB, free: 5.746 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0004595/0.1231, allocations: 0.4947 MB / 0.5587 GB, free: 5.227 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.1231, allocations: 0 / 0.5587 GB, free: 5.227 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002302/0.1233, allocations: 301 kB / 0.559 GB, free: 4.914 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002045/0.1235, allocations: 15.94 kB / 0.559 GB, free: 4.898 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002631/0.1261, allocations: 2.946 MB / 0.5619 GB, free: 1.832 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.21e-05/0.1262, allocations: 118 kB / 0.562 GB, free: 1.695 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 1.248e-05/0.1262, allocations: 3.938 kB / 0.562 GB, free: 1.691 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.836e-05/0.1263, allocations: 31.52 kB / 0.562 GB, free: 1.66 MB / 426.7 MB Notification: Performance of SimCode: time 6.51e-07/0.1263, allocations: 4 kB / 0.562 GB, free: 1.656 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.469387635588646]