Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer.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.0009894/0.0009894, 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.001022/0.001022, allocations: 160.9 kB / 25.61 MB, free: 8.902 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.9267/0.9267, allocations: 177.1 MB / 206 MB, free: 4.504 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.1181/0.1181, allocations: 29.44 MB / 292 MB, free: 2.629 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.Transmission.PowerTransfer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|sensor.p.[0-9,]+.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer") translateModel(PowerSystems.Examples.AC3ph.Transmission.PowerTransfer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|sensor.p.[0-9,]+.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.463e-06/1.463e-06, allocations: 0 / 370.9 MB, free: 32.33 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.795e-05/2.942e-05, allocations: 4.391 kB / 370.9 MB, free: 32.32 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transmission.PowerTransfer): time 0.005245/0.005275, allocations: 4.33 MB / 375.2 MB, free: 27.97 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001738/0.007012, allocations: 1.223 MB / 376.4 MB, free: 26.75 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002371/0.007249, allocations: 23.81 kB / 376.5 MB, free: 26.72 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007507/0.008, allocations: 310.5 kB / 376.8 MB, free: 26.42 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004715/0.008472, allocations: 238.5 kB / 377 MB, free: 26.18 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003708/0.008842, allocations: 183.4 kB / 377.2 MB, free: 26 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003992/0.009242, allocations: 0.5566 MB / 377.7 MB, free: 25.45 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003097/0.009551, allocations: 262.1 kB / 378 MB, free: 25.18 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004218/0.009973, allocations: 402.9 kB / 378.4 MB, free: 24.79 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002408/0.01021, allocations: 219.4 kB / 378.6 MB, free: 24.57 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 3.063e-05/0.01024, allocations: 28 kB / 378.6 MB, free: 24.55 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001978/0.01044, allocations: 135.7 kB / 378.8 MB, free: 24.41 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001159/0.01056, allocations: 199.5 kB / 379 MB, free: 24.22 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 9.338e-05/0.01065, allocations: 151.6 kB / 379.1 MB, free: 24.07 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003417/0.01099, allocations: 394.6 kB / 379.5 MB, free: 23.68 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.628e-06/0.011, allocations: 4 kB / 379.5 MB, free: 23.68 MB / 314.7 MB Notification: Performance of FrontEnd: time 9.22e-07/0.011, allocations: 0 / 379.5 MB, free: 23.68 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.098e-05/0.01101, allocations: 3.938 kB / 379.5 MB, free: 23.68 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: 93 * Number of variables: 93 Notification: Performance of Generate backend data structure: time 0.0006559/0.01167, allocations: 0.7503 MB / 380.2 MB, free: 22.89 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.066e-05/0.0117, allocations: 8.031 kB / 380.3 MB, free: 22.88 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003923/0.01209, allocations: 124.5 kB / 380.4 MB, free: 22.76 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003086/0.0124, allocations: 333.8 kB / 380.7 MB, free: 22.41 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.884e-05/0.01242, allocations: 29.38 kB / 380.7 MB, free: 22.38 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.548e-05/0.0125, allocations: 48.72 kB / 380.8 MB, free: 22.34 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002639/0.01277, allocations: 317.9 kB / 381.1 MB, free: 21.99 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.509e-05/0.01278, allocations: 7.953 kB / 381.1 MB, free: 21.98 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.056e-05/0.0128, allocations: 12 kB / 381.1 MB, free: 21.97 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.265e-05/0.01286, allocations: 24.98 kB / 381.1 MB, free: 21.95 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001434/0.01301, allocations: 126.8 kB / 381.3 MB, free: 21.82 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001013/0.01402, allocations: 1.473 MB / 382.7 MB, free: 20.28 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001618/0.01418, allocations: 118.1 kB / 382.8 MB, free: 20.14 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.982e-05/0.01423, allocations: 55.41 kB / 382.9 MB, free: 20.07 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.586e-05/0.01425, allocations: 4 kB / 382.9 MB, free: 20.07 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.047e-05/0.01427, allocations: 41.38 kB / 382.9 MB, free: 20.02 MB / 314.7 MB Notification: Performance of pre-optimization done (n=19): time 2.284e-06/0.01427, allocations: 3.984 kB / 382.9 MB, free: 20.02 MB / 314.7 MB Notification: Performance of matching and sorting (n=20): time 0.0005827/0.01485, allocations: 422.3 kB / 383.4 MB, free: 19.57 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.031e-05/0.01488, allocations: 85.05 kB / 383.4 MB, free: 19.47 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001385/0.01502, allocations: 346 kB / 383.8 MB, free: 19.11 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.218e-05/0.01503, allocations: 29.7 kB / 383.8 MB, free: 19.08 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.781e-05/0.01512, allocations: 310.7 kB / 384.1 MB, free: 18.77 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.461e-05/0.01516, allocations: 79.36 kB / 384.2 MB, free: 18.69 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.631e-05/0.01521, allocations: 71.41 kB / 384.3 MB, free: 18.61 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 5.333e-05/0.01527, allocations: 0.5235 MB / 384.8 MB, free: 18.08 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.02e-05/0.01531, allocations: 25.47 kB / 384.8 MB, free: 18.05 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.591e-05/0.01538, allocations: 182.9 kB / 385 MB, free: 17.81 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001476/0.01553, allocations: 236.5 kB / 385.2 MB, free: 17.52 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.383e-06/0.01553, allocations: 0 / 385.2 MB, free: 17.52 MB / 314.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0003594/0.01589, allocations: 296.6 kB / 385.5 MB, free: 17.22 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.709e-05/0.01591, allocations: 11.94 kB / 385.5 MB, free: 17.21 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001611/0.01607, allocations: 129.5 kB / 385.6 MB, free: 17.08 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002148/0.01628, allocations: 71.84 kB / 385.7 MB, free: 17 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001254/0.01641, allocations: 55.91 kB / 385.8 MB, free: 16.95 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006463/0.01706, allocations: 1.811 MB / 387.6 MB, free: 15.02 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.37e-05/0.01715, allocations: 12 kB / 387.6 MB, free: 15.01 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.117e-05/0.01716, allocations: 16.03 kB / 387.6 MB, free: 15 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (34): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 7.844e-05/0.01724, allocations: 172.5 kB / 387.8 MB, free: 14.82 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.926e-05/0.01728, allocations: 47.88 kB / 387.8 MB, free: 14.77 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001644/0.01744, allocations: 179.9 kB / 388 MB, free: 14.58 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.933e-06/0.01744, allocations: 3.984 kB / 388 MB, free: 14.58 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.635e-06/0.01745, allocations: 8 kB / 388 MB, free: 14.57 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.527e-06/0.01745, allocations: 0 / 388 MB, free: 14.57 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004342/0.01788, allocations: 0.5283 MB / 388.5 MB, free: 14 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.01789, allocations: 0 / 388.5 MB, free: 14 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001233/0.01801, allocations: 55.86 kB / 388.6 MB, free: 13.95 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/0.01801, allocations: 0 / 388.6 MB, free: 13.95 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.125e-05/0.01802, allocations: 7.984 kB / 388.6 MB, free: 13.94 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.914e-06/0.01803, allocations: 0 / 388.6 MB, free: 13.94 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.01803, allocations: 4 kB / 388.6 MB, free: 13.93 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001993/0.01823, allocations: 369.5 kB / 389 MB, free: 13.54 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.164e-05/0.01825, allocations: 31.75 kB / 389 MB, free: 13.51 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.178e-05/0.01827, allocations: 12.06 kB / 389 MB, free: 13.5 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.089e-05/0.01834, allocations: 8 kB / 389 MB, free: 13.49 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.981e-05/0.01836, allocations: 11.97 kB / 389 MB, free: 13.48 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.794e-06/0.01837, allocations: 8 kB / 389 MB, free: 13.47 MB / 314.7 MB Notification: Performance of sorting global known variables: time 6.265e-05/0.01843, allocations: 218.9 kB / 389.2 MB, free: 13.26 MB / 314.7 MB Notification: Performance of sort global known variables: time 4e-08/0.01843, allocations: 0 / 389.2 MB, free: 13.26 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002473/0.01868, allocations: 84 kB / 389.3 MB, free: 13.18 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (line.i[1],line.i[2],line.i[3]) * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (23): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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 8.3e-05/0.01876, allocations: 99.19 kB / 389.4 MB, free: 13.07 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0002902/0.01905, allocations: 332.7 kB / 389.8 MB, free: 12.73 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.01905, allocations: 4 kB / 389.8 MB, free: 12.73 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 5.475e-05/0.01911, allocations: 64.95 kB / 389.8 MB, free: 12.66 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002961/0.0194, allocations: 80.59 kB / 389.9 MB, free: 12.58 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001011/0.02041, allocations: 0.7966 MB / 390.7 MB, free: 11.74 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.742e-05/0.02047, allocations: 136.5 kB / 390.8 MB, free: 11.59 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 8.944e-05/0.02056, allocations: 42.95 kB / 390.9 MB, free: 11.55 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001119/0.02067, allocations: 130.2 kB / 391 MB, free: 11.42 MB / 314.7 MB Notification: Performance of SimCode: time 8.41e-07/0.02067, allocations: 0 / 391 MB, free: 11.42 MB / 314.7 MB Notification: Performance of Templates: time 0.005346/0.02602, allocations: 3.838 MB / 394.8 MB, free: 7.664 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer.makefile [Timeout 660] (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer.sim & ./PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer.pipe 2>&1) [Timeout 240] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Transmission.PowerTransfer.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.015235051047057]