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.0008645/0.0008645, allocations: 108.3 kB / 20.43 MB, free: 4.602 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.001676/0.001676, allocations: 221.5 kB / 23.74 MB, free: 2.133 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.8911/0.8911, allocations: 230.6 MB / 257.5 MB, free: 9.594 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.1147/0.1147, allocations: 38.58 MB / 352.5 MB, free: 11.32 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.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.001418/0.001418, allocations: 75.89 kB / 493.3 MB, free: 4.535 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1085/0.1099, allocations: 62.48 MB / 0.5428 GB, free: 5.957 MB / 410.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.TransDatFromEqCirc): time 0.003557/0.1134, allocations: 2.23 MB / 0.5449 GB, free: 3.699 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001272/0.1147, allocations: 1.022 MB / 0.5459 GB, free: 2.676 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.274e-05/0.1148, allocations: 0 / 0.5459 GB, free: 2.676 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001427/0.1149, allocations: 15.91 kB / 0.546 GB, free: 2.66 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001044/0.115, allocations: 51.8 kB / 0.546 GB, free: 2.609 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008024/0.1158, allocations: 335 kB / 0.5463 GB, free: 2.281 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001553/0.116, allocations: 119.6 kB / 0.5464 GB, free: 2.164 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.464e-05/0.116, allocations: 7.922 kB / 0.5464 GB, free: 2.156 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001353/0.1162, allocations: 67.75 kB / 0.5465 GB, free: 2.09 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.464e-05/0.1163, allocations: 71.72 kB / 0.5466 GB, free: 2.02 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 9.918e-06/0.1163, allocations: 0 / 0.5466 GB, free: 2.02 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000645/0.1169, allocations: 0.5612 MB / 0.5471 GB, free: 1.457 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 6.431e-05/0.117, allocations: 35.83 kB / 0.5472 GB, free: 1.422 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 4.599e-05/0.117, allocations: 39.8 kB / 0.5472 GB, free: 1.383 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005507/0.1176, allocations: 0.5181 MB / 0.5477 GB, free: 0.8633 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.1176, allocations: 0 / 0.5477 GB, free: 0.8633 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.463e-06/0.1176, allocations: 0 / 0.5477 GB, free: 0.8633 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.482e-06/0.1176, allocations: 0 / 0.5477 GB, free: 0.8633 MB / 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.0004135/0.118, allocations: 407 kB / 0.5481 GB, free: 440 kB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.566e-05/0.118, allocations: 8.031 kB / 0.5481 GB, free: 432 kB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.656e-05/0.1181, allocations: 58.64 kB / 0.5482 GB, free: 364 kB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.771e-05/0.1181, allocations: 16.84 kB / 0.5482 GB, free: 348 kB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001528/0.1183, allocations: 138.3 kB / 0.5483 GB, free: 184 kB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.002e-05/0.1183, allocations: 4.375 kB / 0.5483 GB, free: 180 kB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.28e-05/0.1183, allocations: 11.94 kB / 0.5483 GB, free: 168 kB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002139/0.1185, allocations: 191.3 kB / 0.5485 GB, free: 15.96 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.464e-06/0.1185, allocations: 0 / 0.5485 GB, free: 15.96 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.788e-06/0.1186, allocations: 0 / 0.5485 GB, free: 15.96 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.302e-06/0.1186, allocations: 8 kB / 0.5485 GB, free: 15.95 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001018/0.1187, allocations: 141.6 kB / 0.5486 GB, free: 15.81 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003273/0.119, allocations: 311.6 kB / 0.5489 GB, free: 15.46 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001171/0.1191, allocations: 132.2 kB / 0.5491 GB, free: 15.32 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.937e-05/0.1192, allocations: 114.5 kB / 0.5492 GB, free: 15.2 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.416e-06/0.1192, allocations: 4 kB / 0.5492 GB, free: 15.2 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.225e-05/0.1192, allocations: 34.5 kB / 0.5492 GB, free: 15.15 MB / 426.7 MB Notification: Performance of pre-optimization done (n=20): time 1.673e-06/0.1192, allocations: 0 / 0.5492 GB, free: 15.15 MB / 426.7 MB Notification: Performance of matching and sorting (n=20): time 0.0003944/0.1196, allocations: 414.7 kB / 0.5496 GB, free: 14.72 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.571e-05/0.1197, allocations: 97.03 kB / 0.5497 GB, free: 14.61 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.98e-05/0.1197, allocations: 129.8 kB / 0.5498 GB, free: 14.47 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.294e-05/0.1198, allocations: 29.73 kB / 0.5499 GB, free: 14.44 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.18e-05/0.1198, allocations: 120.3 kB / 0.55 GB, free: 14.32 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.179e-05/0.1199, allocations: 63.42 kB / 0.55 GB, free: 14.25 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.598e-05/0.1199, allocations: 21.72 kB / 0.55 GB, free: 14.23 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 8.147e-05/0.12, allocations: 322.8 kB / 0.5504 GB, free: 13.9 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.563e-05/0.1201, allocations: 117.6 kB / 0.5505 GB, free: 13.78 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.237e-05/0.1201, allocations: 113.6 kB / 0.5506 GB, free: 13.66 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001604/0.1203, allocations: 254.7 kB / 0.5508 GB, free: 13.4 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.1203, allocations: 3.938 kB / 0.5508 GB, free: 13.4 MB / 426.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0001993/0.1205, allocations: 292.8 kB / 0.5511 GB, free: 13.09 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.48e-05/0.1205, allocations: 65.67 kB / 0.5512 GB, free: 13.02 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.1205, allocations: 0 / 0.5512 GB, free: 13.02 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.365e-05/0.1206, allocations: 0 / 0.5512 GB, free: 13.02 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.82e-07/0.1206, allocations: 0 / 0.5512 GB, free: 13.02 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.42e-06/0.1206, allocations: 0 / 0.5512 GB, free: 13.02 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.48e-05/0.1206, allocations: 19.89 kB / 0.5512 GB, free: 13 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.018e-05/0.1206, allocations: 7.984 kB / 0.5512 GB, free: 13 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.0001036/0.1207, allocations: 179.5 kB / 0.5514 GB, free: 12.8 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.99e-05/0.1207, allocations: 15.89 kB / 0.5514 GB, free: 12.79 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.444e-05/0.1208, allocations: 13.11 kB / 0.5514 GB, free: 12.78 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.315e-06/0.1208, allocations: 4 kB / 0.5514 GB, free: 12.77 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.579e-06/0.1208, allocations: 0 / 0.5514 GB, free: 12.77 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.425e-06/0.1208, allocations: 0 / 0.5514 GB, free: 12.77 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001324/0.1209, allocations: 172.7 kB / 0.5516 GB, free: 12.56 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.1209, allocations: 0 / 0.5516 GB, free: 12.56 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.643e-06/0.1209, allocations: 3.938 kB / 0.5516 GB, free: 12.56 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.1209, allocations: 0 / 0.5516 GB, free: 12.56 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.071e-05/0.1209, allocations: 8 kB / 0.5516 GB, free: 12.55 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.1209, allocations: 0 / 0.5516 GB, free: 12.55 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.1209, allocations: 3.984 kB / 0.5516 GB, free: 12.55 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003274/0.1212, allocations: 0.5018 MB / 0.5521 GB, free: 12.02 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.81e-05/0.1213, allocations: 27.81 kB / 0.5521 GB, free: 11.99 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.448e-05/0.1213, allocations: 4 kB / 0.5521 GB, free: 11.99 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.957e-05/0.1213, allocations: 4 kB / 0.5521 GB, free: 11.98 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.7e-05/0.1213, allocations: 7.984 kB / 0.5521 GB, free: 11.98 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.105e-06/0.1213, allocations: 4 kB / 0.5521 GB, free: 11.97 MB / 426.7 MB Notification: Performance of sorting global known variables: time 4.167e-05/0.1214, allocations: 106.4 kB / 0.5522 GB, free: 11.87 MB / 426.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1214, allocations: 3.938 kB / 0.5522 GB, free: 11.87 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0003898/0.1218, allocations: 143.7 kB / 0.5524 GB, free: 11.73 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.0009917/0.1228, allocations: 1.351 MB / 0.5537 GB, free: 10.33 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.000332/0.1231, allocations: 434.5 kB / 0.5541 GB, free: 9.883 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.1231, allocations: 0 / 0.5541 GB, free: 9.883 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001487/0.1233, allocations: 257 kB / 0.5543 GB, free: 9.613 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002347/0.1235, allocations: 22.8 kB / 0.5544 GB, free: 9.594 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00191/0.1254, allocations: 2.772 MB / 0.5571 GB, free: 6.711 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.08e-05/0.1255, allocations: 121.2 kB / 0.5572 GB, free: 6.57 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 2.247e-05/0.1255, allocations: 0 / 0.5572 GB, free: 6.57 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.499e-05/0.1255, allocations: 35.42 kB / 0.5572 GB, free: 6.535 MB / 426.7 MB Notification: Performance of SimCode: time 1.052e-06/0.1255, allocations: 0 / 0.5572 GB, free: 6.535 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.1923369728028774]