Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.TransDatFromEqCirc.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.001392/0.001392, allocations: 117.4 kB / 20.44 MB, free: 4.609 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.001568/0.001568, allocations: 217.5 kB / 23.74 MB, free: 2.141 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.044/1.044, allocations: 230.6 MB / 257.5 MB, free: 9.57 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.1271/0.1271, allocations: 38.59 MB / 352.5 MB, free: 11.45 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.TransDatFromEqCirc,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Precalculation_TransDatFromEqCirc",fmuType="me_cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Precalculation.TransDatFromEqCirc,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Precalculation_TransDatFromEqCirc",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.001506/0.001506, allocations: 75.88 kB / 494.1 MB, free: 3.797 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.104/0.1055, allocations: 62.49 MB / 0.5436 GB, free: 5.191 MB / 410.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.TransDatFromEqCirc): time 0.002613/0.1082, allocations: 2.226 MB / 0.5457 GB, free: 2.938 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001227/0.1094, allocations: 1.022 MB / 0.5467 GB, free: 1.914 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.313e-05/0.1094, allocations: 4 kB / 0.5467 GB, free: 1.91 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001241/0.1095, allocations: 11.91 kB / 0.5467 GB, free: 1.898 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 9.194e-05/0.1096, allocations: 47.8 kB / 0.5468 GB, free: 1.852 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007458/0.1104, allocations: 343 kB / 0.5471 GB, free: 1.516 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001278/0.1105, allocations: 115.6 kB / 0.5472 GB, free: 1.402 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.148e-05/0.1106, allocations: 4 kB / 0.5472 GB, free: 1.398 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001156/0.1107, allocations: 59.75 kB / 0.5473 GB, free: 1.34 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.627e-05/0.1108, allocations: 79.7 kB / 0.5474 GB, free: 1.262 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 9.538e-06/0.1108, allocations: 3.938 kB / 0.5474 GB, free: 1.258 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005823/0.1113, allocations: 0.5534 MB / 0.5479 GB, free: 0.7031 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.287e-05/0.1114, allocations: 43.83 kB / 0.5479 GB, free: 0.6602 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.667e-05/0.1114, allocations: 35.8 kB / 0.548 GB, free: 0.625 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004483/0.1119, allocations: 0.5259 MB / 0.5485 GB, free: 100 kB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.1119, allocations: 0 / 0.5485 GB, free: 100 kB / 410.7 MB Notification: Performance of FrontEnd: time 1.803e-06/0.1119, allocations: 0 / 0.5485 GB, free: 100 kB / 410.7 MB Notification: Performance of Transformations before backend: time 5.951e-06/0.1119, allocations: 0 / 0.5485 GB, free: 100 kB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0003679/0.1123, allocations: 399.2 kB / 0.5489 GB, free: 15.67 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.153e-05/0.1123, allocations: 8.031 kB / 0.5489 GB, free: 15.66 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.946e-05/0.1124, allocations: 58.62 kB / 0.5489 GB, free: 15.59 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.246e-05/0.1124, allocations: 20.83 kB / 0.549 GB, free: 15.57 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001386/0.1125, allocations: 142.3 kB / 0.5491 GB, free: 15.41 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.037e-05/0.1125, allocations: 8.375 kB / 0.5491 GB, free: 15.4 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.249e-05/0.1126, allocations: 11.94 kB / 0.5491 GB, free: 15.39 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001904/0.1128, allocations: 187.3 kB / 0.5493 GB, free: 15.2 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.464e-06/0.1128, allocations: 0 / 0.5493 GB, free: 15.2 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.849e-06/0.1128, allocations: 4 kB / 0.5493 GB, free: 15.19 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.863e-06/0.1128, allocations: 4 kB / 0.5493 GB, free: 15.19 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001049/0.1129, allocations: 137.6 kB / 0.5494 GB, free: 15.05 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002892/0.1132, allocations: 307.6 kB / 0.5497 GB, free: 14.7 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001168/0.1133, allocations: 136.2 kB / 0.5499 GB, free: 14.55 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.601e-05/0.1134, allocations: 114.5 kB / 0.55 GB, free: 14.43 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.402e-06/0.1134, allocations: 0 / 0.55 GB, free: 14.43 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.183e-05/0.1134, allocations: 38.5 kB / 0.55 GB, free: 14.39 MB / 426.7 MB Notification: Performance of pre-optimization done (n=20): time 9.01e-07/0.1134, allocations: 0 / 0.55 GB, free: 14.39 MB / 426.7 MB Notification: Performance of matching and sorting (n=20): time 0.0003587/0.1138, allocations: 414.7 kB / 0.5504 GB, free: 13.96 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.885e-05/0.1138, allocations: 93.11 kB / 0.5505 GB, free: 13.85 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.085e-05/0.1139, allocations: 137.8 kB / 0.5506 GB, free: 13.7 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.026e-05/0.1139, allocations: 29.7 kB / 0.5506 GB, free: 13.67 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.128e-05/0.1139, allocations: 108.4 kB / 0.5507 GB, free: 13.56 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.587e-05/0.1139, allocations: 67.42 kB / 0.5508 GB, free: 13.49 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.193e-05/0.114, allocations: 29.7 kB / 0.5508 GB, free: 13.46 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 7.005e-05/0.114, allocations: 322.8 kB / 0.5511 GB, free: 13.13 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.762e-05/0.1141, allocations: 109.7 kB / 0.5512 GB, free: 13.02 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.648e-05/0.1142, allocations: 113.6 kB / 0.5514 GB, free: 12.9 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001643/0.1144, allocations: 258.7 kB / 0.5516 GB, free: 12.64 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.1144, allocations: 0 / 0.5516 GB, free: 12.64 MB / 426.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0001976/0.1146, allocations: 288.8 kB / 0.5519 GB, free: 12.34 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.056e-05/0.1146, allocations: 57.66 kB / 0.5519 GB, free: 12.27 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.517e-06/0.1146, allocations: 3.938 kB / 0.5519 GB, free: 12.27 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.203e-05/0.1146, allocations: 7.938 kB / 0.5519 GB, free: 12.26 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.132e-06/0.1146, allocations: 3.938 kB / 0.5519 GB, free: 12.26 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.019e-06/0.1146, allocations: 0 / 0.5519 GB, free: 12.26 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.789e-05/0.1147, allocations: 11.89 kB / 0.552 GB, free: 12.25 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.757e-05/0.1147, allocations: 8.062 kB / 0.552 GB, free: 12.24 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 8.963e-05/0.1148, allocations: 187.5 kB / 0.5521 GB, free: 12.04 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.966e-05/0.1148, allocations: 19.89 kB / 0.5522 GB, free: 12.02 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.115e-05/0.1148, allocations: 9.125 kB / 0.5522 GB, free: 12.01 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.252e-06/0.1148, allocations: 0 / 0.5522 GB, free: 12.01 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.1148, allocations: 4 kB / 0.5522 GB, free: 12.01 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.494e-06/0.1148, allocations: 0 / 0.5522 GB, free: 12.01 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001175/0.1149, allocations: 172.6 kB / 0.5523 GB, free: 11.8 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.91e-07/0.1149, allocations: 0 / 0.5523 GB, free: 11.8 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.034e-06/0.1149, allocations: 7.938 kB / 0.5524 GB, free: 11.79 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.32e-07/0.1149, allocations: 4 kB / 0.5524 GB, free: 11.79 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.518e-06/0.1149, allocations: 4 kB / 0.5524 GB, free: 11.78 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.32e-07/0.1149, allocations: 0 / 0.5524 GB, free: 11.78 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.21e-07/0.1149, allocations: 0 / 0.5524 GB, free: 11.78 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003353/0.1153, allocations: 0.5096 MB / 0.5529 GB, free: 11.25 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.014e-05/0.1153, allocations: 15.84 kB / 0.5529 GB, free: 11.23 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.232e-05/0.1153, allocations: 4 kB / 0.5529 GB, free: 11.23 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.711e-05/0.1153, allocations: 4 kB / 0.5529 GB, free: 11.22 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.516e-05/0.1154, allocations: 8 kB / 0.5529 GB, free: 11.21 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.887e-06/0.1154, allocations: 8 kB / 0.5529 GB, free: 11.21 MB / 426.7 MB Notification: Performance of sorting global known variables: time 4.07e-05/0.1154, allocations: 102.4 kB / 0.553 GB, free: 11.11 MB / 426.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1154, allocations: 4.031 kB / 0.553 GB, free: 11.11 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0003045/0.1157, allocations: 143.7 kB / 0.5531 GB, free: 10.96 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.00103/0.1167, allocations: 1.357 MB / 0.5545 GB, free: 9.566 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0003237/0.1171, allocations: 434.5 kB / 0.5549 GB, free: 9.117 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.1171, allocations: 4 kB / 0.5549 GB, free: 9.113 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001543/0.1172, allocations: 253 kB / 0.5551 GB, free: 8.848 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002138/0.1174, allocations: 31.5 kB / 0.5551 GB, free: 8.82 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001795/0.1192, allocations: 2.754 MB / 0.5578 GB, free: 5.957 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.149e-05/0.1193, allocations: 117 kB / 0.5579 GB, free: 5.82 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 1.861e-05/0.1193, allocations: 4 kB / 0.558 GB, free: 5.816 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.7e-05/0.1194, allocations: 35.42 kB / 0.558 GB, free: 5.781 MB / 426.7 MB Notification: Performance of SimCode: time 8.01e-07/0.1194, allocations: 3.938 kB / 0.558 GB, free: 5.777 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.41882336512208]