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.0009962/0.0009962, allocations: 71.77 kB / 21.69 MB, free: 2.859 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.0009717/0.0009717, allocations: 167.5 kB / 24.99 MB, free: 8.367 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 1.07/1.07, allocations: 177.1 MB / 205.3 MB, free: 5.25 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.2308/0.2308, allocations: 29.4 MB / 291.2 MB, free: 2.367 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: 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.553e-06/1.553e-06, allocations: 0 / 369.6 MB, free: 11.31 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.957e-05/2.112e-05, allocations: 2.312 kB / 369.6 MB, free: 11.3 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transmission.PowerTransfer): time 0.00433/0.004351, allocations: 4.837 MB / 374.5 MB, free: 6.438 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001453/0.005804, allocations: 1.332 MB / 375.8 MB, free: 5.102 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001468/0.005951, allocations: 23.88 kB / 375.8 MB, free: 5.078 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006659/0.006617, allocations: 406.2 kB / 376.2 MB, free: 4.68 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002982/0.006915, allocations: 242.5 kB / 376.4 MB, free: 4.441 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002694/0.007184, allocations: 191.4 kB / 376.6 MB, free: 4.254 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003832/0.007568, allocations: 0.5643 MB / 377.2 MB, free: 3.688 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000311/0.007879, allocations: 254.1 kB / 377.4 MB, free: 3.434 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003238/0.008203, allocations: 355 kB / 377.8 MB, free: 3.086 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002603/0.008463, allocations: 251.3 kB / 378 MB, free: 2.84 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 3.654e-05/0.008499, allocations: 36 kB / 378.1 MB, free: 2.805 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001855/0.008685, allocations: 131.6 kB / 378.2 MB, free: 2.676 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001348/0.00882, allocations: 207.4 kB / 378.4 MB, free: 2.473 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001329/0.008953, allocations: 151.7 kB / 378.5 MB, free: 2.324 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003786/0.009331, allocations: 394.6 kB / 378.9 MB, free: 1.938 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.315e-06/0.009333, allocations: 0 / 378.9 MB, free: 1.938 MB / 346.7 MB Notification: Performance of FrontEnd: time 4.81e-07/0.009334, allocations: 0 / 378.9 MB, free: 1.938 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.18e-06/0.009339, allocations: 0 / 378.9 MB, free: 1.938 MB / 346.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.0007846/0.01012, allocations: 0.7543 MB / 379.7 MB, free: 1.148 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.964e-05/0.01016, allocations: 15.98 kB / 379.7 MB, free: 1.133 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004095/0.01057, allocations: 128.5 kB / 379.8 MB, free: 1.008 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004218/0.01099, allocations: 370.7 kB / 380.2 MB, free: 0.625 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.123e-05/0.01102, allocations: 29.36 kB / 380.2 MB, free: 0.5977 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.266e-05/0.0111, allocations: 40.75 kB / 380.3 MB, free: 0.5586 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004395/0.01154, allocations: 345.9 kB / 380.6 MB, free: 188 kB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.223e-05/0.01155, allocations: 0 / 380.6 MB, free: 188 kB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.43e-05/0.01157, allocations: 16 kB / 380.6 MB, free: 172 kB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.043e-05/0.01165, allocations: 24.98 kB / 380.6 MB, free: 148 kB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003004/0.01195, allocations: 165.8 kB / 380.8 MB, free: 15.98 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001379/0.01332, allocations: 1.551 MB / 382.4 MB, free: 14.36 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001856/0.01351, allocations: 134.1 kB / 382.5 MB, free: 14.2 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.096e-05/0.01359, allocations: 63.39 kB / 382.5 MB, free: 14.13 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.651e-05/0.01361, allocations: 7.938 kB / 382.6 MB, free: 14.12 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.383e-05/0.01363, allocations: 37.39 kB / 382.6 MB, free: 14.07 MB / 362.7 MB Notification: Performance of pre-optimization done (n=19): time 1.152e-06/0.01363, allocations: 0 / 382.6 MB, free: 14.07 MB / 362.7 MB Notification: Performance of matching and sorting (n=20): time 0.0007612/0.01439, allocations: 0.5377 MB / 383.1 MB, free: 13.5 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.882e-05/0.01443, allocations: 81.05 kB / 383.2 MB, free: 13.4 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002085/0.01464, allocations: 342.2 kB / 383.5 MB, free: 13.05 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.68e-05/0.01466, allocations: 33.83 kB / 383.6 MB, free: 13.01 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001259/0.01478, allocations: 314.7 kB / 383.9 MB, free: 12.7 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.161e-05/0.01483, allocations: 71.39 kB / 383.9 MB, free: 12.63 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.761e-05/0.01489, allocations: 67.34 kB / 384 MB, free: 12.55 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001192/0.01501, allocations: 0.5157 MB / 384.5 MB, free: 12.03 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.459e-05/0.01508, allocations: 39.83 kB / 384.6 MB, free: 11.99 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001217/0.0152, allocations: 191.2 kB / 384.8 MB, free: 11.74 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002088/0.01541, allocations: 249.9 kB / 385 MB, free: 11.43 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.412e-06/0.01541, allocations: 0 / 385 MB, free: 11.43 MB / 362.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0004105/0.01582, allocations: 328.3 kB / 385.3 MB, free: 11.1 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.808e-06/0.01583, allocations: 4 kB / 385.3 MB, free: 11.1 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002073/0.01604, allocations: 142.2 kB / 385.5 MB, free: 10.96 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002073/0.01624, allocations: 75.98 kB / 385.5 MB, free: 10.88 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001338/0.01638, allocations: 67.91 kB / 385.6 MB, free: 10.81 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00128/0.01766, allocations: 1.842 MB / 387.4 MB, free: 8.844 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.512e-05/0.01775, allocations: 15.98 kB / 387.5 MB, free: 8.828 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.372e-05/0.01777, allocations: 8 kB / 387.5 MB, free: 8.82 MB / 362.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 0.0001221/0.01789, allocations: 188.5 kB / 387.7 MB, free: 8.625 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.02e-05/0.01793, allocations: 35.8 kB / 387.7 MB, free: 8.59 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002243/0.01815, allocations: 192.3 kB / 387.9 MB, free: 8.402 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.01816, allocations: 4 kB / 387.9 MB, free: 8.398 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.42e-07/0.01816, allocations: 4.031 kB / 387.9 MB, free: 8.395 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.909e-06/0.01816, allocations: 3.984 kB / 387.9 MB, free: 8.391 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005837/0.01875, allocations: 0.5996 MB / 388.5 MB, free: 7.742 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.01875, allocations: 0 / 388.5 MB, free: 7.742 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001412/0.01889, allocations: 51.91 kB / 388.5 MB, free: 7.691 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.01889, allocations: 4 kB / 388.5 MB, free: 7.688 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.477e-05/0.0189, allocations: 8 kB / 388.6 MB, free: 7.68 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.01891, allocations: 0 / 388.6 MB, free: 7.68 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/0.01891, allocations: 8.062 kB / 388.6 MB, free: 7.672 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002886/0.0192, allocations: 390.4 kB / 388.9 MB, free: 7.258 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.817e-05/0.01923, allocations: 35.75 kB / 389 MB, free: 7.223 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.398e-05/0.01925, allocations: 8 kB / 389 MB, free: 7.215 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.506e-05/0.01932, allocations: 3.984 kB / 389 MB, free: 7.211 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.041e-05/0.01935, allocations: 19.97 kB / 389 MB, free: 7.191 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.123e-05/0.01937, allocations: 11.94 kB / 389 MB, free: 7.18 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.000118/0.01948, allocations: 223 kB / 389.2 MB, free: 6.965 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01948, allocations: 0 / 389.2 MB, free: 6.965 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002571/0.01974, allocations: 84 kB / 389.3 MB, free: 6.883 MB / 362.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 9.422e-05/0.01984, allocations: 111.2 kB / 389.4 MB, free: 6.762 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0004025/0.02024, allocations: 349.1 kB / 389.8 MB, free: 6.402 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.02024, allocations: 0 / 389.8 MB, free: 6.402 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 8.634e-05/0.02033, allocations: 75.84 kB / 389.8 MB, free: 6.328 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003283/0.02065, allocations: 68.86 kB / 389.9 MB, free: 6.258 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001294/0.02195, allocations: 0.8016 MB / 390.7 MB, free: 5.41 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001031/0.02205, allocations: 140.4 kB / 390.8 MB, free: 5.254 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001294/0.02218, allocations: 66.89 kB / 390.9 MB, free: 5.188 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.265e-05/0.02224, allocations: 32.5 kB / 390.9 MB, free: 5.156 MB / 362.7 MB Notification: Performance of SimCode: time 1.343e-06/0.02225, allocations: 0 / 390.9 MB, free: 5.156 MB / 362.7 MB Notification: Performance of Templates: time 0.005517/0.02776, allocations: 3.538 MB / 394.5 MB, free: 1.684 MB / 362.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.2122863810509443]