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.0006792/0.0006793, allocations: 91.75 kB / 16.65 MB, free: 6.602 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.0007182/0.0007182, allocations: 184.3 kB / 17.56 MB, free: 6.199 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.186/1.186, allocations: 223.3 MB / 241.6 MB, free: 184 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1588/0.1588, allocations: 38.08 MB / 330.8 MB, free: 8.75 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002904/0.0002904, allocations: 11.98 kB / 400.7 MB, free: 34.15 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08515/0.08546, allocations: 59.16 MB / 459.9 MB, free: 7.062 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Transformer): time 0.006744/0.09223, allocations: 7.146 MB / 467 MB, free: 15.88 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004208/0.09647, allocations: 2.75 MB / 469.8 MB, free: 13.12 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007529/0.09725, allocations: 39.69 kB / 469.8 MB, free: 13.08 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006467/0.09791, allocations: 198.8 kB / 470 MB, free: 12.89 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001478/0.09941, allocations: 0.6423 MB / 470.7 MB, free: 12.24 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009119/0.1003, allocations: 399.3 kB / 471 MB, free: 11.85 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001788/0.1021, allocations: 2.293 MB / 473.3 MB, free: 9.551 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001054/0.1032, allocations: 0.7609 MB / 474.1 MB, free: 8.758 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005192/0.1037, allocations: 473.8 kB / 474.6 MB, free: 8.293 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009433/0.1047, allocations: 0.8139 MB / 475.4 MB, free: 7.477 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.397e-05/0.1048, allocations: 36 kB / 475.4 MB, free: 7.441 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004311/0.1052, allocations: 275.5 kB / 475.7 MB, free: 7.172 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003883/0.1056, allocations: 486.8 kB / 476.2 MB, free: 6.695 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004098/0.106, allocations: 0.4952 MB / 476.7 MB, free: 6.191 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001018/0.1071, allocations: 1.269 MB / 477.9 MB, free: 4.918 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.1071, allocations: 4 kB / 477.9 MB, free: 4.914 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.1071, allocations: 0 / 477.9 MB, free: 4.914 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.019e-05/0.1071, allocations: 0 / 477.9 MB, free: 4.914 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.001783/0.1089, allocations: 1.128 MB / 479.1 MB, free: 3.727 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.314e-05/0.1089, allocations: 11.97 kB / 479.1 MB, free: 3.715 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009223/0.1099, allocations: 203.4 kB / 479.3 MB, free: 3.516 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009332/0.1108, allocations: 0.6861 MB / 479.9 MB, free: 2.789 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.435e-05/0.1109, allocations: 62.36 kB / 480 MB, free: 2.727 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001971/0.1111, allocations: 96.09 kB / 480.1 MB, free: 2.633 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001738/0.1128, allocations: 1.384 MB / 481.5 MB, free: 1.148 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.811e-05/0.1128, allocations: 3.938 kB / 481.5 MB, free: 1.145 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.352e-05/0.1129, allocations: 43.97 kB / 481.5 MB, free: 1.102 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002462/0.1132, allocations: 117.9 kB / 481.7 MB, free: 0.9844 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001472/0.1147, allocations: 1.093 MB / 482.7 MB, free: 15.89 MB / 366.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.005789/0.1205, allocations: 5.965 MB / 488.7 MB, free: 9.617 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000932/0.1214, allocations: 0.7096 MB / 489.4 MB, free: 8.875 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004022/0.1218, allocations: 323.3 kB / 489.7 MB, free: 8.555 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.97e-05/0.1219, allocations: 12.48 kB / 489.7 MB, free: 8.543 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005815/0.1225, allocations: 480.9 kB / 490.2 MB, free: 8.039 MB / 366.1 MB Notification: Performance of pre-optimization done (n=65): time 1.924e-06/0.1225, allocations: 0 / 490.2 MB, free: 8.039 MB / 366.1 MB Notification: Performance of matching and sorting (n=66): time 0.002925/0.1254, allocations: 2.152 MB / 492.4 MB, free: 5.812 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.404e-05/0.1255, allocations: 174.8 kB / 492.5 MB, free: 5.605 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006174/0.1261, allocations: 0.6327 MB / 493.2 MB, free: 4.965 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.361e-05/0.1262, allocations: 37.7 kB / 493.2 MB, free: 4.922 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003175/0.1265, allocations: 0.5289 MB / 493.7 MB, free: 4.383 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001579/0.1267, allocations: 228.9 kB / 494 MB, free: 4.156 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000111/0.1268, allocations: 89.67 kB / 494 MB, free: 4.062 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001467/0.1269, allocations: 394.7 kB / 494.4 MB, free: 3.668 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000485/0.1274, allocations: 338.4 kB / 494.8 MB, free: 3.336 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007246/0.1282, allocations: 0.7698 MB / 495.5 MB, free: 2.367 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001303/0.1295, allocations: 1.248 MB / 496.8 MB, free: 0.9023 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.972e-06/0.1295, allocations: 4 kB / 496.8 MB, free: 0.8984 MB / 366.1 MB Notification: Performance of matching and sorting (n=136) (initialization): time 0.002199/0.1317, allocations: 1.431 MB / 498.2 MB, free: 15.45 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.147e-05/0.1317, allocations: 49.56 kB / 498.3 MB, free: 15.39 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001299/0.133, allocations: 0.7897 MB / 499.1 MB, free: 14.59 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006475/0.1337, allocations: 256.6 kB / 499.3 MB, free: 14.34 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006064/0.1343, allocations: 219.6 kB / 499.5 MB, free: 14.12 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003777/0.1381, allocations: 4.035 MB / 0.4918 GB, free: 9.82 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004924/0.1386, allocations: 55.91 kB / 0.4918 GB, free: 9.766 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.027e-05/0.1387, allocations: 68.03 kB / 0.4919 GB, free: 9.699 MB / 382.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,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.0004332/0.1392, allocations: 398.8 kB / 0.4923 GB, free: 9.293 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.056e-05/0.1393, allocations: 79.06 kB / 0.4923 GB, free: 9.215 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001188/0.1405, allocations: 0.84 MB / 0.4931 GB, free: 8.352 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.121e-06/0.1405, allocations: 12 kB / 0.4932 GB, free: 8.34 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.964e-06/0.1405, allocations: 0 / 0.4932 GB, free: 8.34 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.107e-06/0.1405, allocations: 11.86 kB / 0.4932 GB, free: 8.328 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002251/0.1428, allocations: 1.76 MB / 0.4949 GB, free: 6.492 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.258e-06/0.1428, allocations: 7.938 kB / 0.4949 GB, free: 6.484 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006263/0.1434, allocations: 147.8 kB / 0.495 GB, free: 6.34 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.462e-06/0.1434, allocations: 7.984 kB / 0.495 GB, free: 6.332 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.318e-05/0.1435, allocations: 24 kB / 0.4951 GB, free: 6.309 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.016e-06/0.1435, allocations: 4 kB / 0.4951 GB, free: 6.305 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.495e-06/0.1435, allocations: 7.938 kB / 0.4951 GB, free: 6.297 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00153/0.145, allocations: 1.301 MB / 0.4963 GB, free: 4.953 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002259/0.1453, allocations: 208 kB / 0.4965 GB, free: 4.73 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.711e-05/0.1453, allocations: 16 kB / 0.4966 GB, free: 4.715 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003327/0.1457, allocations: 35.97 kB / 0.4966 GB, free: 4.68 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.752e-05/0.1458, allocations: 52.38 kB / 0.4966 GB, free: 4.629 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.44e-05/0.1459, allocations: 39.95 kB / 0.4967 GB, free: 4.59 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004114/0.1463, allocations: 427 kB / 0.4971 GB, free: 4.176 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1463, allocations: 0 / 0.4971 GB, free: 4.176 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0007083/0.147, allocations: 232 kB / 0.4973 GB, free: 3.949 MB / 382.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 (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.0001314/0.1471, allocations: 123.2 kB / 0.4974 GB, free: 3.82 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001594/0.1487, allocations: 1.237 MB / 0.4986 GB, free: 2.547 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.1488, allocations: 64 / 0.4986 GB, free: 2.547 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005186/0.1493, allocations: 474.3 kB / 0.4991 GB, free: 2.074 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007732/0.1501, allocations: 123.2 kB / 0.4992 GB, free: 1.957 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1665/0.3165, allocations: 2.443 MB / 0.5016 GB, free: 55.45 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006999/0.3173, allocations: 1.113 MB / 0.5027 GB, free: 54.75 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0008128/0.3181, allocations: 289.8 kB / 0.503 GB, free: 54.74 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001588/0.3183, allocations: 59.22 kB / 0.503 GB, free: 54.73 MB / 382.1 MB Notification: Performance of SimCode: time 8.52e-07/0.3183, allocations: 1.062 kB / 0.503 GB, free: 54.73 MB / 382.1 MB Notification: Performance of Templates: time 0.01387/0.3321, allocations: 8.034 MB / 0.5109 GB, free: 53.73 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