Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat3.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.001382/0.001382, allocations: 114.3 kB / 18.49 MB, free: 4.539 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.001474/0.001474, allocations: 219 kB / 21.46 MB, free: 1.586 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.549/1.549, allocations: 230.6 MB / 254.8 MB, free: 15.08 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.2128/0.2128, allocations: 38.5 MB / 349.4 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_matrixTrDat3,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixTrDat3",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat3,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixTrDat3",fmuType="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.002345/0.002345, allocations: 67.91 kB / 487.8 MB, free: 22.05 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1204/0.1228, allocations: 62.42 MB / 0.5374 GB, free: 7.535 MB / 398.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat3): time 0.004346/0.1271, allocations: 2.133 MB / 0.5395 GB, free: 5.387 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003853/0.131, allocations: 2.09 MB / 0.5415 GB, free: 3.285 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.841e-05/0.1311, allocations: 8 kB / 0.5415 GB, free: 3.277 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000146/0.1312, allocations: 7.922 kB / 0.5415 GB, free: 3.27 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001236/0.1313, allocations: 31.83 kB / 0.5415 GB, free: 3.238 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002614/0.134, allocations: 0.8305 MB / 0.5424 GB, free: 2.406 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001581/0.1341, allocations: 79.62 kB / 0.5424 GB, free: 2.328 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.518e-05/0.1342, allocations: 8.172 kB / 0.5424 GB, free: 2.32 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001507/0.1343, allocations: 43.84 kB / 0.5425 GB, free: 2.277 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.721e-05/0.1344, allocations: 51.8 kB / 0.5425 GB, free: 2.227 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.542e-05/0.1344, allocations: 8 kB / 0.5425 GB, free: 2.219 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002671/0.1371, allocations: 1.614 MB / 0.5441 GB, free: 0.6016 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.984e-05/0.1372, allocations: 43.84 kB / 0.5442 GB, free: 0.5586 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.088e-05/0.1372, allocations: 55.48 kB / 0.5442 GB, free: 0.5039 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002184/0.1394, allocations: 1.395 MB / 0.5456 GB, free: 15.11 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.1394, allocations: 0 / 0.5456 GB, free: 15.11 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.1394, allocations: 0 / 0.5456 GB, free: 15.11 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.212e-05/0.1394, allocations: 7.984 kB / 0.5456 GB, free: 15.1 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: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.0009988/0.1404, allocations: 0.6044 MB / 0.5462 GB, free: 14.44 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.042e-05/0.1405, allocations: 12.03 kB / 0.5462 GB, free: 14.43 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.524e-05/0.1405, allocations: 4.172 kB / 0.5462 GB, free: 14.42 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001039/0.1406, allocations: 50.67 kB / 0.5462 GB, free: 14.36 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.726e-05/0.1407, allocations: 16.8 kB / 0.5462 GB, free: 14.35 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002344/0.1409, allocations: 215.7 kB / 0.5464 GB, free: 14.1 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.254e-05/0.1409, allocations: 4 kB / 0.5465 GB, free: 14.09 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.521e-05/0.1409, allocations: 4 kB / 0.5465 GB, free: 14.09 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002267/0.1411, allocations: 142.5 kB / 0.5466 GB, free: 13.95 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.534e-06/0.1411, allocations: 0 / 0.5466 GB, free: 13.95 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.018e-05/0.1412, allocations: 0 / 0.5466 GB, free: 13.95 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.048e-06/0.1412, allocations: 0 / 0.5466 GB, free: 13.95 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001481/0.1413, allocations: 100.3 kB / 0.5467 GB, free: 13.85 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002729/0.1416, allocations: 206.1 kB / 0.5469 GB, free: 13.6 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001559/0.1417, allocations: 114.9 kB / 0.547 GB, free: 13.48 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001311/0.1419, allocations: 113.2 kB / 0.5471 GB, free: 13.36 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.646e-06/0.1419, allocations: 3.938 kB / 0.5471 GB, free: 13.36 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.985e-05/0.1419, allocations: 30.56 kB / 0.5471 GB, free: 13.32 MB / 414.1 MB Notification: Performance of pre-optimization done (n=40): time 1.222e-06/0.1419, allocations: 0 / 0.5471 GB, free: 13.32 MB / 414.1 MB Notification: Performance of matching and sorting (n=40): time 0.0007405/0.1426, allocations: 495 kB / 0.5476 GB, free: 12.82 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.591e-05/0.1427, allocations: 109 kB / 0.5477 GB, free: 12.7 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001791/0.1429, allocations: 174.4 kB / 0.5479 GB, free: 12.52 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.061e-05/0.1429, allocations: 25.7 kB / 0.5479 GB, free: 12.49 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.063e-05/0.143, allocations: 108.8 kB / 0.548 GB, free: 12.38 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001301/0.1431, allocations: 142.8 kB / 0.5481 GB, free: 12.24 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.44e-05/0.1432, allocations: 37.69 kB / 0.5482 GB, free: 12.2 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001562/0.1434, allocations: 334.8 kB / 0.5485 GB, free: 11.86 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001285/0.1435, allocations: 99.95 kB / 0.5486 GB, free: 11.76 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001112/0.1436, allocations: 100.9 kB / 0.5487 GB, free: 11.66 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003906/0.144, allocations: 380.3 kB / 0.5491 GB, free: 11.28 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.144, allocations: 0 / 0.5491 GB, free: 11.28 MB / 414.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0004223/0.1444, allocations: 347.1 kB / 0.5494 GB, free: 10.93 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.714e-05/0.1445, allocations: 85.64 kB / 0.5495 GB, free: 10.84 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-06/0.1445, allocations: 0 / 0.5495 GB, free: 10.84 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.41e-05/0.1445, allocations: 4 kB / 0.5495 GB, free: 10.83 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.92e-07/0.1445, allocations: 0 / 0.5495 GB, free: 10.83 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.518e-06/0.1445, allocations: 0 / 0.5495 GB, free: 10.83 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.273e-05/0.1446, allocations: 27.75 kB / 0.5495 GB, free: 10.8 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.28e-05/0.1446, allocations: 8 kB / 0.5495 GB, free: 10.8 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.000235/0.1449, allocations: 235.4 kB / 0.5497 GB, free: 10.55 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.306e-05/0.1449, allocations: 31.8 kB / 0.5498 GB, free: 10.52 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.895e-05/0.1449, allocations: 14.66 kB / 0.5498 GB, free: 10.5 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.1449, allocations: 0 / 0.5498 GB, free: 10.5 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.62e-06/0.145, allocations: 4 kB / 0.5498 GB, free: 10.5 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.334e-06/0.145, allocations: 0 / 0.5498 GB, free: 10.5 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002333/0.1452, allocations: 241.3 kB / 0.55 GB, free: 10.21 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.1452, allocations: 0 / 0.55 GB, free: 10.21 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.12e-07/0.1452, allocations: 0 / 0.55 GB, free: 10.21 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.1452, allocations: 0 / 0.55 GB, free: 10.21 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.641e-05/0.1452, allocations: 8 kB / 0.55 GB, free: 10.21 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.146e-06/0.1452, allocations: 3.984 kB / 0.55 GB, free: 10.2 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.41e-07/0.1452, allocations: 4 kB / 0.55 GB, free: 10.2 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001091/0.1463, allocations: 0.9083 MB / 0.5509 GB, free: 9.266 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.953e-05/0.1464, allocations: 104.8 kB / 0.551 GB, free: 9.145 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.267e-05/0.1464, allocations: 4 kB / 0.551 GB, free: 9.141 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.937e-05/0.1465, allocations: 12 kB / 0.551 GB, free: 9.129 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.656e-05/0.1465, allocations: 4 kB / 0.551 GB, free: 9.125 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.359e-05/0.1465, allocations: 11.98 kB / 0.551 GB, free: 9.113 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000109/0.1466, allocations: 124.2 kB / 0.5512 GB, free: 8.992 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1466, allocations: 7.969 kB / 0.5512 GB, free: 8.984 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0009754/0.1476, allocations: 359.3 kB / 0.5515 GB, free: 8.633 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.002664/0.1503, allocations: 1.726 MB / 0.5532 GB, free: 6.871 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001073/0.1513, allocations: 0.8271 MB / 0.554 GB, free: 6.031 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.1513, allocations: 0 / 0.554 GB, free: 6.031 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006638/0.152, allocations: 0.6122 MB / 0.5546 GB, free: 5.406 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000282/0.1523, allocations: 16 kB / 0.5546 GB, free: 5.391 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005135/0.1574, allocations: 3.68 MB / 0.5582 GB, free: 1.617 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005153/0.1579, allocations: 0.7517 MB / 0.5589 GB, free: 0.8398 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 2.483e-05/0.158, allocations: 12.02 kB / 0.559 GB, free: 0.8281 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.067e-05/0.158, allocations: 43.42 kB / 0.559 GB, free: 0.7852 MB / 414.1 MB Notification: Performance of SimCode: time 1.193e-06/0.158, allocations: 0 / 0.559 GB, free: 0.7852 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.9586289760190994] Failed to read output from testmodel.py, exit status != 0: 0.19779801601544023 0.22074109700000002 0.07711923100000001 Calling exit ...