Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat2.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.001402/0.001402, allocations: 121 kB / 18.49 MB, free: 4.586 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.001464/0.001464, allocations: 213.5 kB / 21.45 MB, free: 1.641 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.598/1.598, allocations: 230.6 MB / 254.8 MB, free: 15.09 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.193/0.193, 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_matrixTrDat2,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixTrDat2",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat2,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixTrDat2",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.002081/0.002081, allocations: 71.91 kB / 487.8 MB, free: 22.07 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1308/0.1329, allocations: 62.42 MB / 0.5374 GB, free: 7.535 MB / 398.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat2): time 0.003844/0.1368, allocations: 2.124 MB / 0.5394 GB, free: 5.395 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00352/0.1403, allocations: 2.093 MB / 0.5415 GB, free: 3.289 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.583e-05/0.1404, allocations: 0 / 0.5415 GB, free: 3.289 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001331/0.1405, allocations: 15.92 kB / 0.5415 GB, free: 3.273 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 8.921e-05/0.1406, allocations: 19.84 kB / 0.5415 GB, free: 3.254 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002346/0.1429, allocations: 0.8458 MB / 0.5423 GB, free: 2.41 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001628/0.1431, allocations: 79.62 kB / 0.5424 GB, free: 2.332 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.853e-05/0.1431, allocations: 4.172 kB / 0.5424 GB, free: 2.328 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001378/0.1433, allocations: 43.84 kB / 0.5425 GB, free: 2.285 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.44e-05/0.1434, allocations: 47.81 kB / 0.5425 GB, free: 2.238 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.449e-05/0.1434, allocations: 4 kB / 0.5425 GB, free: 2.234 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002451/0.1458, allocations: 1.618 MB / 0.5441 GB, free: 0.6133 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.88e-05/0.1459, allocations: 35.84 kB / 0.5441 GB, free: 0.5781 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.373e-05/0.146, allocations: 39.69 kB / 0.5442 GB, free: 0.5391 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001867/0.1478, allocations: 1.364 MB / 0.5455 GB, free: 15.17 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.1478, allocations: 0 / 0.5455 GB, free: 15.17 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.422e-06/0.1478, allocations: 0 / 0.5455 GB, free: 15.17 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.831e-06/0.1478, allocations: 0 / 0.5455 GB, free: 15.17 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: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.000803/0.1486, allocations: 0.5656 MB / 0.5461 GB, free: 14.55 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.043e-05/0.1487, allocations: 8.031 kB / 0.5461 GB, free: 14.54 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.138e-05/0.1487, allocations: 8.188 kB / 0.5461 GB, free: 14.54 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.7e-05/0.1487, allocations: 42.69 kB / 0.5461 GB, free: 14.48 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.363e-05/0.1488, allocations: 12.84 kB / 0.5461 GB, free: 14.47 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002193/0.149, allocations: 203.3 kB / 0.5463 GB, free: 14.23 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.64e-06/0.149, allocations: 0 / 0.5463 GB, free: 14.23 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.513e-05/0.149, allocations: 0 / 0.5463 GB, free: 14.23 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001905/0.1492, allocations: 97.66 kB / 0.5464 GB, free: 14.13 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.494e-06/0.1492, allocations: 0 / 0.5464 GB, free: 14.13 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.014e-05/0.1492, allocations: 0 / 0.5464 GB, free: 14.13 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.799e-06/0.1492, allocations: 0 / 0.5464 GB, free: 14.13 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.107e-05/0.1493, allocations: 63.91 kB / 0.5465 GB, free: 14.07 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000204/0.1495, allocations: 197.5 kB / 0.5467 GB, free: 13.83 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000119/0.1496, allocations: 78.55 kB / 0.5467 GB, free: 13.74 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.404e-05/0.1497, allocations: 64.86 kB / 0.5468 GB, free: 13.68 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.759e-06/0.1497, allocations: 0 / 0.5468 GB, free: 13.68 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.43e-05/0.1498, allocations: 38.55 kB / 0.5468 GB, free: 13.63 MB / 414.1 MB Notification: Performance of pre-optimization done (n=24): time 8.42e-07/0.1498, allocations: 0 / 0.5468 GB, free: 13.63 MB / 414.1 MB Notification: Performance of matching and sorting (n=24): time 0.0005494/0.1503, allocations: 330.2 kB / 0.5471 GB, free: 13.3 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.259e-05/0.1504, allocations: 97.09 kB / 0.5472 GB, free: 13.18 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001549/0.1506, allocations: 150.2 kB / 0.5474 GB, free: 13.03 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.796e-05/0.1506, allocations: 25.7 kB / 0.5474 GB, free: 13 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.694e-05/0.1507, allocations: 100.6 kB / 0.5475 GB, free: 12.89 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.029e-05/0.1507, allocations: 79.27 kB / 0.5476 GB, free: 12.82 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.892e-05/0.1508, allocations: 29.7 kB / 0.5476 GB, free: 12.78 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001771/0.151, allocations: 334.8 kB / 0.5479 GB, free: 12.45 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.503e-05/0.1511, allocations: 60.02 kB / 0.548 GB, free: 12.39 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.067e-05/0.1512, allocations: 65.39 kB / 0.548 GB, free: 12.32 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002952/0.1515, allocations: 264.1 kB / 0.5483 GB, free: 12.05 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.806e-06/0.1515, allocations: 0 / 0.5483 GB, free: 12.05 MB / 414.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003136/0.1518, allocations: 231.2 kB / 0.5485 GB, free: 11.81 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.978e-05/0.1518, allocations: 65.66 kB / 0.5486 GB, free: 11.74 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.583e-06/0.1519, allocations: 0 / 0.5486 GB, free: 11.74 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.435e-05/0.1519, allocations: 0 / 0.5486 GB, free: 11.74 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.92e-07/0.1519, allocations: 0 / 0.5486 GB, free: 11.74 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.36e-06/0.1519, allocations: 0 / 0.5486 GB, free: 11.74 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.22e-05/0.152, allocations: 23.89 kB / 0.5486 GB, free: 11.72 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.487e-05/0.152, allocations: 4 kB / 0.5486 GB, free: 11.71 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.0002015/0.1522, allocations: 207.3 kB / 0.5488 GB, free: 11.5 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.969e-05/0.1522, allocations: 15.91 kB / 0.5488 GB, free: 11.48 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.507e-05/0.1522, allocations: 9.188 kB / 0.5488 GB, free: 11.47 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.953e-06/0.1522, allocations: 0 / 0.5488 GB, free: 11.47 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.646e-06/0.1522, allocations: 0 / 0.5488 GB, free: 11.47 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.444e-06/0.1522, allocations: 0 / 0.5488 GB, free: 11.47 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000197/0.1524, allocations: 209.5 kB / 0.549 GB, free: 11.21 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.1524, allocations: 4 kB / 0.549 GB, free: 11.21 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.21e-07/0.1524, allocations: 3.938 kB / 0.549 GB, free: 11.21 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.784e-06/0.1524, allocations: 0 / 0.549 GB, free: 11.21 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.962e-05/0.1525, allocations: 8 kB / 0.549 GB, free: 11.2 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.1525, allocations: 4 kB / 0.549 GB, free: 11.2 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.1525, allocations: 0 / 0.549 GB, free: 11.2 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000669/0.1531, allocations: 0.5178 MB / 0.5496 GB, free: 10.65 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.994e-05/0.1532, allocations: 92.95 kB / 0.5496 GB, free: 10.54 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.523e-05/0.1532, allocations: 12.03 kB / 0.5497 GB, free: 10.53 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.922e-05/0.1533, allocations: 0 / 0.5497 GB, free: 10.53 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.257e-05/0.1533, allocations: 4 kB / 0.5497 GB, free: 10.53 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.047e-05/0.1533, allocations: 15.98 kB / 0.5497 GB, free: 10.51 MB / 414.1 MB Notification: Performance of sorting global known variables: time 9.91e-05/0.1534, allocations: 115.1 kB / 0.5498 GB, free: 10.4 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1534, allocations: 0 / 0.5498 GB, free: 10.4 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0009873/0.1544, allocations: 339.3 kB / 0.5501 GB, free: 10.07 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.002098/0.1565, allocations: 1.328 MB / 0.5514 GB, free: 8.703 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006481/0.1571, allocations: 459.1 kB / 0.5518 GB, free: 8.242 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.537e-06/0.1571, allocations: 0 / 0.5518 GB, free: 8.242 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003467/0.1575, allocations: 319.2 kB / 0.5521 GB, free: 7.918 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002395/0.1577, allocations: 15.08 kB / 0.5522 GB, free: 7.906 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003626/0.1614, allocations: 2.679 MB / 0.5548 GB, free: 5.141 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004378/0.1618, allocations: 0.7277 MB / 0.5555 GB, free: 4.387 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 2.45e-05/0.1618, allocations: 4 kB / 0.5555 GB, free: 4.383 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.772e-05/0.1619, allocations: 31.42 kB / 0.5555 GB, free: 4.352 MB / 414.1 MB Notification: Performance of SimCode: time 2.084e-06/0.1619, allocations: 0 / 0.5555 GB, free: 4.352 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.988426099997014] Failed to read output from testmodel.py, exit status != 0: 0.19694351096404716 0.21556012300000002 0.06390815000000001 Calling exit ...