Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.EqCircFromTransDat.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.0009562/0.0009562, allocations: 81.97 kB / 22.21 MB, free: 2.289 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.001094/0.001094, allocations: 167.9 kB / 25.61 MB, free: 8.582 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.9114/0.9114, allocations: 177.2 MB / 206.1 MB, free: 4.477 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.1721/0.1721, allocations: 29.44 MB / 292 MB, free: 2.605 MB / 266.7 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.1.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: translateModel(PowerSystems.Examples.AC3ph.Precalculation.EqCircFromTransDat,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|r_rd.[0-9,]+.|r_rq.[0-9,]+.|xm_d.[0-9,]+.|xm_q.[0-9,]+.|xsig_rd.[0-9,]+.|xsig_rq.[0-9,]+.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.EqCircFromTransDat") translateModel(PowerSystems.Examples.AC3ph.Precalculation.EqCircFromTransDat,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|r_rd.[0-9,]+.|r_rq.[0-9,]+.|xm_d.[0-9,]+.|xm_q.[0-9,]+.|xsig_rd.[0-9,]+.|xsig_rq.[0-9,]+.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.EqCircFromTransDat") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.703e-06/1.703e-06, allocations: 0 / 370.9 MB, free: 32.28 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.335e-05/2.506e-05, allocations: 2.312 kB / 370.9 MB, free: 32.28 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.EqCircFromTransDat): time 0.002633/0.002658, allocations: 2.32 MB / 373.2 MB, free: 29.95 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.00214/0.004798, allocations: 1.942 MB / 375.2 MB, free: 28 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.215e-05/0.00488, allocations: 7.938 kB / 375.2 MB, free: 27.99 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001615/0.005042, allocations: 7.922 kB / 375.2 MB, free: 27.98 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001184/0.00516, allocations: 47.67 kB / 375.2 MB, free: 27.93 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001987/0.007148, allocations: 0.9623 MB / 376.2 MB, free: 26.97 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001328/0.00728, allocations: 103.5 kB / 376.3 MB, free: 26.87 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.43e-05/0.007325, allocations: 15.92 kB / 376.3 MB, free: 26.85 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001465/0.007471, allocations: 51.81 kB / 376.4 MB, free: 26.8 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.086e-05/0.007552, allocations: 51.88 kB / 376.4 MB, free: 26.75 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.152e-05/0.007564, allocations: 0 / 376.4 MB, free: 26.75 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001939/0.009502, allocations: 1.843 MB / 378.3 MB, free: 24.9 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 5.414e-05/0.009556, allocations: 35.86 kB / 378.3 MB, free: 24.87 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 4.05e-05/0.009597, allocations: 27.92 kB / 378.3 MB, free: 24.84 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001647/0.01124, allocations: 1.492 MB / 379.8 MB, free: 23.34 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.01125, allocations: 0 / 379.8 MB, free: 23.34 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.403e-06/0.01125, allocations: 0 / 379.8 MB, free: 23.34 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.599e-06/0.01125, allocations: 0 / 379.8 MB, free: 23.34 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0005643/0.01182, allocations: 0.5743 MB / 380.4 MB, free: 22.73 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.231e-05/0.01185, allocations: 12.03 kB / 380.4 MB, free: 22.71 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.394e-05/0.01188, allocations: 12.84 kB / 380.4 MB, free: 22.7 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001064/0.01199, allocations: 137.9 kB / 380.5 MB, free: 22.54 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.148e-06/0.012, allocations: 4.359 kB / 380.5 MB, free: 22.54 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.103e-06/0.01201, allocations: 384 / 380.5 MB, free: 22.54 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.214e-05/0.0121, allocations: 95.44 kB / 380.6 MB, free: 22.43 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.712e-06/0.01211, allocations: 0 / 380.6 MB, free: 22.43 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.242e-06/0.01211, allocations: 0 / 380.6 MB, free: 22.43 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.889e-06/0.01212, allocations: 0 / 380.6 MB, free: 22.43 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.237e-05/0.01214, allocations: 45.69 kB / 380.7 MB, free: 22.38 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.6e-05/0.01221, allocations: 113.1 kB / 380.8 MB, free: 22.25 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.732e-05/0.01226, allocations: 76.75 kB / 380.9 MB, free: 22.15 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.565e-05/0.01229, allocations: 53.41 kB / 380.9 MB, free: 22.09 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.845e-06/0.01229, allocations: 0 / 380.9 MB, free: 22.09 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.496e-05/0.01231, allocations: 37.33 kB / 381 MB, free: 22.04 MB / 314.7 MB Notification: Performance of pre-optimization done (n=14): time 1.453e-06/0.01231, allocations: 7.938 kB / 381 MB, free: 22.04 MB / 314.7 MB Notification: Performance of matching and sorting (n=14): time 0.00018/0.01249, allocations: 213.4 kB / 381.2 MB, free: 21.8 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.021e-05/0.01252, allocations: 93.09 kB / 381.3 MB, free: 21.7 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.58e-05/0.01258, allocations: 209.6 kB / 381.5 MB, free: 21.48 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 5.971e-06/0.01259, allocations: 29.7 kB / 381.5 MB, free: 21.44 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.616e-05/0.01262, allocations: 143.1 kB / 381.6 MB, free: 21.3 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.292e-05/0.01265, allocations: 47.58 kB / 381.7 MB, free: 21.25 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.84e-05/0.01268, allocations: 27.36 kB / 381.7 MB, free: 21.21 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 5.835e-05/0.01273, allocations: 0.504 MB / 382.2 MB, free: 20.7 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.805e-05/0.01276, allocations: 41.69 kB / 382.3 MB, free: 20.65 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.202e-05/0.01278, allocations: 49.62 kB / 382.3 MB, free: 20.6 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.842e-05/0.01284, allocations: 111.1 kB / 382.4 MB, free: 20.47 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.01284, allocations: 0 / 382.4 MB, free: 20.47 MB / 314.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001097/0.01295, allocations: 162.8 kB / 382.6 MB, free: 20.3 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.908e-05/0.01298, allocations: 49.69 kB / 382.6 MB, free: 20.24 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.539e-06/0.01299, allocations: 0 / 382.6 MB, free: 20.24 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.258e-06/0.013, allocations: 3.938 kB / 382.6 MB, free: 20.24 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.122e-06/0.013, allocations: 0 / 382.6 MB, free: 20.24 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.033e-06/0.013, allocations: 0 / 382.6 MB, free: 20.24 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.105e-05/0.01304, allocations: 7.938 kB / 382.6 MB, free: 20.23 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.813e-05/0.01306, allocations: 7.984 kB / 382.6 MB, free: 20.22 MB / 314.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 6.54e-05/0.01313, allocations: 202.3 kB / 382.8 MB, free: 20.01 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.489e-05/0.01314, allocations: 23.84 kB / 382.9 MB, free: 19.98 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.811e-05/0.01316, allocations: 12.77 kB / 382.9 MB, free: 19.97 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.01316, allocations: 3.938 kB / 382.9 MB, free: 19.97 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.493e-06/0.01316, allocations: 0 / 382.9 MB, free: 19.97 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.01317, allocations: 0 / 382.9 MB, free: 19.97 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.917e-05/0.01322, allocations: 121.2 kB / 383 MB, free: 19.82 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.71e-07/0.01323, allocations: 0 / 383 MB, free: 19.82 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.12e-07/0.01323, allocations: 4 kB / 383 MB, free: 19.82 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.192e-06/0.01323, allocations: 0 / 383 MB, free: 19.82 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.664e-06/0.01323, allocations: 4 kB / 383 MB, free: 19.82 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.01324, allocations: 7.984 kB / 383 MB, free: 19.81 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.12e-07/0.01324, allocations: 0 / 383 MB, free: 19.81 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001392/0.01338, allocations: 231.7 kB / 383.2 MB, free: 19.55 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.143e-05/0.01339, allocations: 19.83 kB / 383.3 MB, free: 19.53 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.326e-05/0.0134, allocations: 7.938 kB / 383.3 MB, free: 19.52 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.114e-05/0.01342, allocations: 0 / 383.3 MB, free: 19.52 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.464e-05/0.01344, allocations: 11.92 kB / 383.3 MB, free: 19.51 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.011e-06/0.01344, allocations: 4 kB / 383.3 MB, free: 19.5 MB / 314.7 MB Notification: Performance of sorting global known variables: time 2.92e-05/0.01347, allocations: 155.1 kB / 383.4 MB, free: 19.35 MB / 314.7 MB Notification: Performance of sort global known variables: time 4e-08/0.01347, allocations: 0 / 383.4 MB, free: 19.35 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0005779/0.01405, allocations: 327.4 kB / 383.7 MB, free: 19.03 MB / 314.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.0005984/0.01465, allocations: 410.4 kB / 384.2 MB, free: 18.62 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.000143/0.01479, allocations: 202.4 kB / 384.3 MB, free: 18.4 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.333e-06/0.01479, allocations: 0 / 384.3 MB, free: 18.4 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 5.697e-05/0.01485, allocations: 148.7 kB / 384.5 MB, free: 18.23 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001588/0.01501, allocations: 20.62 kB / 384.5 MB, free: 18.21 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000426/0.01543, allocations: 332.7 kB / 384.8 MB, free: 17.86 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.78e-05/0.01546, allocations: 79.31 kB / 384.9 MB, free: 17.76 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 1.63e-05/0.01548, allocations: 0 / 384.9 MB, free: 17.76 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.519e-05/0.01556, allocations: 102.2 kB / 385 MB, free: 17.66 MB / 314.7 MB Notification: Performance of SimCode: time 5.81e-07/0.01556, allocations: 0 / 385 MB, free: 17.66 MB / 314.7 MB Notification: Performance of Templates: time 0.008522/0.02409, allocations: 8.186 MB / 393.2 MB, free: 9.516 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.EqCircFromTransDat.makefile [Timeout 660] (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.EqCircFromTransDat.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.EqCircFromTransDat.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.EqCircFromTransDat.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.EqCircFromTransDat.sim & ./PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.EqCircFromTransDat -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.EqCircFromTransDat.pipe 2>&1) [Timeout 240] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.EqCircFromTransDat_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Precalculation.EqCircFromTransDat.mat","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.395640804897994]