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.001033/0.001033, allocations: 71.77 kB / 21.69 MB, free: 2.855 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.001179/0.001179, allocations: 162.6 kB / 24.99 MB, free: 9.273 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.042/1.042, allocations: 177.1 MB / 205.3 MB, free: 5.637 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.2657/0.2657, allocations: 29.41 MB / 291.2 MB, free: 2.402 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.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.613e-06/1.613e-06, allocations: 0 / 369.6 MB, free: 11.27 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.977e-05/3.138e-05, allocations: 5.688 kB / 369.6 MB, free: 11.27 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Transformer): time 0.007151/0.007182, allocations: 6.617 MB / 376.3 MB, free: 4.613 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.004118/0.0113, allocations: 2.403 MB / 378.7 MB, free: 2.203 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005366/0.01184, allocations: 35.69 kB / 378.7 MB, free: 2.168 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001326/0.01316, allocations: 0.6104 MB / 379.3 MB, free: 1.555 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001355/0.01452, allocations: 0.7111 MB / 380 MB, free: 0.8398 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009629/0.01548, allocations: 470.7 kB / 380.5 MB, free: 388 kB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.001412/0.01689, allocations: 1.388 MB / 381.9 MB, free: 14.99 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006169/0.01751, allocations: 404 kB / 382.3 MB, free: 14.59 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00101/0.01852, allocations: 0.7712 MB / 383 MB, free: 13.82 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001059/0.01958, allocations: 0.7948 MB / 383.8 MB, free: 13.02 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001294/0.01971, allocations: 72 kB / 383.9 MB, free: 12.95 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006214/0.02033, allocations: 295.5 kB / 384.2 MB, free: 12.66 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004164/0.02075, allocations: 0.565 MB / 384.8 MB, free: 12.09 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003472/0.02109, allocations: 367.1 kB / 385.1 MB, free: 11.73 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00112/0.02221, allocations: 1.02 MB / 386.1 MB, free: 10.71 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.998e-06/0.02222, allocations: 4 kB / 386.1 MB, free: 10.71 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.013e-06/0.02222, allocations: 4 kB / 386.1 MB, free: 10.7 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.671e-05/0.02225, allocations: 0 / 386.1 MB, free: 10.7 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.001676/0.02392, allocations: 1.381 MB / 387.5 MB, free: 9.277 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.027e-05/0.02396, allocations: 12.03 kB / 387.5 MB, free: 9.266 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009387/0.0249, allocations: 359.9 kB / 387.9 MB, free: 8.914 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009022/0.0258, allocations: 0.6477 MB / 388.5 MB, free: 8.238 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.787e-05/0.02584, allocations: 66.3 kB / 388.6 MB, free: 8.176 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001442/0.02599, allocations: 96.67 kB / 388.7 MB, free: 8.082 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001124/0.02711, allocations: 1.034 MB / 389.7 MB, free: 6.902 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.69e-05/0.02714, allocations: 11.94 kB / 389.7 MB, free: 6.891 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.258e-05/0.0272, allocations: 35.97 kB / 389.8 MB, free: 6.855 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001717/0.02737, allocations: 125.9 kB / 389.9 MB, free: 6.734 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008351/0.02821, allocations: 0.5438 MB / 390.4 MB, free: 6.18 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.004243/0.03245, allocations: 6.336 MB / 396.8 MB, free: 15.57 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005832/0.03303, allocations: 424.1 kB / 397.2 MB, free: 15.12 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002279/0.03326, allocations: 198.5 kB / 397.4 MB, free: 14.91 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.788e-05/0.0333, allocations: 16.5 kB / 397.4 MB, free: 14.9 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003971/0.0337, allocations: 401.8 kB / 397.8 MB, free: 14.47 MB / 378.7 MB Notification: Performance of pre-optimization done (n=65): time 2.595e-06/0.0337, allocations: 3.984 kB / 397.8 MB, free: 14.46 MB / 378.7 MB Notification: Performance of matching and sorting (n=66): time 0.00197/0.03567, allocations: 1.599 MB / 399.4 MB, free: 12.79 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.9e-05/0.03575, allocations: 175 kB / 399.6 MB, free: 12.59 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005608/0.03631, allocations: 0.6592 MB / 400.2 MB, free: 11.91 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.345e-05/0.03635, allocations: 41.69 kB / 400.3 MB, free: 11.87 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003501/0.0367, allocations: 0.588 MB / 400.8 MB, free: 11.27 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001538/0.03686, allocations: 250 kB / 401.1 MB, free: 11.02 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000189/0.03705, allocations: 212.5 kB / 401.3 MB, free: 10.81 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001808/0.03723, allocations: 0.5742 MB / 401.9 MB, free: 10.22 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002364/0.03746, allocations: 172.2 kB / 402 MB, free: 10.05 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005119/0.03797, allocations: 0.8058 MB / 402.8 MB, free: 8.961 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008449/0.03882, allocations: 1.057 MB / 403.9 MB, free: 7.609 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.846e-06/0.03883, allocations: 4 kB / 403.9 MB, free: 7.605 MB / 378.7 MB Notification: Performance of matching and sorting (n=136) (initialization): time 0.001368/0.0402, allocations: 1.097 MB / 405 MB, free: 6.48 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.574e-05/0.04023, allocations: 37.7 kB / 405 MB, free: 6.438 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006471/0.04088, allocations: 472.5 kB / 405.5 MB, free: 5.965 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004721/0.04135, allocations: 207.2 kB / 405.7 MB, free: 5.754 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000401/0.04175, allocations: 219.5 kB / 405.9 MB, free: 5.539 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002662/0.04441, allocations: 4.117 MB / 410 MB, free: 1.18 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003891/0.0448, allocations: 59.86 kB / 410.1 MB, free: 1.121 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.744e-05/0.04487, allocations: 59.98 kB / 410.2 MB, free: 1.062 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.0002959/0.04517, allocations: 265.8 kB / 410.4 MB, free: 0.7852 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.704e-05/0.04526, allocations: 103.6 kB / 410.5 MB, free: 0.6836 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007316/0.046, allocations: 0.6331 MB / 411.2 MB, free: 20 kB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.56e-06/0.046, allocations: 11.94 kB / 411.2 MB, free: 8 kB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.883e-06/0.046, allocations: 0 / 411.2 MB, free: 8 kB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.448e-06/0.04601, allocations: 7.922 kB / 411.2 MB, free: 0 / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001518/0.04753, allocations: 1.385 MB / 412.6 MB, free: 14.54 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.489e-06/0.04754, allocations: 8.031 kB / 412.6 MB, free: 14.53 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003663/0.0479, allocations: 143.8 kB / 412.7 MB, free: 14.39 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.474e-06/0.04791, allocations: 7.938 kB / 412.7 MB, free: 14.38 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.255e-05/0.04794, allocations: 19.98 kB / 412.7 MB, free: 14.36 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.71e-06/0.04795, allocations: 7.938 kB / 412.7 MB, free: 14.36 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.04795, allocations: 4 kB / 412.7 MB, free: 14.35 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009441/0.04889, allocations: 1.008 MB / 413.8 MB, free: 13.29 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001695/0.04906, allocations: 119.5 kB / 413.9 MB, free: 13.17 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.489e-05/0.04912, allocations: 19.94 kB / 413.9 MB, free: 13.15 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001684/0.04929, allocations: 27.97 kB / 413.9 MB, free: 13.12 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.526e-05/0.04937, allocations: 48.41 kB / 414 MB, free: 13.07 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.908e-05/0.04942, allocations: 43.95 kB / 414 MB, free: 13.03 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002805/0.0497, allocations: 379 kB / 414.4 MB, free: 12.66 MB / 394.7 MB Notification: Performance of sort global known variables: time 7e-08/0.0497, allocations: 0 / 414.4 MB, free: 12.66 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0006327/0.05033, allocations: 228 kB / 414.6 MB, free: 12.44 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.0001475/0.05048, allocations: 119.1 kB / 414.7 MB, free: 12.31 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001136/0.05162, allocations: 1.122 MB / 415.8 MB, free: 11.13 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.05162, allocations: 3.938 kB / 415.8 MB, free: 11.13 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00029/0.05191, allocations: 328.9 kB / 416.2 MB, free: 10.79 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006281/0.05254, allocations: 165.2 kB / 416.3 MB, free: 10.64 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002458/0.055, allocations: 1.744 MB / 418.1 MB, free: 8.82 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002089/0.05521, allocations: 263.7 kB / 418.3 MB, free: 8.539 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0004067/0.05561, allocations: 250.3 kB / 418.6 MB, free: 8.289 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000121/0.05573, allocations: 64.48 kB / 418.6 MB, free: 8.227 MB / 394.7 MB Notification: Performance of SimCode: time 1.122e-06/0.05573, allocations: 0 / 418.6 MB, free: 8.227 MB / 394.7 MB Notification: Performance of Templates: time 0.01177/0.0675, allocations: 8.696 MB / 427.3 MB, free: 15.66 MB / 410.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.2968540331348777]