Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat0.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.001307/0.001307, allocations: 123.4 kB / 17.79 MB, free: 5.285 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.001502/0.001502, allocations: 208.2 kB / 20.75 MB, free: 2.336 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.496/1.496, allocations: 230.6 MB / 254.1 MB, free: 15.07 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1833/0.1833, allocations: 38.5 MB / 348.7 MB, free: 2.594 MB / 270.1 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/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.Z_matrixTrDat0,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixTrDat0",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat0,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixTrDat0",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.002028/0.002028, allocations: 67.91 kB / 487.1 MB, free: 22.07 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1193/0.1214, allocations: 62.42 MB / 0.5367 GB, free: 7.547 MB / 398.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat0): time 0.003589/0.1249, allocations: 2.127 MB / 0.5388 GB, free: 5.406 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003628/0.1286, allocations: 2.096 MB / 0.5408 GB, free: 3.301 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.807e-05/0.1286, allocations: 0 / 0.5408 GB, free: 3.301 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002024/0.1288, allocations: 11.92 kB / 0.5408 GB, free: 3.289 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 9.562e-05/0.1289, allocations: 23.83 kB / 0.5408 GB, free: 3.266 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002391/0.1313, allocations: 0.8496 MB / 0.5417 GB, free: 2.418 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001451/0.1315, allocations: 75.69 kB / 0.5417 GB, free: 2.344 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.83e-05/0.1315, allocations: 8.172 kB / 0.5417 GB, free: 2.336 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001305/0.1317, allocations: 35.84 kB / 0.5418 GB, free: 2.301 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.786e-05/0.1317, allocations: 51.81 kB / 0.5418 GB, free: 2.25 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.016e-05/0.1318, allocations: 0 / 0.5418 GB, free: 2.25 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002562/0.1343, allocations: 1.614 MB / 0.5434 GB, free: 0.6328 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.872e-05/0.1344, allocations: 15.92 kB / 0.5434 GB, free: 0.6172 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.258e-05/0.1344, allocations: 15.88 kB / 0.5434 GB, free: 0.6016 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001819/0.1362, allocations: 1.325 MB / 0.5447 GB, free: 15.27 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.738e-06/0.1362, allocations: 0 / 0.5447 GB, free: 15.27 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.1362, allocations: 0 / 0.5447 GB, free: 15.27 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.531e-06/0.1362, allocations: 4 kB / 0.5447 GB, free: 15.27 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0007697/0.137, allocations: 0.5152 MB / 0.5452 GB, free: 14.7 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.591e-05/0.137, allocations: 12.03 kB / 0.5452 GB, free: 14.69 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.445e-05/0.1371, allocations: 34.75 kB / 0.5453 GB, free: 14.64 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.582e-05/0.1372, allocations: 8.891 kB / 0.5453 GB, free: 14.64 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000205/0.1374, allocations: 191.2 kB / 0.5455 GB, free: 14.41 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.075e-05/0.1374, allocations: 0 / 0.5455 GB, free: 14.41 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.827e-06/0.1374, allocations: 0 / 0.5455 GB, free: 14.41 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001487/0.1375, allocations: 61.67 kB / 0.5455 GB, free: 14.34 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.498e-06/0.1375, allocations: 0 / 0.5455 GB, free: 14.34 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.117e-06/0.1376, allocations: 0 / 0.5455 GB, free: 14.34 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.418e-06/0.1376, allocations: 0 / 0.5455 GB, free: 14.34 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.081e-05/0.1376, allocations: 23.98 kB / 0.5456 GB, free: 14.32 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001736/0.1378, allocations: 161.6 kB / 0.5457 GB, free: 14.11 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.993e-05/0.1379, allocations: 42.5 kB / 0.5457 GB, free: 14.06 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.977e-05/0.1379, allocations: 28.88 kB / 0.5458 GB, free: 14.03 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.018e-05/0.1379, allocations: 4 kB / 0.5458 GB, free: 14.03 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.05e-05/0.138, allocations: 34.56 kB / 0.5458 GB, free: 13.98 MB / 414.1 MB Notification: Performance of pre-optimization done (n=8): time 9.32e-07/0.138, allocations: 0 / 0.5458 GB, free: 13.98 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0003149/0.1383, allocations: 151.2 kB / 0.546 GB, free: 13.82 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.989e-05/0.1383, allocations: 89.09 kB / 0.546 GB, free: 13.72 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001124/0.1385, allocations: 117.8 kB / 0.5462 GB, free: 13.59 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.263e-05/0.1385, allocations: 25.7 kB / 0.5462 GB, free: 13.56 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.554e-05/0.1385, allocations: 96.12 kB / 0.5463 GB, free: 13.46 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.104e-05/0.1386, allocations: 27.78 kB / 0.5463 GB, free: 13.44 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.731e-05/0.1386, allocations: 21.7 kB / 0.5463 GB, free: 13.41 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001616/0.1388, allocations: 326.8 kB / 0.5466 GB, free: 13.08 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.003e-05/0.1388, allocations: 16 kB / 0.5466 GB, free: 13.07 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.931e-05/0.1389, allocations: 23.98 kB / 0.5467 GB, free: 13.04 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001514/0.139, allocations: 132.4 kB / 0.5468 GB, free: 12.9 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.139, allocations: 0 / 0.5468 GB, free: 12.9 MB / 414.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.00018/0.1392, allocations: 131.6 kB / 0.5469 GB, free: 12.76 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.922e-05/0.1393, allocations: 45.62 kB / 0.547 GB, free: 12.71 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.089e-06/0.1393, allocations: 4.062 kB / 0.547 GB, free: 12.7 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.542e-05/0.1393, allocations: 0 / 0.547 GB, free: 12.7 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.089e-06/0.1393, allocations: 7.984 kB / 0.547 GB, free: 12.7 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.691e-06/0.1393, allocations: 0 / 0.547 GB, free: 12.7 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.493e-05/0.1393, allocations: 4 kB / 0.547 GB, free: 12.69 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.226e-05/0.1394, allocations: 3.938 kB / 0.547 GB, free: 12.69 MB / 414.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.0001442/0.1395, allocations: 159.5 kB / 0.5471 GB, free: 12.52 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.992e-05/0.1395, allocations: 7.953 kB / 0.5471 GB, free: 12.51 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.093e-05/0.1395, allocations: 12.36 kB / 0.5472 GB, free: 12.5 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.495e-06/0.1395, allocations: 4 kB / 0.5472 GB, free: 12.49 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.1396, allocations: 0 / 0.5472 GB, free: 12.49 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.006e-06/0.1396, allocations: 0 / 0.5472 GB, free: 12.49 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001704/0.1397, allocations: 181.5 kB / 0.5473 GB, free: 12.27 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.1397, allocations: 0 / 0.5473 GB, free: 12.27 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.61e-07/0.1397, allocations: 0 / 0.5473 GB, free: 12.27 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.767e-06/0.1397, allocations: 3.984 kB / 0.5473 GB, free: 12.26 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.572e-05/0.1397, allocations: 7.984 kB / 0.5473 GB, free: 12.25 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.1397, allocations: 0 / 0.5473 GB, free: 12.25 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.1397, allocations: 0 / 0.5473 GB, free: 12.25 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000305/0.1401, allocations: 222.6 kB / 0.5476 GB, free: 12.01 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.531e-05/0.1401, allocations: 81.06 kB / 0.5476 GB, free: 11.91 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.29e-05/0.1401, allocations: 7.984 kB / 0.5476 GB, free: 11.91 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.518e-05/0.1402, allocations: 0 / 0.5476 GB, free: 11.91 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.592e-05/0.1402, allocations: 4 kB / 0.5476 GB, free: 11.9 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.045e-05/0.1402, allocations: 4 kB / 0.5476 GB, free: 11.9 MB / 414.1 MB Notification: Performance of sorting global known variables: time 7.518e-05/0.1403, allocations: 99.2 kB / 0.5477 GB, free: 11.8 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1403, allocations: 0 / 0.5477 GB, free: 11.8 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001025/0.1413, allocations: 315.4 kB / 0.548 GB, free: 11.49 MB / 414.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.001677/0.143, allocations: 1.023 MB / 0.549 GB, free: 10.44 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002651/0.1432, allocations: 175.3 kB / 0.5492 GB, free: 10.25 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.1432, allocations: 0 / 0.5492 GB, free: 10.25 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001262/0.1434, allocations: 127.3 kB / 0.5493 GB, free: 10.12 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002512/0.1436, allocations: 4 kB / 0.5493 GB, free: 10.11 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002042/0.1457, allocations: 1.702 MB / 0.551 GB, free: 8.324 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003213/0.146, allocations: 0.6924 MB / 0.5517 GB, free: 7.605 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 1.468e-05/0.146, allocations: 3.984 kB / 0.5517 GB, free: 7.602 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.635e-05/0.146, allocations: 23.47 kB / 0.5517 GB, free: 7.578 MB / 414.1 MB Notification: Performance of SimCode: time 3.7e-07/0.146, allocations: 0 / 0.5517 GB, free: 7.578 MB / 414.1 MB [CodegenCFunctions.tpl:5632:13-5632: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.8024001590092666] Failed to read output from testmodel.py, exit status != 0: 0.1751313300046604 0.190585535 0.051158594 Calling exit ...