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.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.0008791/0.0008791, allocations: 83.69 kB / 20.67 MB, free: 3.879 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.0009613/0.0009613, allocations: 170 kB / 23.95 MB, free: 0.6016 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.9212/0.9212, 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 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/package.mo): time 0.2392/0.2392, allocations: 29.4 MB / 290.1 MB, free: 2.453 MB / 266.7 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/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_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 1.462e-06/1.462e-06, allocations: 0 / 430.2 MB, free: 13.59 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.032e-05/2.178e-05, allocations: 3.547 kB / 430.2 MB, free: 13.59 MB / 410.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat1): time 0.002819/0.002841, allocations: 2.181 MB / 432.4 MB, free: 11.39 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.002425/0.005266, allocations: 1.91 MB / 434.3 MB, free: 9.469 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.964e-05/0.005325, allocations: 4 kB / 434.3 MB, free: 9.465 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001522/0.005478, allocations: 11.86 kB / 434.3 MB, free: 9.453 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 9.821e-05/0.005576, allocations: 23.89 kB / 434.4 MB, free: 9.43 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002279/0.007855, allocations: 0.977 MB / 435.3 MB, free: 8.453 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001245/0.007979, allocations: 79.62 kB / 435.4 MB, free: 8.375 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.137e-05/0.008021, allocations: 4.188 kB / 435.4 MB, free: 8.371 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001419/0.008162, allocations: 47.83 kB / 435.5 MB, free: 8.324 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.105e-05/0.008233, allocations: 43.88 kB / 435.5 MB, free: 8.281 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.146e-05/0.008245, allocations: 0 / 435.5 MB, free: 8.281 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002242/0.01049, allocations: 1.902 MB / 437.4 MB, free: 6.375 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.622e-05/0.01054, allocations: 19.92 kB / 437.4 MB, free: 6.355 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 4.313e-05/0.01059, allocations: 11.94 kB / 437.4 MB, free: 6.344 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001718/0.0123, allocations: 1.481 MB / 438.9 MB, free: 4.859 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.01231, allocations: 0 / 438.9 MB, free: 4.859 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.415e-06/0.01231, allocations: 0 / 438.9 MB, free: 4.859 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.071e-06/0.01232, allocations: 0 / 438.9 MB, free: 4.859 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.0005638/0.01288, allocations: 466.3 kB / 439.4 MB, free: 4.367 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.028e-05/0.01293, allocations: 15.98 kB / 439.4 MB, free: 4.352 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.934e-05/0.01296, allocations: 34.75 kB / 439.4 MB, free: 4.309 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.902e-05/0.013, allocations: 8.891 kB / 439.4 MB, free: 4.301 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001598/0.01316, allocations: 142.1 kB / 439.6 MB, free: 4.137 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.997e-06/0.01317, allocations: 4 kB / 439.6 MB, free: 4.133 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.356e-06/0.01318, allocations: 0 / 439.6 MB, free: 4.133 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001517/0.01333, allocations: 115.4 kB / 439.7 MB, free: 4.008 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.903e-06/0.01334, allocations: 0 / 439.7 MB, free: 4.008 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.056e-05/0.01335, allocations: 4 kB / 439.7 MB, free: 4.004 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.918e-06/0.01335, allocations: 0 / 439.7 MB, free: 4.004 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.998e-05/0.01341, allocations: 77.66 kB / 439.8 MB, free: 3.922 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001203/0.01353, allocations: 148.6 kB / 439.9 MB, free: 3.734 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.744e-05/0.01362, allocations: 96.19 kB / 440 MB, free: 3.625 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.891e-05/0.01369, allocations: 86.56 kB / 440.1 MB, free: 3.531 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.123e-06/0.01369, allocations: 0 / 440.1 MB, free: 3.531 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.314e-05/0.01373, allocations: 30.56 kB / 440.1 MB, free: 3.492 MB / 410.7 MB Notification: Performance of pre-optimization done (n=12): time 1.543e-06/0.01373, allocations: 0 / 440.1 MB, free: 3.492 MB / 410.7 MB Notification: Performance of matching and sorting (n=12): time 0.0002988/0.01403, allocations: 302.6 kB / 440.4 MB, free: 3.172 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.233e-05/0.01407, allocations: 89.05 kB / 440.5 MB, free: 3.066 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.004e-05/0.01416, allocations: 140.8 kB / 440.6 MB, free: 2.922 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.181e-05/0.01417, allocations: 25.7 kB / 440.7 MB, free: 2.891 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.427e-05/0.01421, allocations: 88.14 kB / 440.8 MB, free: 2.801 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.919e-05/0.01425, allocations: 35.69 kB / 440.8 MB, free: 2.766 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.084e-05/0.01428, allocations: 21.72 kB / 440.8 MB, free: 2.738 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 8.128e-05/0.01436, allocations: 326.8 kB / 441.1 MB, free: 2.41 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.799e-05/0.01442, allocations: 81.67 kB / 441.2 MB, free: 2.324 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.168e-05/0.01448, allocations: 85.83 kB / 441.3 MB, free: 2.234 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001308/0.01461, allocations: 180.2 kB / 441.5 MB, free: 2.043 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.01461, allocations: 0 / 441.5 MB, free: 2.043 MB / 410.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001597/0.01477, allocations: 209 kB / 441.7 MB, free: 1.82 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.211e-05/0.01481, allocations: 57.61 kB / 441.7 MB, free: 1.758 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.889e-06/0.01482, allocations: 0 / 441.7 MB, free: 1.758 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.193e-05/0.01483, allocations: 0 / 441.7 MB, free: 1.758 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.72e-07/0.01483, allocations: 0 / 441.7 MB, free: 1.758 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.741e-06/0.01484, allocations: 11.92 kB / 441.7 MB, free: 1.746 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.829e-05/0.01487, allocations: 0 / 441.7 MB, free: 1.746 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.075e-05/0.01489, allocations: 4 kB / 441.7 MB, free: 1.742 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 8.972e-05/0.01498, allocations: 175.5 kB / 441.9 MB, free: 1.555 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.299e-05/0.015, allocations: 11.95 kB / 441.9 MB, free: 1.543 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.467e-05/0.01501, allocations: 8.781 kB / 441.9 MB, free: 1.531 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.01501, allocations: 0 / 441.9 MB, free: 1.531 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.077e-06/0.01502, allocations: 0 / 441.9 MB, free: 1.531 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.006e-06/0.01502, allocations: 0 / 441.9 MB, free: 1.531 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.479e-05/0.01512, allocations: 156.5 kB / 442.1 MB, free: 1.336 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.153e-06/0.01512, allocations: 4 kB / 442.1 MB, free: 1.332 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.32e-07/0.01512, allocations: 0 / 442.1 MB, free: 1.332 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/0.01512, allocations: 0 / 442.1 MB, free: 1.332 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.558e-06/0.01513, allocations: 4 kB / 442.1 MB, free: 1.328 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.01513, allocations: 4 kB / 442.1 MB, free: 1.324 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.01513, allocations: 3.984 kB / 442.1 MB, free: 1.32 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002822/0.01542, allocations: 324.7 kB / 442.4 MB, free: 0.9727 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.371e-05/0.01543, allocations: 7.953 kB / 442.4 MB, free: 0.9648 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.609e-05/0.01545, allocations: 4 kB / 442.4 MB, free: 0.9609 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.339e-05/0.01547, allocations: 3.984 kB / 442.4 MB, free: 0.957 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.122e-05/0.01549, allocations: 8 kB / 442.4 MB, free: 0.9492 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.468e-06/0.0155, allocations: 4 kB / 442.4 MB, free: 0.9453 MB / 410.7 MB Notification: Performance of sorting global known variables: time 5.019e-05/0.01555, allocations: 95.27 kB / 442.5 MB, free: 0.8516 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01555, allocations: 0 / 442.5 MB, free: 0.8516 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0008506/0.0164, allocations: 331.3 kB / 442.9 MB, free: 0.5273 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.1974/0.2138, allocations: 1.157 MB / 444 MB, free: 53.64 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003216/0.2141, allocations: 311 kB / 444.3 MB, free: 53.52 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.227e-06/0.2141, allocations: 0 / 444.3 MB, free: 53.52 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 9.566e-05/0.2142, allocations: 190.9 kB / 444.5 MB, free: 53.42 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002619/0.2145, allocations: 14.47 kB / 444.5 MB, free: 53.42 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001598/0.2161, allocations: 2.175 MB / 446.7 MB, free: 52.14 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.685e-05/0.2161, allocations: 91.47 kB / 446.8 MB, free: 52.07 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 1.639e-05/0.2161, allocations: 6.094 kB / 446.8 MB, free: 52.07 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.132e-05/0.2162, allocations: 21.86 kB / 446.8 MB, free: 52.06 MB / 410.7 MB Notification: Performance of SimCode: time 1.694e-06/0.2162, allocations: 0 / 446.8 MB, free: 52.06 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: 2.0295201325789094] Failed to read output from testmodel.py, exit status != 0: 0.23604531958699226 0.24339759100000002 0.22949031500000003 Calling exit ...