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.001748/0.001748, allocations: 111.1 kB / 20.44 MB, free: 1.184 MB / 14.72 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.002231/0.002231, allocations: 208.1 kB / 23.73 MB, free: 4.387 MB / 14.72 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.486/1.486, allocations: 230.6 MB / 257.5 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] 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.1948/0.1948, allocations: 38.57 MB / 352.5 MB, free: 12.29 MB / 286.1 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.0.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: "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Precalculation.EqCircFromTransDat,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Precalculation_EqCircFromTransDat",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Precalculation.EqCircFromTransDat,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Precalculation_EqCircFromTransDat",fmuType="me",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.003011/0.003011, allocations: 74.38 kB / 492.5 MB, free: 4.66 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4293/0.4323, allocations: 62.46 MB / 0.542 GB, free: 240 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.EqCircFromTransDat): time 0.003786/0.4361, allocations: 2.23 MB / 0.5441 GB, free: 14.48 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003286/0.4394, allocations: 1.907 MB / 0.546 GB, free: 13.07 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.88e-05/0.4395, allocations: 1.188 kB / 0.546 GB, free: 13.07 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001505/0.4396, allocations: 13.05 kB / 0.546 GB, free: 13.06 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000129/0.4397, allocations: 37.08 kB / 0.546 GB, free: 13.03 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002735/0.4425, allocations: 0.9468 MB / 0.547 GB, free: 12.43 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001867/0.4427, allocations: 99.22 kB / 0.5471 GB, free: 12.38 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.124e-05/0.4427, allocations: 10.17 kB / 0.5471 GB, free: 12.37 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001619/0.4429, allocations: 54.25 kB / 0.5471 GB, free: 12.34 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000107/0.443, allocations: 50.38 kB / 0.5472 GB, free: 12.31 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.607e-05/0.443, allocations: 2.156 kB / 0.5472 GB, free: 12.31 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003249/0.4462, allocations: 1.855 MB / 0.549 GB, free: 11.09 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.388e-05/0.4463, allocations: 28.03 kB / 0.549 GB, free: 11.08 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.654e-05/0.4464, allocations: 34.33 kB / 0.549 GB, free: 11.06 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002004/0.4484, allocations: 1.319 MB / 0.5503 GB, free: 10.28 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.4484, allocations: 0 / 0.5503 GB, free: 10.28 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.064e-06/0.4484, allocations: 0.75 kB / 0.5503 GB, free: 10.28 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.001e-06/0.4484, allocations: 0 / 0.5503 GB, free: 10.28 MB / 398.1 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.0008087/0.4492, allocations: 0.4885 MB / 0.5508 GB, free: 9.828 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.263e-05/0.4492, allocations: 14.02 kB / 0.5508 GB, free: 9.824 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.335e-05/0.4493, allocations: 57.55 kB / 0.5509 GB, free: 9.766 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.212e-05/0.4494, allocations: 20.7 kB / 0.5509 GB, free: 9.754 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002385/0.4496, allocations: 150.1 kB / 0.551 GB, free: 9.602 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.515e-05/0.4496, allocations: 7.188 kB / 0.551 GB, free: 9.598 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.808e-05/0.4497, allocations: 8.375 kB / 0.5511 GB, free: 9.594 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003078/0.45, allocations: 172.4 kB / 0.5512 GB, free: 9.48 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.179e-05/0.45, allocations: 1.062 kB / 0.5512 GB, free: 9.48 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.013e-05/0.45, allocations: 5.094 kB / 0.5512 GB, free: 9.477 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.682e-06/0.45, allocations: 1.094 kB / 0.5512 GB, free: 9.477 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001834/0.4502, allocations: 117.2 kB / 0.5513 GB, free: 9.414 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004985/0.4507, allocations: 324.5 kB / 0.5516 GB, free: 9.109 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000158/0.4508, allocations: 117.3 kB / 0.5518 GB, free: 9.02 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001042/0.4509, allocations: 90.12 kB / 0.5518 GB, free: 8.961 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.564e-06/0.451, allocations: 3.938 kB / 0.5518 GB, free: 8.957 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.469e-05/0.451, allocations: 36.98 kB / 0.5519 GB, free: 8.914 MB / 398.1 MB Notification: Performance of pre-optimization done (n=14): time 1.252e-06/0.451, allocations: 3.938 kB / 0.5519 GB, free: 8.91 MB / 398.1 MB Notification: Performance of matching and sorting (n=14): time 0.0004893/0.4515, allocations: 333.2 kB / 0.5522 GB, free: 8.707 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.485e-05/0.4516, allocations: 89.94 kB / 0.5523 GB, free: 8.609 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001555/0.4517, allocations: 147.4 kB / 0.5524 GB, free: 8.488 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.802e-05/0.4517, allocations: 25.7 kB / 0.5525 GB, free: 8.457 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.973e-05/0.4518, allocations: 123.4 kB / 0.5526 GB, free: 8.34 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.791e-05/0.4519, allocations: 48.39 kB / 0.5526 GB, free: 8.297 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.92e-05/0.4519, allocations: 27.05 kB / 0.5526 GB, free: 8.273 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002043/0.4521, allocations: 322.3 kB / 0.553 GB, free: 7.953 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001059/0.4522, allocations: 90.72 kB / 0.553 GB, free: 7.898 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001115/0.4524, allocations: 80.8 kB / 0.5531 GB, free: 7.852 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002397/0.4526, allocations: 200.3 kB / 0.5533 GB, free: 7.727 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.837e-06/0.4526, allocations: 5.297 kB / 0.5533 GB, free: 7.723 MB / 398.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000305/0.4529, allocations: 244.1 kB / 0.5535 GB, free: 7.562 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.248e-05/0.453, allocations: 45.12 kB / 0.5536 GB, free: 7.527 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.022e-06/0.453, allocations: 0 / 0.5536 GB, free: 7.527 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.75e-05/0.453, allocations: 5.438 kB / 0.5536 GB, free: 7.523 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.12e-07/0.453, allocations: 0 / 0.5536 GB, free: 7.523 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.544e-06/0.453, allocations: 3.938 kB / 0.5536 GB, free: 7.52 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.064e-05/0.4531, allocations: 11.67 kB / 0.5536 GB, free: 7.512 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.761e-05/0.4531, allocations: 12.61 kB / 0.5536 GB, free: 7.504 MB / 398.1 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.0002292/0.4533, allocations: 173.3 kB / 0.5538 GB, free: 7.344 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.826e-05/0.4534, allocations: 10.7 kB / 0.5538 GB, free: 7.34 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.316e-05/0.4534, allocations: 12.22 kB / 0.5538 GB, free: 7.328 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.914e-06/0.4534, allocations: 1.375 kB / 0.5538 GB, free: 7.328 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.011e-06/0.4534, allocations: 0 / 0.5538 GB, free: 7.328 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.4534, allocations: 4 kB / 0.5538 GB, free: 7.324 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002238/0.4536, allocations: 179.7 kB / 0.554 GB, free: 7.133 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.4536, allocations: 1.094 kB / 0.554 GB, free: 7.133 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.61e-07/0.4536, allocations: 0 / 0.554 GB, free: 7.133 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.213e-06/0.4536, allocations: 0 / 0.554 GB, free: 7.133 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.453e-05/0.4536, allocations: 4.781 kB / 0.554 GB, free: 7.133 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.4536, allocations: 0 / 0.554 GB, free: 7.133 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.4536, allocations: 0 / 0.554 GB, free: 7.133 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004861/0.4541, allocations: 416.9 kB / 0.5544 GB, free: 6.844 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.226e-05/0.4541, allocations: 11.14 kB / 0.5544 GB, free: 6.836 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.35e-05/0.4542, allocations: 7.031 kB / 0.5544 GB, free: 6.832 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.631e-05/0.4542, allocations: 6.281 kB / 0.5544 GB, free: 6.828 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.185e-05/0.4543, allocations: 6.25 kB / 0.5544 GB, free: 6.824 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.41e-05/0.4543, allocations: 9.156 kB / 0.5544 GB, free: 6.82 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001014/0.4544, allocations: 122.6 kB / 0.5545 GB, free: 6.723 MB / 398.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4544, allocations: 0.7812 kB / 0.5545 GB, free: 6.723 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001113/0.4555, allocations: 336.3 kB / 0.5549 GB, free: 6.625 MB / 398.1 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.001874/0.4574, allocations: 1.384 MB / 0.5562 GB, free: 5.203 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0004196/0.4578, allocations: 326.6 kB / 0.5565 GB, free: 4.859 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.4578, allocations: 0 / 0.5565 GB, free: 4.859 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000214/0.458, allocations: 197 kB / 0.5567 GB, free: 4.648 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003901/0.4584, allocations: 28.97 kB / 0.5567 GB, free: 4.625 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002902/0.4613, allocations: 2.558 MB / 0.5592 GB, free: 1.953 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001343/0.4614, allocations: 125.2 kB / 0.5594 GB, free: 1.812 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 1.72e-05/0.4614, allocations: 0 / 0.5594 GB, free: 1.812 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.644e-05/0.4615, allocations: 39.42 kB / 0.5594 GB, free: 1.773 MB / 398.1 MB Notification: Performance of SimCode: time 2.9e-07/0.4615, allocations: 0 / 0.5594 GB, free: 1.773 MB / 398.1 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: 3.201238757930696] Failed to read output from testmodel.py, exit status != 0: 0.498494666069746 0.513011189 0.061494998 Calling exit ...