Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat1.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.001736/0.001736, allocations: 118.8 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.002129/0.002129, allocations: 213.5 kB / 21.45 MB, free: 1.637 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.482/1.482, allocations: 230.6 MB / 254.8 MB, free: 15.13 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.1892/0.1892, allocations: 38.51 MB / 349.4 MB, free: 2.609 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_matrixTrDat1,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixTrDat1",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat1,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixTrDat1",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.003477/0.003477, allocations: 59.91 kB / 487.8 MB, free: 22.09 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.156/0.1595, allocations: 62.42 MB / 0.5374 GB, free: 7.559 MB / 398.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat1): time 0.003551/0.1631, allocations: 2.115 MB / 0.5394 GB, free: 5.43 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003224/0.1663, allocations: 2.093 MB / 0.5415 GB, free: 3.324 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.811e-05/0.1663, allocations: 3.938 kB / 0.5415 GB, free: 3.32 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001144/0.1664, allocations: 15.91 kB / 0.5415 GB, free: 3.305 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 8.056e-05/0.1665, allocations: 23.84 kB / 0.5415 GB, free: 3.281 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0021/0.1686, allocations: 0.8458 MB / 0.5423 GB, free: 2.438 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001293/0.1688, allocations: 75.69 kB / 0.5424 GB, free: 2.363 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.887e-05/0.1688, allocations: 4.172 kB / 0.5424 GB, free: 2.359 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001257/0.1689, allocations: 47.83 kB / 0.5425 GB, free: 2.312 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.101e-05/0.169, allocations: 39.83 kB / 0.5425 GB, free: 2.273 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.048e-05/0.169, allocations: 0 / 0.5425 GB, free: 2.273 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002302/0.1713, allocations: 1.626 MB / 0.5441 GB, free: 0.6445 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.141e-05/0.1714, allocations: 15.92 kB / 0.5441 GB, free: 0.6289 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.313e-05/0.1714, allocations: 27.8 kB / 0.5441 GB, free: 0.6016 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001601/0.173, allocations: 1.333 MB / 0.5454 GB, free: 15.27 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.173, allocations: 0 / 0.5454 GB, free: 15.27 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.173, allocations: 3.938 kB / 0.5454 GB, free: 15.26 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.75e-06/0.173, allocations: 0 / 0.5454 GB, free: 15.26 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0007328/0.1737, allocations: 0.5307 MB / 0.546 GB, free: 14.68 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.426e-05/0.1738, allocations: 8.031 kB / 0.546 GB, free: 14.67 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.251e-05/0.1738, allocations: 4.188 kB / 0.546 GB, free: 14.66 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.964e-05/0.1738, allocations: 38.73 kB / 0.546 GB, free: 14.62 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.378e-05/0.1739, allocations: 8.891 kB / 0.546 GB, free: 14.61 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001974/0.1741, allocations: 187.1 kB / 0.5462 GB, free: 14.39 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.98e-06/0.1741, allocations: 3.938 kB / 0.5462 GB, free: 14.38 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.65e-05/0.1741, allocations: 4 kB / 0.5462 GB, free: 14.38 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001383/0.1742, allocations: 65.67 kB / 0.5463 GB, free: 14.31 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.517e-06/0.1742, allocations: 11.94 kB / 0.5463 GB, free: 14.3 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.706e-06/0.1742, allocations: 0 / 0.5463 GB, free: 14.3 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.677e-06/0.1742, allocations: 0 / 0.5463 GB, free: 14.3 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.065e-05/0.1743, allocations: 35.92 kB / 0.5463 GB, free: 14.26 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001736/0.1745, allocations: 169.5 kB / 0.5465 GB, free: 14.05 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.543e-05/0.1746, allocations: 54.55 kB / 0.5465 GB, free: 13.98 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.132e-05/0.1746, allocations: 36.88 kB / 0.5466 GB, free: 13.95 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.948e-06/0.1746, allocations: 0 / 0.5466 GB, free: 13.95 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.436e-05/0.1747, allocations: 34.56 kB / 0.5466 GB, free: 13.9 MB / 414.1 MB Notification: Performance of pre-optimization done (n=12): time 8.41e-07/0.1747, allocations: 0 / 0.5466 GB, free: 13.9 MB / 414.1 MB Notification: Performance of matching and sorting (n=12): time 0.0003293/0.175, allocations: 191.6 kB / 0.5468 GB, free: 13.7 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.803e-05/0.175, allocations: 89.09 kB / 0.5469 GB, free: 13.6 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001178/0.1752, allocations: 136.4 kB / 0.547 GB, free: 13.46 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.622e-05/0.1752, allocations: 25.7 kB / 0.547 GB, free: 13.43 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.115e-05/0.1752, allocations: 92.14 kB / 0.5471 GB, free: 13.33 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.724e-05/0.1753, allocations: 39.64 kB / 0.5471 GB, free: 13.29 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.335e-05/0.1753, allocations: 29.73 kB / 0.5472 GB, free: 13.26 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001478/0.1755, allocations: 322.8 kB / 0.5475 GB, free: 12.93 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.143e-05/0.1755, allocations: 32.2 kB / 0.5475 GB, free: 12.9 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.782e-05/0.1756, allocations: 35.86 kB / 0.5475 GB, free: 12.87 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001702/0.1757, allocations: 164.1 kB / 0.5477 GB, free: 12.69 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.1757, allocations: 0 / 0.5477 GB, free: 12.69 MB / 414.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001993/0.1759, allocations: 151.3 kB / 0.5478 GB, free: 12.53 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.198e-05/0.176, allocations: 49.67 kB / 0.5479 GB, free: 12.48 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.887e-06/0.176, allocations: 64 / 0.5479 GB, free: 12.48 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.522e-05/0.176, allocations: 4 kB / 0.5479 GB, free: 12.47 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.21e-07/0.176, allocations: 0 / 0.5479 GB, free: 12.47 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.647e-06/0.176, allocations: 0 / 0.5479 GB, free: 12.47 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.796e-05/0.1761, allocations: 15.83 kB / 0.5479 GB, free: 12.46 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.973e-05/0.1761, allocations: 4 kB / 0.5479 GB, free: 12.45 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.000141/0.1762, allocations: 168.1 kB / 0.5481 GB, free: 12.27 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.291e-05/0.1763, allocations: 11.95 kB / 0.5481 GB, free: 12.26 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.745e-05/0.1763, allocations: 16.69 kB / 0.5481 GB, free: 12.25 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.356e-06/0.1763, allocations: 8 kB / 0.5481 GB, free: 12.24 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.216e-06/0.1763, allocations: 0 / 0.5481 GB, free: 12.24 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.1763, allocations: 7.875 kB / 0.5481 GB, free: 12.23 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001453/0.1764, allocations: 173.6 kB / 0.5483 GB, free: 12.01 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.136e-06/0.1764, allocations: 4 kB / 0.5483 GB, free: 12.01 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.61e-07/0.1764, allocations: 0 / 0.5483 GB, free: 12.01 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.282e-06/0.1764, allocations: 7.875 kB / 0.5483 GB, free: 12 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.429e-05/0.1765, allocations: 4 kB / 0.5483 GB, free: 12 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.915e-06/0.1765, allocations: 3.984 kB / 0.5483 GB, free: 11.99 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.1765, allocations: 0 / 0.5483 GB, free: 11.99 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000367/0.1768, allocations: 294.6 kB / 0.5486 GB, free: 11.68 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.176e-05/0.1769, allocations: 89 kB / 0.5487 GB, free: 11.57 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.863e-05/0.1769, allocations: 0 / 0.5487 GB, free: 11.57 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.001e-05/0.1769, allocations: 4 kB / 0.5487 GB, free: 11.57 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.091e-05/0.177, allocations: 3.938 kB / 0.5487 GB, free: 11.57 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.062e-05/0.177, allocations: 4 kB / 0.5487 GB, free: 11.56 MB / 414.1 MB Notification: Performance of sorting global known variables: time 7.292e-05/0.177, allocations: 107.2 kB / 0.5488 GB, free: 11.46 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.177, allocations: 0 / 0.5488 GB, free: 11.46 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0008165/0.1779, allocations: 315.4 kB / 0.5491 GB, free: 11.15 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.001501/0.1794, allocations: 1.09 MB / 0.5501 GB, free: 10.02 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000326/0.1797, allocations: 239.3 kB / 0.5504 GB, free: 9.777 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.1797, allocations: 0 / 0.5504 GB, free: 9.777 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001833/0.1799, allocations: 163.3 kB / 0.5505 GB, free: 9.605 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002196/0.1801, allocations: 14.56 kB / 0.5505 GB, free: 9.594 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002128/0.1822, allocations: 1.957 MB / 0.5525 GB, free: 7.551 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003303/0.1825, allocations: 0.7041 MB / 0.5531 GB, free: 6.82 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 1.208e-05/0.1826, allocations: 0 / 0.5531 GB, free: 6.82 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.872e-05/0.1826, allocations: 31.45 kB / 0.5532 GB, free: 6.789 MB / 414.1 MB Notification: Performance of SimCode: time 2.91e-07/0.1826, allocations: 0 / 0.5532 GB, free: 6.789 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.83874435396865] Failed to read output from testmodel.py, exit status != 0: 0.21232748398324475 0.226922318 0.050906661000000006 Calling exit ...