Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.EqCircFromTransDat.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.0009969/0.0009969, allocations: 106.3 kB / 20.43 MB, free: 4.562 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.001316/0.001316, allocations: 229.5 kB / 23.74 MB, free: 2.121 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.9188/0.9188, allocations: 230.6 MB / 257.5 MB, free: 9.602 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.1338/0.1338, allocations: 38.57 MB / 352.5 MB, free: 11.31 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.EqCircFromTransDat,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Precalculation_EqCircFromTransDat",fmuType="me_cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Precalculation.EqCircFromTransDat,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Precalculation_EqCircFromTransDat",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.001335/0.001335, allocations: 71.91 kB / 493.3 MB, free: 4.527 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09031/0.09165, allocations: 62.48 MB / 0.5428 GB, free: 5.941 MB / 410.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.EqCircFromTransDat): time 0.00236/0.09401, allocations: 2.229 MB / 0.5449 GB, free: 3.688 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001803/0.09581, allocations: 1.906 MB / 0.5468 GB, free: 1.773 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.068e-05/0.09585, allocations: 0 / 0.5468 GB, free: 1.773 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001198/0.09597, allocations: 19.84 kB / 0.5468 GB, free: 1.754 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 7.88e-05/0.09605, allocations: 39.81 kB / 0.5469 GB, free: 1.715 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001339/0.09739, allocations: 0.9395 MB / 0.5478 GB, free: 0.7773 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001046/0.09749, allocations: 103.5 kB / 0.5479 GB, free: 0.6758 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.622e-05/0.09753, allocations: 3.984 kB / 0.5479 GB, free: 0.6719 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.748e-05/0.09763, allocations: 47.83 kB / 0.5479 GB, free: 0.625 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.884e-05/0.0977, allocations: 55.8 kB / 0.548 GB, free: 0.5703 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 9.608e-06/0.09771, allocations: 4 kB / 0.548 GB, free: 0.5664 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001694/0.0994, allocations: 1.851 MB / 0.5498 GB, free: 14.71 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 4.764e-05/0.09945, allocations: 31.84 kB / 0.5498 GB, free: 14.68 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 3.828e-05/0.09949, allocations: 35.8 kB / 0.5499 GB, free: 14.64 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009814/0.1005, allocations: 1.321 MB / 0.5511 GB, free: 13.32 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.1005, allocations: 4 kB / 0.5511 GB, free: 13.32 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.402e-06/0.1005, allocations: 0 / 0.5511 GB, free: 13.32 MB / 426.7 MB Notification: Performance of Transformations before backend: time 5.229e-06/0.1005, allocations: 4 kB / 0.5511 GB, free: 13.31 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.000426/0.1009, allocations: 490.1 kB / 0.5516 GB, free: 12.8 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.719e-05/0.1009, allocations: 12.03 kB / 0.5516 GB, free: 12.79 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.711e-05/0.101, allocations: 66.56 kB / 0.5517 GB, free: 12.71 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.163e-05/0.101, allocations: 16.8 kB / 0.5517 GB, free: 12.7 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001385/0.1012, allocations: 146.3 kB / 0.5518 GB, free: 12.53 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.071e-05/0.1012, allocations: 7.938 kB / 0.5519 GB, free: 12.52 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.089e-05/0.1012, allocations: 11.94 kB / 0.5519 GB, free: 12.51 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001837/0.1014, allocations: 171.9 kB / 0.552 GB, free: 12.33 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.692e-06/0.1014, allocations: 4 kB / 0.552 GB, free: 12.32 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.896e-06/0.1014, allocations: 0 / 0.552 GB, free: 12.32 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.177e-06/0.1014, allocations: 4 kB / 0.552 GB, free: 12.32 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.312e-05/0.1015, allocations: 117.9 kB / 0.5521 GB, free: 12.2 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003111/0.1018, allocations: 316.1 kB / 0.5525 GB, free: 11.85 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.268e-05/0.1019, allocations: 108.1 kB / 0.5526 GB, free: 11.73 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.086e-05/0.102, allocations: 90.56 kB / 0.5526 GB, free: 11.63 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.642e-06/0.102, allocations: 0 / 0.5526 GB, free: 11.63 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.118e-05/0.102, allocations: 38.55 kB / 0.5527 GB, free: 11.58 MB / 426.7 MB Notification: Performance of pre-optimization done (n=14): time 8.11e-07/0.102, allocations: 0 / 0.5527 GB, free: 11.58 MB / 426.7 MB Notification: Performance of matching and sorting (n=14): time 0.0002958/0.1023, allocations: 326.7 kB / 0.553 GB, free: 11.24 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.498e-05/0.1023, allocations: 89.09 kB / 0.5531 GB, free: 11.13 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.658e-05/0.1024, allocations: 154.3 kB / 0.5532 GB, free: 10.97 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 9.087e-06/0.1024, allocations: 25.7 kB / 0.5532 GB, free: 10.94 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.604e-05/0.1025, allocations: 119.8 kB / 0.5534 GB, free: 10.82 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.93e-05/0.1025, allocations: 51.5 kB / 0.5534 GB, free: 10.77 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.166e-05/0.1025, allocations: 29.7 kB / 0.5534 GB, free: 10.73 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 7.131e-05/0.1026, allocations: 322.8 kB / 0.5537 GB, free: 10.41 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.464e-05/0.1026, allocations: 85.66 kB / 0.5538 GB, free: 10.32 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.449e-05/0.1027, allocations: 81.67 kB / 0.5539 GB, free: 10.23 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000125/0.1028, allocations: 192.2 kB / 0.5541 GB, free: 10.03 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.1028, allocations: 7.922 kB / 0.5541 GB, free: 10.02 MB / 426.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001682/0.103, allocations: 236.9 kB / 0.5543 GB, free: 9.773 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.741e-05/0.103, allocations: 49.69 kB / 0.5544 GB, free: 9.719 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.578e-06/0.103, allocations: 4 kB / 0.5544 GB, free: 9.715 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.065e-05/0.1031, allocations: 0 / 0.5544 GB, free: 9.715 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.553e-06/0.1031, allocations: 4 kB / 0.5544 GB, free: 9.711 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.829e-06/0.1031, allocations: 3.938 kB / 0.5544 GB, free: 9.707 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.927e-05/0.1031, allocations: 7.953 kB / 0.5544 GB, free: 9.699 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.944e-05/0.1031, allocations: 11.97 kB / 0.5544 GB, free: 9.688 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.474e-05/0.1032, allocations: 175.4 kB / 0.5546 GB, free: 9.5 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.854e-05/0.1032, allocations: 11.95 kB / 0.5546 GB, free: 9.488 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.404e-05/0.1032, allocations: 12.78 kB / 0.5546 GB, free: 9.473 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/0.1032, allocations: 4 kB / 0.5546 GB, free: 9.469 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.1032, allocations: 0 / 0.5546 GB, free: 9.469 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.034e-06/0.1032, allocations: 0 / 0.5546 GB, free: 9.469 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001221/0.1034, allocations: 180.5 kB / 0.5548 GB, free: 9.25 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.1034, allocations: 0 / 0.5548 GB, free: 9.25 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.162e-06/0.1034, allocations: 0 / 0.5548 GB, free: 9.25 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.1034, allocations: 4 kB / 0.5548 GB, free: 9.246 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.075e-06/0.1034, allocations: 0 / 0.5548 GB, free: 9.246 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.82e-07/0.1034, allocations: 4 kB / 0.5548 GB, free: 9.242 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.1034, allocations: 0 / 0.5548 GB, free: 9.242 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002575/0.1036, allocations: 418.5 kB / 0.5552 GB, free: 8.809 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.007e-05/0.1036, allocations: 11.98 kB / 0.5552 GB, free: 8.797 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.367e-05/0.1037, allocations: 4 kB / 0.5552 GB, free: 8.793 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.767e-05/0.1037, allocations: 0 / 0.5552 GB, free: 8.793 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.421e-05/0.1037, allocations: 7.938 kB / 0.5552 GB, free: 8.785 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.368e-06/0.1037, allocations: 7.984 kB / 0.5552 GB, free: 8.777 MB / 426.7 MB Notification: Performance of sorting global known variables: time 4.807e-05/0.1038, allocations: 121.9 kB / 0.5553 GB, free: 8.66 MB / 426.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1038, allocations: 0 / 0.5553 GB, free: 8.66 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0005308/0.1043, allocations: 335.3 kB / 0.5556 GB, free: 8.332 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.001069/0.1054, allocations: 1.376 MB / 0.557 GB, free: 6.914 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002508/0.1056, allocations: 322.6 kB / 0.5573 GB, free: 6.574 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.1056, allocations: 4 kB / 0.5573 GB, free: 6.57 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001052/0.1057, allocations: 193 kB / 0.5575 GB, free: 6.363 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000211/0.1059, allocations: 19.98 kB / 0.5575 GB, free: 6.344 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001677/0.1076, allocations: 2.55 MB / 0.56 GB, free: 3.68 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.541e-05/0.1077, allocations: 121 kB / 0.5601 GB, free: 3.543 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 2.021e-05/0.1077, allocations: 0 / 0.5601 GB, free: 3.543 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.404e-05/0.1078, allocations: 39.42 kB / 0.5601 GB, free: 3.504 MB / 426.7 MB Notification: Performance of SimCode: time 6.61e-07/0.1078, allocations: 0 / 0.5601 GB, free: 3.504 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.17743081972003]