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.0009038/0.0009038, 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.0009708/0.0009708, allocations: 170 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.8801/0.8801, allocations: 177.1 MB / 204.3 MB, free: 5.719 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.2096/0.2096, allocations: 29.4 MB / 290.1 MB, free: 2.441 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 2.955e-06/2.955e-06, allocations: 4 kB / 430.2 MB, free: 13.59 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.464e-05/2.759e-05, allocations: 3.828 kB / 430.2 MB, free: 13.59 MB / 410.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat1): time 0.002797/0.002825, allocations: 2.188 MB / 432.4 MB, free: 11.38 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.002252/0.005077, allocations: 1.903 MB / 434.3 MB, free: 9.465 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.769e-05/0.005134, allocations: 7.938 kB / 434.3 MB, free: 9.457 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001321/0.005266, allocations: 7.922 kB / 434.3 MB, free: 9.449 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 7.669e-05/0.005343, allocations: 27.83 kB / 434.4 MB, free: 9.422 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001896/0.007239, allocations: 0.97 MB / 435.3 MB, free: 8.449 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001179/0.007357, allocations: 79.62 kB / 435.4 MB, free: 8.371 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.079e-05/0.007398, allocations: 12.12 kB / 435.4 MB, free: 8.359 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001361/0.007534, allocations: 39.89 kB / 435.5 MB, free: 8.32 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.779e-05/0.007601, allocations: 43.88 kB / 435.5 MB, free: 8.277 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.045e-05/0.007612, allocations: 0 / 435.5 MB, free: 8.277 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002016/0.009628, allocations: 1.902 MB / 437.4 MB, free: 6.371 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.824e-05/0.009676, allocations: 19.92 kB / 437.4 MB, free: 6.352 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.839e-05/0.009714, allocations: 15.92 kB / 437.4 MB, free: 6.336 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001546/0.01126, allocations: 1.477 MB / 438.9 MB, free: 4.855 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.825e-06/0.01126, allocations: 0 / 438.9 MB, free: 4.855 MB / 410.7 MB Notification: Performance of FrontEnd: time 9.62e-07/0.01126, allocations: 0 / 438.9 MB, free: 4.855 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.95e-06/0.01127, allocations: 0 / 438.9 MB, free: 4.855 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.0005727/0.01184, allocations: 466.3 kB / 439.4 MB, free: 4.363 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.034e-05/0.01188, allocations: 11.98 kB / 439.4 MB, free: 4.352 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.785e-05/0.01191, allocations: 42.69 kB / 439.4 MB, free: 4.301 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.165e-05/0.01194, allocations: 8.891 kB / 439.4 MB, free: 4.293 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001255/0.01207, allocations: 136.3 kB / 439.6 MB, free: 4.137 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.893e-06/0.01207, allocations: 0 / 439.6 MB, free: 4.137 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.544e-06/0.01208, allocations: 4 kB / 439.6 MB, free: 4.133 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001331/0.01221, allocations: 115.4 kB / 439.7 MB, free: 4.008 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.162e-06/0.01222, allocations: 0 / 439.7 MB, free: 4.008 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.496e-06/0.01223, allocations: 3.984 kB / 439.7 MB, free: 4.004 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.187e-06/0.01223, allocations: 0 / 439.7 MB, free: 4.004 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.627e-05/0.01229, allocations: 85.61 kB / 439.8 MB, free: 3.914 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001232/0.01241, allocations: 148.6 kB / 439.9 MB, free: 3.727 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.587e-05/0.01249, allocations: 92.25 kB / 440 MB, free: 3.621 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.319e-05/0.01254, allocations: 82.56 kB / 440.1 MB, free: 3.531 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.031e-06/0.01255, allocations: 4 kB / 440.1 MB, free: 3.527 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.896e-05/0.01257, allocations: 30.56 kB / 440.1 MB, free: 3.488 MB / 410.7 MB Notification: Performance of pre-optimization done (n=12): time 1.092e-06/0.01257, allocations: 4 kB / 440.1 MB, free: 3.484 MB / 410.7 MB Notification: Performance of matching and sorting (n=12): time 0.0002651/0.01283, allocations: 306.5 kB / 440.4 MB, free: 3.16 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.898e-05/0.01287, allocations: 89.09 kB / 440.5 MB, free: 3.055 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.433e-05/0.01295, allocations: 129.8 kB / 440.6 MB, free: 2.918 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 9.518e-06/0.01296, allocations: 25.7 kB / 440.7 MB, free: 2.887 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.327e-05/0.01299, allocations: 92.14 kB / 440.7 MB, free: 2.793 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.575e-05/0.01303, allocations: 35.69 kB / 440.8 MB, free: 2.758 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.792e-05/0.01305, allocations: 21.72 kB / 440.8 MB, free: 2.73 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.369e-05/0.01313, allocations: 326.8 kB / 441.1 MB, free: 2.402 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.327e-05/0.01318, allocations: 81.67 kB / 441.2 MB, free: 2.316 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.652e-05/0.01323, allocations: 85.92 kB / 441.3 MB, free: 2.227 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001114/0.01334, allocations: 180.1 kB / 441.5 MB, free: 2.035 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.754e-06/0.01334, allocations: 0 / 441.5 MB, free: 2.035 MB / 410.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001491/0.01349, allocations: 216.9 kB / 441.7 MB, free: 1.805 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.769e-05/0.01353, allocations: 45.69 kB / 441.7 MB, free: 1.754 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.01353, allocations: 0 / 441.7 MB, free: 1.754 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.13e-05/0.01354, allocations: 0 / 441.7 MB, free: 1.754 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.42e-07/0.01354, allocations: 0 / 441.7 MB, free: 1.754 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.069e-06/0.01355, allocations: 7.922 kB / 441.7 MB, free: 1.746 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.67e-05/0.01359, allocations: 8 kB / 441.7 MB, free: 1.738 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.909e-05/0.0136, allocations: 7.984 kB / 441.7 MB, free: 1.73 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.008e-05/0.01368, allocations: 171.5 kB / 441.9 MB, free: 1.547 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.638e-06/0.01369, allocations: 7.953 kB / 441.9 MB, free: 1.539 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.563e-05/0.01371, allocations: 12.78 kB / 441.9 MB, free: 1.523 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-06/0.01371, allocations: 0 / 441.9 MB, free: 1.523 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.968e-06/0.01372, allocations: 0 / 441.9 MB, free: 1.523 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.354e-06/0.01372, allocations: 0 / 441.9 MB, free: 1.523 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.198e-05/0.0138, allocations: 156.5 kB / 442.1 MB, free: 1.328 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.02e-07/0.0138, allocations: 0 / 442.1 MB, free: 1.328 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.51e-07/0.0138, allocations: 4 kB / 442.1 MB, free: 1.324 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.042e-06/0.0138, allocations: 0 / 442.1 MB, free: 1.324 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.609e-06/0.01381, allocations: 7.984 kB / 442.1 MB, free: 1.316 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.71e-07/0.01381, allocations: 4 kB / 442.1 MB, free: 1.312 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.01381, allocations: 0 / 442.1 MB, free: 1.312 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002185/0.01403, allocations: 320.2 kB / 442.4 MB, free: 0.9688 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.075e-06/0.01404, allocations: 7.953 kB / 442.4 MB, free: 0.9609 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.404e-05/0.01405, allocations: 7.984 kB / 442.4 MB, free: 0.9531 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.905e-05/0.01407, allocations: 0 / 442.4 MB, free: 0.9531 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.516e-05/0.01409, allocations: 8 kB / 442.4 MB, free: 0.9453 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.382e-06/0.01409, allocations: 4 kB / 442.4 MB, free: 0.9414 MB / 410.7 MB Notification: Performance of sorting global known variables: time 3.764e-05/0.01413, allocations: 98.55 kB / 442.5 MB, free: 0.8477 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01413, allocations: 0 / 442.5 MB, free: 0.8477 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0006008/0.01473, allocations: 335.4 kB / 442.9 MB, free: 0.5195 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.1722/0.1869, allocations: 1.162 MB / 444 MB, free: 53.61 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003124/0.1872, allocations: 308.8 kB / 444.3 MB, free: 53.48 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.01e-06/0.1872, allocations: 0 / 444.3 MB, free: 53.48 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 9.345e-05/0.1873, allocations: 191.1 kB / 444.5 MB, free: 53.39 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002404/0.1876, allocations: 14.69 kB / 444.5 MB, free: 53.39 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001427/0.189, allocations: 2.174 MB / 446.7 MB, free: 52.11 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.723e-05/0.189, allocations: 91.53 kB / 446.8 MB, free: 52.04 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 1.532e-05/0.189, allocations: 2.969 kB / 446.8 MB, free: 52.04 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.32e-05/0.1891, allocations: 26.09 kB / 446.8 MB, free: 52.03 MB / 410.7 MB Notification: Performance of SimCode: time 1.382e-06/0.1891, allocations: 0 / 446.8 MB, free: 52.03 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.9323098938912153] Failed to read output from testmodel.py, exit status != 0: 0.21083525195717812 0.21823345300000002 0.205419332 Calling exit ...