Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Transformer.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.001025/0.001025, allocations: 83.58 kB / 21.19 MB, free: 3.383 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.001219/0.001219, allocations: 161 kB / 24.56 MB, free: 16 kB / 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.9501/0.9501, allocations: 177.1 MB / 205 MB, free: 5.641 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.2528/0.2528, allocations: 29.42 MB / 290.9 MB, free: 2.516 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.Elementary.Transformer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|meter1.i.[0-9,]+.|meter1.p.[0-9,]+.|meter1.v.[0-9,]+.|meter2.i.[0-9,]+.|meter2.p.[0-9,]+.|meter2.v.[0-9,]+.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Transformer") translateModel(PowerSystems.Examples.AC3ph.Elementary.Transformer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|meter1.i.[0-9,]+.|meter1.p.[0-9,]+.|meter1.v.[0-9,]+.|meter2.i.[0-9,]+.|meter2.p.[0-9,]+.|meter2.v.[0-9,]+.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Transformer") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.633e-06/1.633e-06, allocations: 0 / 369.6 MB, free: 11.01 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.913e-05/2.076e-05, allocations: 5.828 kB / 369.6 MB, free: 11.01 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Transformer): time 0.005196/0.005217, allocations: 5.869 MB / 375.5 MB, free: 5.105 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.00351/0.008727, allocations: 2.418 MB / 377.9 MB, free: 2.68 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003871/0.009114, allocations: 35.69 kB / 378 MB, free: 2.645 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00104/0.01015, allocations: 473.6 kB / 378.4 MB, free: 2.18 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001192/0.01135, allocations: 0.6996 MB / 379.1 MB, free: 1.477 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008887/0.01224, allocations: 478.5 kB / 379.6 MB, free: 1.008 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.001571/0.01381, allocations: 1.376 MB / 381 MB, free: 15.63 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005155/0.01432, allocations: 404 kB / 381.4 MB, free: 15.23 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009892/0.01531, allocations: 0.861 MB / 382.2 MB, free: 14.37 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007458/0.01606, allocations: 0.7208 MB / 383 MB, free: 13.64 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 9.891e-05/0.01616, allocations: 68 kB / 383 MB, free: 13.58 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004506/0.01661, allocations: 295.4 kB / 383.3 MB, free: 13.29 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004018/0.01701, allocations: 0.5494 MB / 383.9 MB, free: 12.74 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003481/0.01736, allocations: 363.2 kB / 384.2 MB, free: 12.38 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009893/0.01835, allocations: 0.981 MB / 385.2 MB, free: 11.4 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.136e-06/0.01835, allocations: 4 kB / 385.2 MB, free: 11.39 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.322e-06/0.01835, allocations: 0 / 385.2 MB, free: 11.39 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.674e-05/0.01837, allocations: 0 / 385.2 MB, free: 11.39 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 247 * Number of variables: 247 Notification: Performance of Generate backend data structure: time 0.001612/0.01998, allocations: 1.373 MB / 386.6 MB, free: 9.977 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.49e-05/0.02002, allocations: 8.031 kB / 386.6 MB, free: 9.969 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008621/0.02089, allocations: 379.7 kB / 386.9 MB, free: 9.598 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009292/0.02182, allocations: 0.6107 MB / 387.6 MB, free: 8.961 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.814e-05/0.02185, allocations: 62.36 kB / 387.6 MB, free: 8.898 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001348/0.02199, allocations: 88.73 kB / 387.7 MB, free: 8.812 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00099/0.02298, allocations: 1.038 MB / 388.7 MB, free: 7.633 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.271e-05/0.023, allocations: 7.938 kB / 388.8 MB, free: 7.625 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.544e-05/0.02306, allocations: 35.98 kB / 388.8 MB, free: 7.59 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001548/0.02321, allocations: 121.9 kB / 388.9 MB, free: 7.469 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000711/0.02392, allocations: 0.5399 MB / 389.4 MB, free: 6.922 MB / 362.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004114/0.02804, allocations: 6.344 MB / 395.8 MB, free: 304 kB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005577/0.02859, allocations: 440 kB / 396.2 MB, free: 15.83 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002135/0.02881, allocations: 190.6 kB / 396.4 MB, free: 15.63 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.939e-05/0.02885, allocations: 16.48 kB / 396.4 MB, free: 15.62 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003972/0.02924, allocations: 401.8 kB / 396.8 MB, free: 15.19 MB / 378.7 MB Notification: Performance of pre-optimization done (n=65): time 2.274e-06/0.02925, allocations: 0 / 396.8 MB, free: 15.19 MB / 378.7 MB Notification: Performance of matching and sorting (n=66): time 0.001935/0.03118, allocations: 1.587 MB / 398.4 MB, free: 13.53 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.02e-05/0.03125, allocations: 170.8 kB / 398.6 MB, free: 13.32 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004574/0.03171, allocations: 0.667 MB / 399.2 MB, free: 12.64 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.364e-05/0.03174, allocations: 37.83 kB / 399.3 MB, free: 12.6 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002714/0.03201, allocations: 0.5997 MB / 399.9 MB, free: 12 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001332/0.03215, allocations: 242 kB / 400.1 MB, free: 11.76 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001703/0.03232, allocations: 212.5 kB / 400.3 MB, free: 11.54 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001655/0.03248, allocations: 0.5742 MB / 400.9 MB, free: 10.96 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002209/0.0327, allocations: 172.2 kB / 401.1 MB, free: 10.78 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007087/0.03341, allocations: 0.8058 MB / 401.9 MB, free: 9.695 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007753/0.03419, allocations: 1.065 MB / 402.9 MB, free: 8.336 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.761e-06/0.03419, allocations: 8 kB / 402.9 MB, free: 8.328 MB / 378.7 MB Notification: Performance of matching and sorting (n=136) (initialization): time 0.001241/0.03543, allocations: 1.081 MB / 404 MB, free: 7.219 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.506e-05/0.03547, allocations: 41.64 kB / 404.1 MB, free: 7.172 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000605/0.03607, allocations: 464.6 kB / 404.5 MB, free: 6.707 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004214/0.0365, allocations: 203.2 kB / 404.7 MB, free: 6.5 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003738/0.03687, allocations: 223.5 kB / 404.9 MB, free: 6.281 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002636/0.03951, allocations: 4.128 MB / 409.1 MB, free: 1.91 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003211/0.03983, allocations: 55.91 kB / 409.1 MB, free: 1.855 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.874e-05/0.0399, allocations: 63.97 kB / 409.2 MB, free: 1.793 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 66 * Number of states: 0 () * Number of discrete variables: 11 (system.initime,tapChanger.cnt_2,$PRE.tapChanger.cnt_2,tapChanger.cnt_1,$PRE.tapChanger.cnt_1,$whenCondition2,$whenCondition1,tapChanger.tap_2,$PRE.tapChanger.tap_2,tapChanger.tap_1,$PRE.tapChanger.tap_1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (119): * Single equations (assignments): 116 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,12,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002244/0.04012, allocations: 261.8 kB / 409.4 MB, free: 1.52 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.765e-05/0.04022, allocations: 107.5 kB / 409.5 MB, free: 1.414 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007141/0.04093, allocations: 0.637 MB / 410.2 MB, free: 0.7461 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.169e-06/0.04094, allocations: 8 kB / 410.2 MB, free: 0.7383 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.202e-06/0.04094, allocations: 3.938 kB / 410.2 MB, free: 0.7344 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.853e-06/0.04094, allocations: 3.938 kB / 410.2 MB, free: 0.7305 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001345/0.04229, allocations: 1.37 MB / 411.6 MB, free: 15.29 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.039e-06/0.04229, allocations: 4 kB / 411.6 MB, free: 15.28 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004178/0.04271, allocations: 148 kB / 411.7 MB, free: 15.14 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.486e-06/0.04272, allocations: 11.88 kB / 411.7 MB, free: 15.12 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.304e-05/0.04276, allocations: 23.98 kB / 411.7 MB, free: 15.1 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.449e-06/0.04277, allocations: 4 kB / 411.7 MB, free: 15.1 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/0.04277, allocations: 4.047 kB / 411.7 MB, free: 15.09 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009085/0.04368, allocations: 1.016 MB / 412.8 MB, free: 14.02 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001465/0.04383, allocations: 119.4 kB / 412.9 MB, free: 13.9 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.512e-05/0.04388, allocations: 27.92 kB / 412.9 MB, free: 13.88 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001631/0.04404, allocations: 27.98 kB / 412.9 MB, free: 13.85 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.097e-05/0.04413, allocations: 48.41 kB / 413 MB, free: 13.8 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.312e-05/0.04417, allocations: 39.97 kB / 413 MB, free: 13.76 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002658/0.04443, allocations: 375 kB / 413.4 MB, free: 13.4 MB / 394.7 MB Notification: Performance of sort global known variables: time 5e-08/0.04443, allocations: 0 / 413.4 MB, free: 13.4 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0005528/0.04499, allocations: 232 kB / 413.6 MB, free: 13.17 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (trafo.i1[1],trafo.i1[2],trafo.i1[3]) * Number of discrete variables: 7 ($whenCondition1,$whenCondition2,tapChanger.tap_1,tapChanger.tap_2,tapChanger.cnt_1,tapChanger.cnt_2,system.initime) * Number of discrete states: 6 (tapChanger.tap_2,tapChanger.cnt_2,$whenCondition2,tapChanger.tap_1,tapChanger.cnt_1,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (64): * Single equations (assignments): 62 * Array equations: 0 * Algorithm blocks: 1 * 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 0.0001433/0.04513, allocations: 121.9 kB / 413.7 MB, free: 13.05 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001052/0.04618, allocations: 1.132 MB / 414.9 MB, free: 11.86 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.04618, allocations: 0 / 414.9 MB, free: 11.86 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005276/0.04671, allocations: 330.6 kB / 415.2 MB, free: 11.51 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004519/0.04716, allocations: 154 kB / 415.3 MB, free: 11.36 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002339/0.0495, allocations: 1.748 MB / 417.1 MB, free: 9.543 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001876/0.04969, allocations: 259.7 kB / 417.3 MB, free: 9.266 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0003777/0.05007, allocations: 246.4 kB / 417.6 MB, free: 9.02 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001199/0.05019, allocations: 64.48 kB / 417.6 MB, free: 8.957 MB / 394.7 MB Notification: Performance of SimCode: time 6.41e-07/0.05019, allocations: 4 kB / 417.6 MB, free: 8.953 MB / 394.7 MB Notification: Performance of Templates: time 0.01165/0.06183, allocations: 9.025 MB / 426.7 MB, free: 68 kB / 394.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Transformer.makefile [Timeout 660] (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Transformer.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Transformer.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Transformer.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Transformer.sim & ./PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Transformer -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Transformer.pipe 2>&1) [Timeout 240] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Transformer_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Elementary.Transformer.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.2767055886797607]