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.0007167/0.0007168, allocations: 89.39 kB / 16.32 MB, free: 6.457 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.0007249/0.0007253, allocations: 180.2 kB / 17.21 MB, free: 6.328 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.199/1.199, allocations: 223.3 MB / 241.2 MB, free: 300 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1761/0.1761, allocations: 38.1 MB / 330.4 MB, free: 8.836 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002684/0.0002685, allocations: 8 kB / 400.1 MB, free: 34.49 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08676/0.08704, allocations: 59.17 MB / 459.2 MB, free: 7.391 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Transformer): time 0.006338/0.09342, allocations: 6.742 MB / 466 MB, free: 0.6172 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003871/0.09732, allocations: 2.599 MB / 468.6 MB, free: 14.01 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007138/0.09807, allocations: 43.69 kB / 468.6 MB, free: 13.97 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005345/0.09862, allocations: 198.6 kB / 468.8 MB, free: 13.77 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001324/0.09995, allocations: 0.6847 MB / 469.5 MB, free: 13.09 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009438/0.1009, allocations: 415.2 kB / 469.9 MB, free: 12.68 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001457/0.1024, allocations: 1.739 MB / 471.7 MB, free: 10.93 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000994/0.1034, allocations: 0.7018 MB / 472.4 MB, free: 10.2 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005818/0.104, allocations: 493.8 kB / 472.8 MB, free: 9.719 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009291/0.1049, allocations: 0.7946 MB / 473.6 MB, free: 8.922 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.487e-05/0.105, allocations: 40 kB / 473.7 MB, free: 8.883 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003758/0.1054, allocations: 179.7 kB / 473.8 MB, free: 8.707 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000406/0.1058, allocations: 498.8 kB / 474.3 MB, free: 8.219 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001732/0.106, allocations: 209.1 kB / 474.5 MB, free: 8.008 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007708/0.1068, allocations: 0.9742 MB / 475.5 MB, free: 7.031 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.1068, allocations: 0 / 475.5 MB, free: 7.031 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.263e-06/0.1068, allocations: 3.938 kB / 475.5 MB, free: 7.027 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.888e-06/0.1068, allocations: 4 kB / 475.5 MB, free: 7.023 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.001678/0.1085, allocations: 1.143 MB / 476.7 MB, free: 5.82 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.607e-05/0.1085, allocations: 12.03 kB / 476.7 MB, free: 5.809 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008595/0.1094, allocations: 198.5 kB / 476.9 MB, free: 5.613 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009184/0.1103, allocations: 0.6579 MB / 477.5 MB, free: 4.914 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.761e-05/0.1104, allocations: 69.94 kB / 477.6 MB, free: 4.844 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001714/0.1106, allocations: 87.98 kB / 477.7 MB, free: 4.758 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001692/0.1123, allocations: 1.384 MB / 479.1 MB, free: 3.273 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.73e-05/0.1123, allocations: 7.938 kB / 479.1 MB, free: 3.266 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.664e-05/0.1124, allocations: 35.98 kB / 479.1 MB, free: 3.23 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002267/0.1126, allocations: 121.8 kB / 479.2 MB, free: 3.109 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001509/0.1141, allocations: 1.089 MB / 480.3 MB, free: 2.023 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.005681/0.1198, allocations: 5.977 MB / 486.3 MB, free: 11.74 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009243/0.1208, allocations: 0.6983 MB / 487 MB, free: 11 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004122/0.1212, allocations: 315.3 kB / 487.3 MB, free: 10.69 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.259e-05/0.1212, allocations: 12.55 kB / 487.3 MB, free: 10.68 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006179/0.1219, allocations: 476.6 kB / 487.8 MB, free: 10.18 MB / 366.1 MB Notification: Performance of pre-optimization done (n=65): time 2.134e-06/0.1219, allocations: 3.938 kB / 487.8 MB, free: 10.18 MB / 366.1 MB Notification: Performance of matching and sorting (n=66): time 0.002952/0.1248, allocations: 2.144 MB / 489.9 MB, free: 7.961 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.621e-05/0.1249, allocations: 170.8 kB / 490.1 MB, free: 7.754 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006031/0.1255, allocations: 0.6328 MB / 490.7 MB, free: 7.113 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.844e-05/0.1256, allocations: 33.7 kB / 490.8 MB, free: 7.074 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003122/0.1259, allocations: 0.5329 MB / 491.3 MB, free: 6.531 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001545/0.1261, allocations: 228.8 kB / 491.5 MB, free: 6.305 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.242e-05/0.1261, allocations: 20 kB / 491.5 MB, free: 6.285 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001612/0.1263, allocations: 386.8 kB / 491.9 MB, free: 5.898 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004754/0.1268, allocations: 334.4 kB / 492.2 MB, free: 5.57 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007236/0.1275, allocations: 0.7659 MB / 493 MB, free: 4.605 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006317/0.1281, allocations: 0.4956 MB / 493.5 MB, free: 4.102 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.651e-06/0.1282, allocations: 4 kB / 493.5 MB, free: 4.098 MB / 366.1 MB Notification: Performance of matching and sorting (n=136) (initialization): time 0.002136/0.1303, allocations: 1.438 MB / 494.9 MB, free: 2.641 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.839e-05/0.1303, allocations: 37.7 kB / 495 MB, free: 2.598 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001251/0.1316, allocations: 0.7828 MB / 495.8 MB, free: 1.809 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006183/0.1322, allocations: 257.4 kB / 496 MB, free: 1.551 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006183/0.1329, allocations: 207.6 kB / 496.2 MB, free: 1.348 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003856/0.1367, allocations: 4.029 MB / 0.4885 GB, free: 13.05 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005052/0.1373, allocations: 67.84 kB / 0.4886 GB, free: 12.98 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.191e-05/0.1374, allocations: 68.05 kB / 0.4886 GB, free: 12.91 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,$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.0004808/0.1378, allocations: 403 kB / 0.489 GB, free: 12.5 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.654e-05/0.1379, allocations: 75.06 kB / 0.4891 GB, free: 12.43 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001213/0.1392, allocations: 0.8476 MB / 0.4899 GB, free: 11.56 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.613e-06/0.1392, allocations: 8 kB / 0.4899 GB, free: 11.55 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.874e-06/0.1392, allocations: 0 / 0.4899 GB, free: 11.55 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.825e-06/0.1392, allocations: 7.984 kB / 0.4899 GB, free: 11.55 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002257/0.1415, allocations: 1.76 MB / 0.4917 GB, free: 9.707 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.627e-06/0.1415, allocations: 160 / 0.4917 GB, free: 9.707 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006293/0.1421, allocations: 151.8 kB / 0.4918 GB, free: 9.559 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.564e-06/0.1421, allocations: 4 kB / 0.4918 GB, free: 9.555 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.477e-05/0.1422, allocations: 27.94 kB / 0.4918 GB, free: 9.527 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.17e-06/0.1422, allocations: 4 kB / 0.4918 GB, free: 9.523 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.794e-06/0.1422, allocations: 0 / 0.4918 GB, free: 9.523 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001536/0.1438, allocations: 1.305 MB / 0.4931 GB, free: 8.18 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002451/0.144, allocations: 200.2 kB / 0.4933 GB, free: 7.965 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.544e-05/0.1441, allocations: 19.98 kB / 0.4933 GB, free: 7.945 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000316/0.1444, allocations: 39.92 kB / 0.4934 GB, free: 7.906 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.733e-05/0.1445, allocations: 36.52 kB / 0.4934 GB, free: 7.871 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.358e-05/0.1446, allocations: 43.95 kB / 0.4934 GB, free: 7.828 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004207/0.145, allocations: 427 kB / 0.4938 GB, free: 7.414 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.145, allocations: 0 / 0.4938 GB, free: 7.414 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008186/0.1459, allocations: 232 kB / 0.4941 GB, free: 7.188 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 (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.0001427/0.146, allocations: 127.1 kB / 0.4942 GB, free: 7.055 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001597/0.1476, allocations: 1.214 MB / 0.4954 GB, free: 5.809 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/0.1476, allocations: 3.938 kB / 0.4954 GB, free: 5.805 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005205/0.1482, allocations: 463 kB / 0.4958 GB, free: 5.34 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006562/0.1488, allocations: 122.9 kB / 0.4959 GB, free: 5.223 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002877/0.1517, allocations: 2.374 MB / 0.4983 GB, free: 2.801 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000622/0.1524, allocations: 1.119 MB / 0.4994 GB, free: 1.656 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.000685/0.153, allocations: 294.4 kB / 0.4996 GB, free: 1.363 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001417/0.1532, allocations: 55.42 kB / 0.4997 GB, free: 1.309 MB / 382.1 MB Notification: Performance of SimCode: time 4.11e-07/0.1532, allocations: 0 / 0.4997 GB, free: 1.309 MB / 382.1 MB Notification: Performance of Templates: time 0.182/0.3352, allocations: 7.831 MB / 0.5073 GB, free: 54.34 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