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.001006/0.001006, allocations: 79.7 kB / 20.67 MB, free: 3.891 MB / 18.57 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.000982/0.000982, allocations: 174.3 kB / 23.95 MB, free: 0.6133 MB / 18.57 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 0.8705/0.8705, allocations: 177.1 MB / 204.3 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] 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.2226/0.2226, allocations: 29.41 MB / 290.1 MB, free: 2.43 MB / 266.7 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat1,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixTrDat1",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.313e-06/1.313e-06, allocations: 0 / 430.2 MB, free: 13.59 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.642e-05/1.773e-05, allocations: 2.281 kB / 430.2 MB, free: 13.58 MB / 410.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat1): time 0.002487/0.002505, allocations: 2.195 MB / 432.4 MB, free: 11.37 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.002464/0.004969, allocations: 1.91 MB / 434.3 MB, free: 9.449 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.022e-05/0.005019, allocations: 0 / 434.3 MB, free: 9.449 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001266/0.005146, allocations: 11.92 kB / 434.3 MB, free: 9.438 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 7.495e-05/0.005221, allocations: 27.83 kB / 434.4 MB, free: 9.41 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001875/0.007096, allocations: 0.9807 MB / 435.3 MB, free: 8.43 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001076/0.007203, allocations: 75.69 kB / 435.4 MB, free: 8.355 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.249e-05/0.007246, allocations: 192 / 435.4 MB, free: 8.355 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001437/0.007389, allocations: 43.83 kB / 435.5 MB, free: 8.312 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.775e-05/0.007457, allocations: 39.88 kB / 435.5 MB, free: 8.273 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.115e-05/0.007468, allocations: 4 kB / 435.5 MB, free: 8.27 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002314/0.009783, allocations: 1.902 MB / 437.4 MB, free: 6.363 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 6.152e-05/0.009844, allocations: 19.92 kB / 437.4 MB, free: 6.344 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 4.572e-05/0.00989, allocations: 15.94 kB / 437.4 MB, free: 6.328 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001732/0.01162, allocations: 1.485 MB / 438.9 MB, free: 4.84 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/0.01163, allocations: 0 / 438.9 MB, free: 4.84 MB / 410.7 MB Notification: Performance of FrontEnd: time 3.015e-06/0.01163, allocations: 0 / 438.9 MB, free: 4.84 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.631e-06/0.01164, allocations: 0 / 438.9 MB, free: 4.84 MB / 410.7 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.0005943/0.01223, allocations: 466.3 kB / 439.4 MB, free: 4.348 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.185e-05/0.01227, allocations: 15.98 kB / 439.4 MB, free: 4.332 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.901e-05/0.0123, allocations: 38.75 kB / 439.4 MB, free: 4.285 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.683e-05/0.01234, allocations: 8.891 kB / 439.4 MB, free: 4.277 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001457/0.01248, allocations: 132.3 kB / 439.6 MB, free: 4.125 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.163e-05/0.0125, allocations: 3.984 kB / 439.6 MB, free: 4.121 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.508e-06/0.0125, allocations: 0 / 439.6 MB, free: 4.121 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001642/0.01267, allocations: 115.4 kB / 439.7 MB, free: 3.996 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.302e-06/0.01268, allocations: 0 / 439.7 MB, free: 3.996 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.055e-05/0.01269, allocations: 3.984 kB / 439.7 MB, free: 3.992 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.629e-06/0.01269, allocations: 3.938 kB / 439.7 MB, free: 3.988 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.999e-05/0.01275, allocations: 85.67 kB / 439.8 MB, free: 3.898 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001219/0.01287, allocations: 140.6 kB / 439.9 MB, free: 3.719 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.844e-05/0.01296, allocations: 96.25 kB / 440 MB, free: 3.609 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.14e-05/0.01302, allocations: 86.5 kB / 440.1 MB, free: 3.516 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.015e-06/0.01303, allocations: 224 / 440.1 MB, free: 3.516 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.205e-05/0.01305, allocations: 34.56 kB / 440.1 MB, free: 3.473 MB / 410.7 MB Notification: Performance of pre-optimization done (n=12): time 7.21e-07/0.01305, allocations: 3.938 kB / 440.1 MB, free: 3.469 MB / 410.7 MB Notification: Performance of matching and sorting (n=12): time 0.0003089/0.01336, allocations: 302.5 kB / 440.4 MB, free: 3.148 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.732e-05/0.01341, allocations: 85.11 kB / 440.5 MB, free: 3.047 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.959e-05/0.0135, allocations: 129.8 kB / 440.6 MB, free: 2.91 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.041e-05/0.01351, allocations: 33.73 kB / 440.7 MB, free: 2.871 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.963e-05/0.01355, allocations: 88.14 kB / 440.8 MB, free: 2.781 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.457e-05/0.01359, allocations: 39.69 kB / 440.8 MB, free: 2.742 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.225e-05/0.01363, allocations: 21.72 kB / 440.8 MB, free: 2.715 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 9.438e-05/0.01372, allocations: 326.8 kB / 441.1 MB, free: 2.387 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.329e-05/0.01378, allocations: 81.67 kB / 441.2 MB, free: 2.301 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.995e-05/0.01383, allocations: 73.67 kB / 441.3 MB, free: 2.223 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001326/0.01397, allocations: 192.5 kB / 441.5 MB, free: 2.02 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.01397, allocations: 0 / 441.5 MB, free: 2.02 MB / 410.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001585/0.01413, allocations: 216.9 kB / 441.7 MB, free: 1.789 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.931e-05/0.01417, allocations: 45.69 kB / 441.7 MB, free: 1.738 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.029e-06/0.01417, allocations: 4.062 kB / 441.7 MB, free: 1.734 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.202e-05/0.01418, allocations: 0 / 441.7 MB, free: 1.734 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.81e-07/0.01418, allocations: 0 / 441.7 MB, free: 1.734 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.928e-06/0.01419, allocations: 0 / 441.7 MB, free: 1.734 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.212e-05/0.01423, allocations: 4 kB / 441.7 MB, free: 1.73 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.191e-05/0.01425, allocations: 7.984 kB / 441.7 MB, free: 1.723 MB / 410.7 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 9.017e-05/0.01434, allocations: 167.5 kB / 441.9 MB, free: 1.543 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.217e-05/0.01435, allocations: 11.95 kB / 441.9 MB, free: 1.531 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.924e-05/0.01437, allocations: 8.781 kB / 441.9 MB, free: 1.52 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.843e-06/0.01438, allocations: 0 / 441.9 MB, free: 1.52 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.958e-06/0.01438, allocations: 8 kB / 441.9 MB, free: 1.512 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.445e-06/0.01438, allocations: 0 / 441.9 MB, free: 1.512 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.214e-05/0.01446, allocations: 148.6 kB / 442.1 MB, free: 1.324 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.01446, allocations: 0 / 442.1 MB, free: 1.324 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.51e-07/0.01447, allocations: 0 / 442.1 MB, free: 1.324 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.01447, allocations: 0 / 442.1 MB, free: 1.324 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.177e-06/0.01448, allocations: 4 kB / 442.1 MB, free: 1.32 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.905e-06/0.01448, allocations: 7.922 kB / 442.1 MB, free: 1.312 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.01448, allocations: 3.938 kB / 442.1 MB, free: 1.309 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002399/0.01472, allocations: 324.3 kB / 442.4 MB, free: 0.9609 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.829e-06/0.01473, allocations: 7.953 kB / 442.4 MB, free: 0.9531 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.385e-05/0.01474, allocations: 8.016 kB / 442.4 MB, free: 0.9453 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.155e-05/0.01476, allocations: 4 kB / 442.4 MB, free: 0.9414 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.564e-05/0.01478, allocations: 0 / 442.4 MB, free: 0.9414 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.023e-06/0.01479, allocations: 7.938 kB / 442.4 MB, free: 0.9336 MB / 410.7 MB Notification: Performance of sorting global known variables: time 4.582e-05/0.01483, allocations: 106.4 kB / 442.6 MB, free: 0.832 MB / 410.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.01483, allocations: 0 / 442.6 MB, free: 0.832 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0007067/0.01554, allocations: 327.3 kB / 442.9 MB, free: 0.5117 MB / 410.7 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.1867/0.2023, allocations: 1.16 MB / 444 MB, free: 53.62 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.000298/0.2026, allocations: 309.7 kB / 444.3 MB, free: 53.5 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.2026, allocations: 0 / 444.3 MB, free: 53.5 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 8.543e-05/0.2027, allocations: 190.6 kB / 444.5 MB, free: 53.4 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002217/0.2029, allocations: 14.88 kB / 444.5 MB, free: 53.4 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001288/0.2042, allocations: 2.163 MB / 446.7 MB, free: 52.12 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.27e-05/0.2042, allocations: 100.1 kB / 446.8 MB, free: 52.05 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 1.298e-05/0.2042, allocations: 4.422 kB / 446.8 MB, free: 52.05 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.126e-05/0.2043, allocations: 23.59 kB / 446.8 MB, free: 52.04 MB / 410.7 MB Notification: Performance of SimCode: time 1.001e-06/0.2043, allocations: 2.812 kB / 446.8 MB, free: 52.04 MB / 410.7 MB [CodegenCFunctions.tpl:5727:13-5727: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: 1.919335251674056] Failed to read output from testmodel.py, exit status != 0: 0.22327526938170195 0.229957073 0.216719887 Calling exit ...