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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo", uses=false) Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.AC3ph.Elementary.Transformer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|meter1.i.1.|meter1.i.2.|meter1.i.3.|meter1.p.1.|meter1.p.2.|meter1.p.3.|meter1.v.1.|meter1.v.2.|meter1.v.3.|meter2.i.1.|meter2.i.2.|meter2.i.3.|meter2.p.1.|meter2.p.2.|meter2.p.3.|meter2.v.1.|meter2.v.2.|meter2.v.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Transformer") translateModel(PowerSystems.Examples.AC3ph.Elementary.Transformer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|meter1.i.1.|meter1.i.2.|meter1.i.3.|meter1.p.1.|meter1.p.2.|meter1.p.3.|meter1.v.1.|meter1.v.2.|meter1.v.3.|meter2.i.1.|meter2.i.2.|meter2.i.3.|meter2.p.1.|meter2.p.2.|meter2.p.3.|meter2.v.1.|meter2.v.2.|meter2.v.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Transformer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008792/0.0008792, allocations: 89.94 kB / 16.3 MB, free: 5.996 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001319/0.00132, allocations: 184.4 kB / 17.2 MB, free: 5.914 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.22/1.22, allocations: 223.2 MB / 241.1 MB, free: 5.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.263/0.263, allocations: 38.07 MB / 330.3 MB, free: 14.2 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002877/0.0002878, allocations: 12 kB / 400 MB, free: 9.258 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2404/0.2407, allocations: 59.16 MB / 459.1 MB, free: 30.06 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Transformer): time 0.005438/0.2462, allocations: 6.451 MB / 465.6 MB, free: 25.5 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004006/0.2502, allocations: 2.604 MB / 468.2 MB, free: 23.67 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005172/0.2508, allocations: 38.44 kB / 468.2 MB, free: 23.65 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005077/0.2513, allocations: 192.9 kB / 468.4 MB, free: 23.55 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001329/0.2526, allocations: 0.5155 MB / 468.9 MB, free: 23.24 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001054/0.2537, allocations: 410.3 kB / 469.3 MB, free: 23.07 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007981/0.2545, allocations: 0.6315 MB / 470 MB, free: 22.77 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009545/0.2555, allocations: 0.7071 MB / 470.7 MB, free: 22.36 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005013/0.256, allocations: 397.6 kB / 471.1 MB, free: 22.18 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007265/0.2567, allocations: 0.5127 MB / 471.6 MB, free: 22.02 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.444e-05/0.2568, allocations: 37.19 kB / 471.6 MB, free: 22.02 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004009/0.2572, allocations: 168.7 kB / 471.8 MB, free: 21.99 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000414/0.2576, allocations: 456.8 kB / 472.2 MB, free: 21.87 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001817/0.2578, allocations: 211 kB / 472.4 MB, free: 21.75 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009547/0.2588, allocations: 0.9799 MB / 473.4 MB, free: 21.53 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.084e-06/0.2588, allocations: 0 / 473.4 MB, free: 21.53 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.2588, allocations: 1.281 kB / 473.4 MB, free: 21.53 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.454e-05/0.2588, allocations: 0 / 473.4 MB, free: 21.53 MB / 350.1 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.001829/0.2607, allocations: 1.144 MB / 474.5 MB, free: 20.74 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.128e-05/0.2607, allocations: 9.438 kB / 474.6 MB, free: 20.74 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009905/0.2617, allocations: 219.4 kB / 474.8 MB, free: 20.68 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001062/0.2628, allocations: 0.6503 MB / 475.4 MB, free: 20.25 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.491e-05/0.2628, allocations: 66.94 kB / 475.5 MB, free: 20.22 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001828/0.263, allocations: 95.09 kB / 475.6 MB, free: 20.18 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001639/0.2647, allocations: 1.365 MB / 476.9 MB, free: 19.27 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.908e-05/0.2647, allocations: 8 kB / 477 MB, free: 19.27 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.155e-05/0.2648, allocations: 37.95 kB / 477 MB, free: 19.24 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002454/0.2651, allocations: 118.9 kB / 477.1 MB, free: 19.2 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001457/0.2665, allocations: 1.081 MB / 478.2 MB, free: 18.69 MB / 350.1 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.005354/0.2719, allocations: 5.952 MB / 484.1 MB, free: 13.59 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001005/0.2729, allocations: 0.7208 MB / 484.9 MB, free: 13.16 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.126e-05/0.273, allocations: 23 kB / 484.9 MB, free: 13.15 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005266/0.2735, allocations: 471.4 kB / 485.3 MB, free: 12.82 MB / 350.1 MB Notification: Performance of pre-optimization done (n=65): time 2.294e-06/0.2735, allocations: 0 / 485.3 MB, free: 12.82 MB / 350.1 MB Notification: Performance of matching and sorting (n=66): time 0.00265/0.2762, allocations: 2.217 MB / 487.6 MB, free: 10.76 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.412e-05/0.2762, allocations: 174.9 kB / 487.7 MB, free: 10.55 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005269/0.2768, allocations: 0.6289 MB / 488.4 MB, free: 9.914 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.771e-05/0.2768, allocations: 37.7 kB / 488.4 MB, free: 9.871 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002227/0.277, allocations: 0.5288 MB / 488.9 MB, free: 9.332 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001099/0.2772, allocations: 224.8 kB / 489.1 MB, free: 9.109 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.52e-05/0.2772, allocations: 20 kB / 489.2 MB, free: 9.09 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 8.179e-05/0.2773, allocations: 386.8 kB / 489.5 MB, free: 8.703 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003768/0.2777, allocations: 334.4 kB / 489.9 MB, free: 8.375 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005015/0.2782, allocations: 0.762 MB / 490.6 MB, free: 7.41 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005012/0.2787, allocations: 0.4917 MB / 491.1 MB, free: 6.914 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.199e-06/0.2787, allocations: 4 kB / 491.1 MB, free: 6.91 MB / 350.1 MB Notification: Performance of matching and sorting (n=136) (initialization): time 0.001805/0.2805, allocations: 1.431 MB / 492.6 MB, free: 5.461 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.032e-05/0.2806, allocations: 37.7 kB / 492.6 MB, free: 5.418 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00106/0.2816, allocations: 0.7781 MB / 493.4 MB, free: 4.633 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005769/0.2822, allocations: 253.5 kB / 493.6 MB, free: 4.379 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006103/0.2828, allocations: 223.6 kB / 493.8 MB, free: 4.16 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003083/0.2859, allocations: 4.135 MB / 498 MB, free: 15.75 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006739/0.2866, allocations: 60.03 kB / 498 MB, free: 15.7 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.142e-05/0.2867, allocations: 71.86 kB / 498.1 MB, free: 15.62 MB / 366.1 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,$whenCondition1,$whenCondition2,$PRE.tapChanger.cnt_1,tapChanger.cnt_1,$PRE.tapChanger.cnt_2,tapChanger.cnt_2,$PRE.tapChanger.tap_1,tapChanger.tap_1,$PRE.tapChanger.tap_2,tapChanger.tap_2) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 12,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000562/0.2873, allocations: 391 kB / 498.5 MB, free: 15.23 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.251e-05/0.2874, allocations: 75.06 kB / 498.6 MB, free: 15.15 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001296/0.2887, allocations: 0.8515 MB / 499.4 MB, free: 14.28 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.988e-06/0.2887, allocations: 8 kB / 499.4 MB, free: 14.27 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.2887, allocations: 0 / 499.4 MB, free: 14.27 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.666e-06/0.2887, allocations: 3.984 kB / 499.4 MB, free: 14.27 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002679/0.2914, allocations: 1.764 MB / 0.4894 GB, free: 12.43 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.677e-06/0.2914, allocations: 0 / 0.4894 GB, free: 12.43 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006958/0.2921, allocations: 159.8 kB / 0.4896 GB, free: 12.27 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.604e-06/0.2922, allocations: 4 kB / 0.4896 GB, free: 12.27 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.528e-05/0.2922, allocations: 20.14 kB / 0.4896 GB, free: 12.25 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.053e-06/0.2922, allocations: 11.95 kB / 0.4896 GB, free: 12.23 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/0.2922, allocations: 0 / 0.4896 GB, free: 12.23 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001578/0.2938, allocations: 1.354 MB / 0.4909 GB, free: 10.8 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003369/0.2942, allocations: 208.1 kB / 0.4911 GB, free: 10.58 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.682e-05/0.2943, allocations: 16 kB / 0.4912 GB, free: 10.57 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003392/0.2946, allocations: 39.92 kB / 0.4912 GB, free: 10.53 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.178e-05/0.2947, allocations: 40.5 kB / 0.4912 GB, free: 10.49 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.739e-05/0.2948, allocations: 43.91 kB / 0.4913 GB, free: 10.45 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004627/0.2953, allocations: 423 kB / 0.4917 GB, free: 10.04 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.154e-06/0.2953, allocations: 0 / 0.4917 GB, free: 10.04 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0009033/0.2962, allocations: 231.9 kB / 0.4919 GB, free: 9.809 MB / 366.1 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001507/0.2963, allocations: 123.2 kB / 0.492 GB, free: 9.68 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001679/0.298, allocations: 1.212 MB / 0.4932 GB, free: 8.438 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.298, allocations: 0 / 0.4932 GB, free: 8.438 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005172/0.2986, allocations: 466.8 kB / 0.4936 GB, free: 7.969 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005536/0.2991, allocations: 121.2 kB / 0.4938 GB, free: 7.855 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003067/0.3022, allocations: 2.354 MB / 0.4961 GB, free: 5.457 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007068/0.3029, allocations: 1.131 MB / 0.4972 GB, free: 4.293 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0006954/0.3036, allocations: 294.4 kB / 0.4974 GB, free: 4 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001356/0.3038, allocations: 55.44 kB / 0.4975 GB, free: 3.945 MB / 366.1 MB Notification: Performance of SimCode: time 7.52e-07/0.3038, allocations: 0 / 0.4975 GB, free: 3.945 MB / 366.1 MB Notification: Performance of Templates: time 0.01284/0.3166, allocations: 7.799 MB / 0.5051 GB, free: 12.2 MB / 382.1 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Transformer.makefile Environment - environmentSimulation: (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=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Transformer.pipe 2>&1) Environment - environmentSimulation: diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Transformer_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Elementary.Transformer.mat","../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Transformer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches