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.0009012/0.0009012, allocations: 77.97 kB / 21.42 MB, free: 3.074 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.001139/0.001139, allocations: 165.5 kB / 24.82 MB, free: 9.27 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.021/1.021, allocations: 177.1 MB / 205.3 MB, free: 5.516 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.3202/0.3202, allocations: 29.42 MB / 291.2 MB, free: 2.473 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 4.288e-06/4.288e-06, allocations: 4 kB / 370.1 MB, free: 10.74 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.25e-05/3.679e-05, allocations: 6.312 kB / 370.1 MB, free: 10.73 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Transformer): time 0.008291/0.008328, allocations: 5.799 MB / 375.9 MB, free: 4.898 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.004127/0.01246, allocations: 2.383 MB / 378.3 MB, free: 2.508 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005815/0.01304, allocations: 31.75 kB / 378.3 MB, free: 2.477 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001138/0.01417, allocations: 473.5 kB / 378.8 MB, free: 2.012 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001488/0.01566, allocations: 0.6956 MB / 379.5 MB, free: 1.312 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001138/0.0168, allocations: 482.5 kB / 380 MB, free: 0.8398 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.001905/0.01871, allocations: 1.372 MB / 381.3 MB, free: 15.46 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006664/0.01937, allocations: 412 kB / 381.7 MB, free: 15.06 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00158/0.02095, allocations: 0.8533 MB / 382.6 MB, free: 14.2 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00134/0.02229, allocations: 0.7169 MB / 383.3 MB, free: 13.48 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001955/0.02249, allocations: 68 kB / 383.4 MB, free: 13.42 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007805/0.02327, allocations: 303.3 kB / 383.7 MB, free: 13.12 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005043/0.02377, allocations: 0.5494 MB / 384.2 MB, free: 12.57 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004434/0.02422, allocations: 363.1 kB / 384.6 MB, free: 12.21 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001227/0.02544, allocations: 0.9772 MB / 385.5 MB, free: 11.23 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.522e-06/0.02545, allocations: 3.938 kB / 385.6 MB, free: 11.23 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.082e-06/0.02545, allocations: 0 / 385.6 MB, free: 11.23 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.98e-05/0.02548, allocations: 0 / 385.6 MB, free: 11.23 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.001767/0.02725, allocations: 1.338 MB / 386.9 MB, free: 9.848 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.594e-05/0.0273, allocations: 12.03 kB / 386.9 MB, free: 9.836 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008971/0.0282, allocations: 295.9 kB / 387.2 MB, free: 9.547 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007474/0.02895, allocations: 0.5834 MB / 387.8 MB, free: 8.938 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.622e-05/0.02899, allocations: 58.36 kB / 387.8 MB, free: 8.879 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001509/0.02915, allocations: 96.66 kB / 387.9 MB, free: 8.785 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001252/0.0304, allocations: 0.9676 MB / 388.9 MB, free: 7.676 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.48e-05/0.03042, allocations: 3.938 kB / 388.9 MB, free: 7.672 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.111e-05/0.03047, allocations: 39.98 kB / 388.9 MB, free: 7.633 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001483/0.03062, allocations: 105.9 kB / 389 MB, free: 7.527 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005538/0.03118, allocations: 450.9 kB / 389.5 MB, free: 7.082 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.004664/0.03584, allocations: 6.246 MB / 395.7 MB, free: 0.5547 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004952/0.03633, allocations: 391.5 kB / 396.1 MB, free: 144 kB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001719/0.03651, allocations: 170.5 kB / 396.3 MB, free: 15.96 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.944e-05/0.03656, allocations: 20.5 kB / 396.3 MB, free: 15.94 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003491/0.03691, allocations: 366.1 kB / 396.7 MB, free: 15.55 MB / 378.7 MB Notification: Performance of pre-optimization done (n=65): time 2.214e-06/0.03691, allocations: 0 / 396.7 MB, free: 15.55 MB / 378.7 MB Notification: Performance of matching and sorting (n=66): time 0.001553/0.03846, allocations: 1.215 MB / 397.9 MB, free: 14.26 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.69e-05/0.03853, allocations: 170.9 kB / 398 MB, free: 14.06 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004718/0.039, allocations: 0.6627 MB / 398.7 MB, free: 13.38 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.822e-05/0.03904, allocations: 45.83 kB / 398.7 MB, free: 13.33 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003076/0.03934, allocations: 0.5957 MB / 399.3 MB, free: 12.72 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001552/0.0395, allocations: 246 kB / 399.6 MB, free: 12.48 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002031/0.0397, allocations: 216.4 kB / 399.8 MB, free: 12.26 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000223/0.03993, allocations: 0.578 MB / 400.4 MB, free: 11.67 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001748/0.0401, allocations: 136.2 kB / 400.5 MB, free: 11.53 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000469/0.04057, allocations: 0.7784 MB / 401.3 MB, free: 10.47 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001066/0.04164, allocations: 1.01 MB / 402.3 MB, free: 9.168 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.017e-06/0.04165, allocations: 4 kB / 402.3 MB, free: 9.164 MB / 378.7 MB Notification: Performance of matching and sorting (n=136) (initialization): time 0.001203/0.04285, allocations: 0.9994 MB / 403.3 MB, free: 8.137 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.324e-05/0.04289, allocations: 41.69 kB / 403.3 MB, free: 8.09 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005067/0.0434, allocations: 416.6 kB / 403.7 MB, free: 7.672 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000412/0.04381, allocations: 191.2 kB / 403.9 MB, free: 7.477 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003717/0.04418, allocations: 215.6 kB / 404.1 MB, free: 7.266 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00224/0.04642, allocations: 3.998 MB / 408.1 MB, free: 3.047 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003404/0.04676, allocations: 40 kB / 408.2 MB, free: 3.008 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.884e-05/0.04683, allocations: 55.97 kB / 408.2 MB, free: 2.953 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.0002693/0.0471, allocations: 269.9 kB / 408.5 MB, free: 2.672 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.219e-05/0.04719, allocations: 103.5 kB / 408.6 MB, free: 2.57 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008609/0.04805, allocations: 0.5784 MB / 409.2 MB, free: 1.961 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.011e-06/0.04806, allocations: 11.98 kB / 409.2 MB, free: 1.949 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.405e-06/0.04806, allocations: 0 / 409.2 MB, free: 1.949 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.079e-06/0.04807, allocations: 0 / 409.2 MB, free: 1.949 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001161/0.04923, allocations: 1.159 MB / 410.3 MB, free: 0.7227 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/0.04923, allocations: 0 / 410.3 MB, free: 0.7227 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003161/0.04955, allocations: 136 kB / 410.5 MB, free: 0.5898 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.441e-06/0.04955, allocations: 8 kB / 410.5 MB, free: 0.582 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.583e-05/0.04958, allocations: 16 kB / 410.5 MB, free: 0.5664 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.4e-06/0.04958, allocations: 7.984 kB / 410.5 MB, free: 0.5586 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.338e-06/0.04959, allocations: 11.88 kB / 410.5 MB, free: 0.5469 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007082/0.0503, allocations: 0.9105 MB / 411.4 MB, free: 15.57 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001426/0.05044, allocations: 119.3 kB / 411.5 MB, free: 15.45 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.658e-05/0.05049, allocations: 16 kB / 411.6 MB, free: 15.44 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001501/0.05064, allocations: 20 kB / 411.6 MB, free: 15.42 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.076e-05/0.05071, allocations: 52.11 kB / 411.6 MB, free: 15.37 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.898e-05/0.05076, allocations: 35.95 kB / 411.7 MB, free: 15.34 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002067/0.05096, allocations: 362.9 kB / 412 MB, free: 14.99 MB / 394.7 MB Notification: Performance of sort global known variables: time 2e-08/0.05096, allocations: 0 / 412 MB, free: 14.99 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.000573/0.05153, allocations: 232 kB / 412.2 MB, free: 14.76 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.0001316/0.05167, allocations: 115.1 kB / 412.4 MB, free: 14.64 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0008642/0.05253, allocations: 1.043 MB / 413.4 MB, free: 13.54 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.467e-06/0.05253, allocations: 4 kB / 413.4 MB, free: 13.54 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002265/0.05276, allocations: 302.5 kB / 413.7 MB, free: 13.22 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004517/0.05321, allocations: 149.2 kB / 413.8 MB, free: 13.08 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002181/0.05539, allocations: 1.724 MB / 415.6 MB, free: 11.29 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002071/0.0556, allocations: 263.7 kB / 415.8 MB, free: 11 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0002646/0.05587, allocations: 106.7 kB / 415.9 MB, free: 10.89 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005699/0.05644, allocations: 230.1 kB / 416.2 MB, free: 10.67 MB / 394.7 MB Notification: Performance of SimCode: time 1.262e-06/0.05644, allocations: 0 / 416.2 MB, free: 10.67 MB / 394.7 MB Notification: Performance of Templates: time 0.01334/0.06977, allocations: 9.247 MB / 425.4 MB, free: 1.555 MB / 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.5689453929662704]