Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001917/0.001917, allocations: 119.9 kB / 17.79 MB, free: 5.137 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002251/0.002251, allocations: 185.2 kB / 20.73 MB, free: 2.207 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.52/1.52, allocations: 225.6 MB / 249.1 MB, free: 3.582 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1931/0.1931, allocations: 38.51 MB / 342.5 MB, free: 8.055 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-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat1,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixTrDat1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat1,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixTrDat1",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001986/0.001986, allocations: 66.77 kB / 478.6 MB, free: 33.5 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1125/0.1144, allocations: 61.26 MB / 0.5272 GB, free: 1.352 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat1): time 0.004289/0.1187, allocations: 2.105 MB / 0.5293 GB, free: 15.23 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003703/0.1224, allocations: 2.054 MB / 0.5313 GB, free: 13.17 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.552e-05/0.1225, allocations: 0 / 0.5313 GB, free: 13.17 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001631/0.1227, allocations: 11.92 kB / 0.5313 GB, free: 13.16 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001034/0.1228, allocations: 31.83 kB / 0.5313 GB, free: 13.12 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002934/0.1257, allocations: 0.8344 MB / 0.5322 GB, free: 12.29 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002044/0.1259, allocations: 75.69 kB / 0.5322 GB, free: 12.21 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.337e-05/0.126, allocations: 4.188 kB / 0.5322 GB, free: 12.21 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001106/0.1261, allocations: 31.84 kB / 0.5323 GB, free: 12.18 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.893e-05/0.1262, allocations: 43.81 kB / 0.5323 GB, free: 12.14 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.578e-05/0.1262, allocations: 4 kB / 0.5323 GB, free: 12.13 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002973/0.1292, allocations: 1.614 MB / 0.5339 GB, free: 10.52 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.037e-05/0.1293, allocations: 23.86 kB / 0.5339 GB, free: 10.49 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.821e-05/0.1293, allocations: 19.81 kB / 0.5339 GB, free: 10.47 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002659/0.132, allocations: 1.333 MB / 0.5352 GB, free: 9.137 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.176e-06/0.132, allocations: 0 / 0.5352 GB, free: 9.137 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.595e-06/0.132, allocations: 0 / 0.5352 GB, free: 9.137 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.889e-06/0.132, allocations: 4 kB / 0.5352 GB, free: 9.133 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.001053/0.133, allocations: 0.5268 MB / 0.5357 GB, free: 8.551 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.452e-05/0.1331, allocations: 15.89 kB / 0.5358 GB, free: 8.535 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.683e-05/0.1331, allocations: 30.75 kB / 0.5358 GB, free: 8.496 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.303e-05/0.1332, allocations: 8.891 kB / 0.5358 GB, free: 8.488 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002775/0.1335, allocations: 195.2 kB / 0.536 GB, free: 8.258 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.205e-06/0.1335, allocations: 3.938 kB / 0.536 GB, free: 8.254 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.923e-05/0.1335, allocations: 7.938 kB / 0.536 GB, free: 8.246 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001819/0.1337, allocations: 61.67 kB / 0.5361 GB, free: 8.18 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.718e-06/0.1337, allocations: 0 / 0.5361 GB, free: 8.18 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.458e-05/0.1337, allocations: 8 kB / 0.5361 GB, free: 8.172 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.238e-06/0.1337, allocations: 0 / 0.5361 GB, free: 8.172 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.055e-05/0.1338, allocations: 31.97 kB / 0.5361 GB, free: 8.141 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002043/0.134, allocations: 173.6 kB / 0.5363 GB, free: 7.922 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.978e-05/0.1341, allocations: 46.56 kB / 0.5363 GB, free: 7.867 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.35e-05/0.1341, allocations: 44.8 kB / 0.5363 GB, free: 7.82 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.569e-06/0.1341, allocations: 0 / 0.5363 GB, free: 7.82 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.316e-05/0.1342, allocations: 38.56 kB / 0.5364 GB, free: 7.773 MB / 398.1 MB Notification: Performance of pre-optimization done (n=12): time 9.82e-07/0.1342, allocations: 0 / 0.5364 GB, free: 7.773 MB / 398.1 MB Notification: Performance of matching and sorting (n=12): time 0.000374/0.1345, allocations: 195.4 kB / 0.5366 GB, free: 7.57 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.363e-05/0.1346, allocations: 89.11 kB / 0.5367 GB, free: 7.465 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001292/0.1347, allocations: 131.7 kB / 0.5368 GB, free: 7.328 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.008e-05/0.1348, allocations: 25.7 kB / 0.5368 GB, free: 7.297 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.885e-05/0.1348, allocations: 96.12 kB / 0.5369 GB, free: 7.199 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.455e-05/0.1349, allocations: 35.69 kB / 0.5369 GB, free: 7.164 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.216e-05/0.1349, allocations: 17.72 kB / 0.5369 GB, free: 7.141 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001689/0.1351, allocations: 330.8 kB / 0.5373 GB, free: 6.809 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.44e-05/0.1352, allocations: 35.92 kB / 0.5373 GB, free: 6.773 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.87e-05/0.1352, allocations: 28.31 kB / 0.5373 GB, free: 6.746 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002148/0.1354, allocations: 168.2 kB / 0.5375 GB, free: 6.566 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.976e-06/0.1354, allocations: 0 / 0.5375 GB, free: 6.566 MB / 398.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000215/0.1356, allocations: 155.2 kB / 0.5376 GB, free: 6.402 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.543e-05/0.1357, allocations: 53.67 kB / 0.5377 GB, free: 6.344 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.634e-06/0.1357, allocations: 0 / 0.5377 GB, free: 6.344 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.777e-05/0.1357, allocations: 0 / 0.5377 GB, free: 6.344 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.192e-06/0.1357, allocations: 4.062 kB / 0.5377 GB, free: 6.34 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.259e-06/0.1357, allocations: 0 / 0.5377 GB, free: 6.34 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.317e-05/0.1358, allocations: 11.88 kB / 0.5377 GB, free: 6.328 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.475e-05/0.1358, allocations: 4 kB / 0.5377 GB, free: 6.324 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.0001575/0.136, allocations: 171.4 kB / 0.5379 GB, free: 6.141 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.32e-05/0.136, allocations: 11.95 kB / 0.5379 GB, free: 6.129 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.715e-05/0.136, allocations: 4.719 kB / 0.5379 GB, free: 6.125 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.136, allocations: 0 / 0.5379 GB, free: 6.125 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.379e-06/0.136, allocations: 4 kB / 0.5379 GB, free: 6.121 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.549e-06/0.136, allocations: 7.938 kB / 0.5379 GB, free: 6.113 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001624/0.1362, allocations: 181.6 kB / 0.5381 GB, free: 5.887 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.61e-07/0.1362, allocations: 0 / 0.5381 GB, free: 5.887 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.645e-06/0.1362, allocations: 3.984 kB / 0.5381 GB, free: 5.883 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.402e-06/0.1362, allocations: 3.938 kB / 0.5381 GB, free: 5.879 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.136e-05/0.1362, allocations: 4 kB / 0.5381 GB, free: 5.875 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.1362, allocations: 0 / 0.5381 GB, free: 5.875 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.1362, allocations: 0 / 0.5381 GB, free: 5.875 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000372/0.1366, allocations: 294.5 kB / 0.5384 GB, free: 5.562 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.264e-05/0.1367, allocations: 89 kB / 0.5384 GB, free: 5.457 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.052e-05/0.1367, allocations: 0 / 0.5384 GB, free: 5.457 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.088e-05/0.1367, allocations: 4 kB / 0.5384 GB, free: 5.453 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.718e-05/0.1367, allocations: 4 kB / 0.5384 GB, free: 5.449 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.406e-05/0.1367, allocations: 15.86 kB / 0.5385 GB, free: 5.434 MB / 398.1 MB Notification: Performance of sorting global known variables: time 8.054e-05/0.1368, allocations: 101.8 kB / 0.5386 GB, free: 5.336 MB / 398.1 MB Notification: Performance of sort global known variables: time 6e-08/0.1368, allocations: 0 / 0.5386 GB, free: 5.336 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001091/0.1379, allocations: 319.4 kB / 0.5389 GB, free: 5.023 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.001811/0.1397, allocations: 1.094 MB / 0.5399 GB, free: 3.898 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003759/0.1401, allocations: 231.3 kB / 0.5402 GB, free: 3.66 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.328e-06/0.1401, allocations: 4.094 kB / 0.5402 GB, free: 3.656 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001849/0.1403, allocations: 167.3 kB / 0.5403 GB, free: 3.48 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002892/0.1406, allocations: 7.938 kB / 0.5403 GB, free: 3.473 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002624/0.1432, allocations: 1.946 MB / 0.5422 GB, free: 1.438 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000385/0.1436, allocations: 0.7041 MB / 0.5429 GB, free: 0.707 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 2.073e-05/0.1436, allocations: 3.938 kB / 0.5429 GB, free: 0.7031 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.422e-05/0.1437, allocations: 27.36 kB / 0.5429 GB, free: 0.6758 MB / 398.1 MB Notification: Performance of SimCode: time 9.91e-07/0.1437, allocations: 4.031 kB / 0.5429 GB, free: 0.6719 MB / 398.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: 3.0635352837853134] Failed to read output from testmodel.py, exit status != 0: 0.17883267626166344 0.203158459 0.066324572 Calling exit ...