Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_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.0009817/0.0009817, allocations: 83.69 kB / 20.67 MB, free: 3.887 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.001253/0.001253, allocations: 170.3 kB / 23.95 MB, free: 0.6094 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.8834/0.8834, allocations: 177.1 MB / 204.3 MB, free: 5.73 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.2157/0.2157, allocations: 29.41 MB / 290.1 MB, free: 2.465 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_matrixTrDat2,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixTrDat2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat2,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixTrDat2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.813e-06/1.813e-06, allocations: 0 / 430.2 MB, free: 13.6 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.533e-05/1.714e-05, allocations: 2.281 kB / 430.2 MB, free: 13.6 MB / 410.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat2): time 0.002328/0.002345, allocations: 2.199 MB / 432.4 MB, free: 11.38 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.002091/0.004436, allocations: 1.906 MB / 434.3 MB, free: 9.457 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.675e-05/0.004482, allocations: 0 / 434.3 MB, free: 9.457 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001397/0.004622, allocations: 11.92 kB / 434.3 MB, free: 9.445 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 8.002e-05/0.004702, allocations: 23.84 kB / 434.4 MB, free: 9.422 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001523/0.006225, allocations: 0.9738 MB / 435.3 MB, free: 8.445 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001005/0.006326, allocations: 79.62 kB / 435.4 MB, free: 8.367 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.649e-05/0.006362, allocations: 4.188 kB / 435.4 MB, free: 8.363 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001137/0.006476, allocations: 43.89 kB / 435.5 MB, free: 8.32 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.535e-05/0.006541, allocations: 47.88 kB / 435.5 MB, free: 8.273 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.049e-05/0.006552, allocations: 0 / 435.5 MB, free: 8.273 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001661/0.008213, allocations: 1.902 MB / 437.4 MB, free: 6.367 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.697e-05/0.00826, allocations: 31.86 kB / 437.4 MB, free: 6.336 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.761e-05/0.008297, allocations: 27.91 kB / 437.5 MB, free: 6.309 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001039/0.009336, allocations: 1.504 MB / 439 MB, free: 4.801 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.205e-06/0.009338, allocations: 8 kB / 439 MB, free: 4.793 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.112e-06/0.009339, allocations: 0 / 439 MB, free: 4.793 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.737e-06/0.009343, allocations: 0 / 439 MB, free: 4.793 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: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.0004191/0.009762, allocations: 498.1 kB / 439.5 MB, free: 4.27 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.557e-05/0.009798, allocations: 15.98 kB / 439.5 MB, free: 4.254 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.753e-05/0.009825, allocations: 42.73 kB / 439.5 MB, free: 4.203 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.928e-05/0.009855, allocations: 12.84 kB / 439.5 MB, free: 4.191 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000269/0.01012, allocations: 149.3 kB / 439.7 MB, free: 4.02 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.526e-06/0.01013, allocations: 4.125 kB / 439.7 MB, free: 4.016 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.097e-06/0.01014, allocations: 4 kB / 439.7 MB, free: 4.012 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001643/0.01031, allocations: 162.4 kB / 439.8 MB, free: 3.844 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.262e-06/0.01031, allocations: 4 kB / 439.8 MB, free: 3.84 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.544e-06/0.01032, allocations: 0 / 439.8 MB, free: 3.84 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.727e-06/0.01032, allocations: 0 / 439.8 MB, free: 3.84 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.693e-05/0.01041, allocations: 133.6 kB / 440 MB, free: 3.703 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001107/0.01052, allocations: 152.6 kB / 440.1 MB, free: 3.512 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001047/0.01063, allocations: 152.1 kB / 440.3 MB, free: 3.348 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.795e-05/0.0107, allocations: 130.5 kB / 440.4 MB, free: 3.211 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.322e-06/0.01071, allocations: 0 / 440.4 MB, free: 3.211 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.933e-05/0.01073, allocations: 34.55 kB / 440.4 MB, free: 3.168 MB / 410.7 MB Notification: Performance of pre-optimization done (n=24): time 4.81e-07/0.01073, allocations: 4 kB / 440.4 MB, free: 3.164 MB / 410.7 MB Notification: Performance of matching and sorting (n=24): time 0.0003808/0.01111, allocations: 474.8 kB / 440.9 MB, free: 2.676 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.914e-05/0.01115, allocations: 101 kB / 441 MB, free: 2.559 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.071e-05/0.01123, allocations: 148.3 kB / 441.2 MB, free: 2.406 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.042e-05/0.01124, allocations: 29.7 kB / 441.2 MB, free: 2.371 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.653e-05/0.01128, allocations: 100.6 kB / 441.3 MB, free: 2.27 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.875e-05/0.01133, allocations: 75.3 kB / 441.4 MB, free: 2.195 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.111e-05/0.01136, allocations: 25.7 kB / 441.4 MB, free: 2.164 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.711e-05/0.01143, allocations: 330.8 kB / 441.7 MB, free: 1.832 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.116e-05/0.01152, allocations: 129.6 kB / 441.8 MB, free: 1.699 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.303e-05/0.01159, allocations: 125.7 kB / 441.9 MB, free: 1.57 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001755/0.01176, allocations: 305.7 kB / 442.2 MB, free: 1.258 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.01177, allocations: 3.938 kB / 442.3 MB, free: 1.254 MB / 410.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002133/0.01198, allocations: 320.8 kB / 442.6 MB, free: 0.9219 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.944e-05/0.01203, allocations: 69.59 kB / 442.6 MB, free: 0.8477 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.077e-06/0.01203, allocations: 0 / 442.6 MB, free: 0.8477 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.229e-05/0.01205, allocations: 0 / 442.6 MB, free: 0.8477 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.91e-07/0.01205, allocations: 0 / 442.6 MB, free: 0.8477 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.172e-06/0.01205, allocations: 7.922 kB / 442.6 MB, free: 0.8398 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.383e-05/0.0121, allocations: 15.89 kB / 442.7 MB, free: 0.8242 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.942e-05/0.01212, allocations: 7.984 kB / 442.7 MB, free: 0.8164 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.777e-05/0.01221, allocations: 195.5 kB / 442.9 MB, free: 0.6094 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.395e-05/0.01223, allocations: 23.91 kB / 442.9 MB, free: 0.5859 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.387e-05/0.01224, allocations: 9.281 kB / 442.9 MB, free: 0.5742 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.01224, allocations: 4 kB / 442.9 MB, free: 0.5703 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.01225, allocations: 0 / 442.9 MB, free: 0.5703 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.164e-06/0.01225, allocations: 0 / 442.9 MB, free: 0.5703 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.293e-05/0.01233, allocations: 168.5 kB / 443.1 MB, free: 372 kB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.31e-07/0.01233, allocations: 0 / 443.1 MB, free: 372 kB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.21e-07/0.01233, allocations: 0 / 443.1 MB, free: 372 kB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.01233, allocations: 7.984 kB / 443.1 MB, free: 364 kB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.659e-06/0.01234, allocations: 4 kB / 443.1 MB, free: 360 kB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.01235, allocations: 4 kB / 443.1 MB, free: 356 kB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.01235, allocations: 0 / 443.1 MB, free: 356 kB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1667/0.1791, allocations: 0.5118 MB / 443.6 MB, free: 54.02 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.969e-05/0.1791, allocations: 12.94 kB / 443.6 MB, free: 54.02 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.385e-05/0.1791, allocations: 4.031 kB / 443.6 MB, free: 54.02 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.251e-05/0.1792, allocations: 6.188 kB / 443.6 MB, free: 54.02 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.916e-05/0.1792, allocations: 4.469 kB / 443.6 MB, free: 54.02 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.335e-05/0.1792, allocations: 4.031 kB / 443.6 MB, free: 54.02 MB / 410.7 MB Notification: Performance of sorting global known variables: time 4.71e-05/0.1793, allocations: 121.4 kB / 443.7 MB, free: 53.95 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1793, allocations: 0 / 443.7 MB, free: 53.95 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0007439/0.18, allocations: 337.8 kB / 444.1 MB, free: 53.95 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.001028/0.181, allocations: 1.365 MB / 445.4 MB, free: 53.3 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003548/0.1814, allocations: 0.4949 MB / 445.9 MB, free: 53.18 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.1814, allocations: 0 / 445.9 MB, free: 53.18 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001523/0.1815, allocations: 298.6 kB / 446.2 MB, free: 53.08 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001769/0.1817, allocations: 14.41 kB / 446.2 MB, free: 53.08 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001633/0.1833, allocations: 2.955 MB / 449.2 MB, free: 51.47 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.006e-05/0.1834, allocations: 112.8 kB / 449.3 MB, free: 51.39 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 1.286e-05/0.1834, allocations: 6.5 kB / 449.3 MB, free: 51.39 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.194e-05/0.1834, allocations: 31.88 kB / 449.3 MB, free: 51.37 MB / 410.7 MB Notification: Performance of SimCode: time 5.81e-07/0.1834, allocations: 1.5 kB / 449.3 MB, free: 51.37 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.934203578159213] Failed to read output from testmodel.py, exit status != 0: 0.201964708045125 0.20824667800000002 0.19754696300000002 Calling exit ...