Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Source.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.AC3ph.Elementary.Source,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|meter.i.1.|meter.i.2.|meter.i.3.|meter.p.1.|meter.p.2.|meter.p.3.|meter.v.1.|meter.v.2.|meter.v.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Source") translateModel(PowerSystems.Examples.AC3ph.Elementary.Source,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|meter.i.1.|meter.i.2.|meter.i.3.|meter.p.1.|meter.p.2.|meter.p.3.|meter.v.1.|meter.v.2.|meter.v.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Source") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001486/0.001485, allocations: 180 kB / 17.4 MB, free: 4.289 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.457/1.457, allocations: 205.4 MB / 223.6 MB, free: 9.016 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008509/0.0008508, allocations: 85.05 kB / 271.9 MB, free: 8.246 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.1788/0.1788, allocations: 38.08 MB / 358.3 MB, free: 1.723 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003924/0.0003924, allocations: 15.98 kB / 425.2 MB, free: 37.36 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2846/0.285, allocations: 56.32 MB / 481.6 MB, free: 9.574 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1474/0.4324, allocations: 101.4 MB / 0.5694 GB, free: 0.7891 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003091/0.4327, allocations: 99.81 kB / 0.5694 GB, free: 0.6953 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04412/0.4769, allocations: 15.11 MB / 0.5842 GB, free: 1.406 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.485e-06/0.4769, allocations: 0 / 0.5842 GB, free: 1.406 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.815e-05/0.4769, allocations: 16 kB / 0.5842 GB, free: 1.391 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 119 * Number of variables: 119 Notification: Performance of Generate backend data structure: time 0.001321/0.4783, allocations: 0.7192 MB / 0.5849 GB, free: 0.6211 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.167e-05/0.4783, allocations: 8.031 kB / 0.5849 GB, free: 0.6133 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005725/0.4789, allocations: 96.22 kB / 0.585 GB, free: 0.5195 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001163/0.4801, allocations: 0.5497 MB / 0.5856 GB, free: 15.93 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.537e-05/0.4801, allocations: 33.31 kB / 0.5856 GB, free: 15.89 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.066e-05/0.4802, allocations: 36.36 kB / 0.5856 GB, free: 15.86 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001095/0.4813, allocations: 0.6763 MB / 0.5863 GB, free: 15.14 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.409e-05/0.4814, allocations: 3.938 kB / 0.5863 GB, free: 15.14 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.189e-05/0.4814, allocations: 23.97 kB / 0.5863 GB, free: 15.12 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001431/0.4816, allocations: 56.95 kB / 0.5864 GB, free: 15.06 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001023/0.4826, allocations: 0.6362 MB / 0.587 GB, free: 14.43 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003594/0.4862, allocations: 2.554 MB / 0.5895 GB, free: 11.74 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005603/0.4868, allocations: 325.4 kB / 0.5898 GB, free: 11.4 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003285/0.4871, allocations: 237.6 kB / 0.59 GB, free: 11.16 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.031e-05/0.4872, allocations: 4 kB / 0.59 GB, free: 11.16 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.496e-05/0.4872, allocations: 38.56 kB / 0.5901 GB, free: 11.11 MB / 426.7 MB Notification: Performance of pre-optimization done (n=43): time 2.816e-06/0.4872, allocations: 0 / 0.5901 GB, free: 11.11 MB / 426.7 MB Notification: Performance of matching and sorting (n=44): time 0.002316/0.4896, allocations: 1.413 MB / 0.5914 GB, free: 9.641 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.89e-05/0.4896, allocations: 92.98 kB / 0.5915 GB, free: 9.531 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003016/0.4899, allocations: 278.8 kB / 0.5918 GB, free: 9.25 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.692e-05/0.49, allocations: 33.7 kB / 0.5918 GB, free: 9.211 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001702/0.4902, allocations: 239.8 kB / 0.5921 GB, free: 8.969 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001109/0.4903, allocations: 149.8 kB / 0.5922 GB, free: 8.82 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.969e-05/0.4903, allocations: 8 kB / 0.5922 GB, free: 8.812 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001574/0.4905, allocations: 350.9 kB / 0.5925 GB, free: 8.461 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003018/0.4908, allocations: 200.9 kB / 0.5927 GB, free: 8.266 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003894/0.4912, allocations: 326.7 kB / 0.593 GB, free: 7.898 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007848/0.492, allocations: 0.5865 MB / 0.5936 GB, free: 7.262 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.295e-06/0.492, allocations: 0 / 0.5936 GB, free: 7.262 MB / 426.7 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001366/0.4934, allocations: 0.6937 MB / 0.5943 GB, free: 6.555 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.837e-05/0.4934, allocations: 7.984 kB / 0.5943 GB, free: 6.547 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001009/0.4944, allocations: 0.5268 MB / 0.5948 GB, free: 6.016 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004377/0.4949, allocations: 113.6 kB / 0.5949 GB, free: 5.898 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003548/0.4952, allocations: 75.88 kB / 0.595 GB, free: 5.824 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003037/0.4983, allocations: 3.01 MB / 0.5979 GB, free: 2.551 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003003/0.4986, allocations: 23.98 kB / 0.598 GB, free: 2.527 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.517e-05/0.4987, allocations: 23.92 kB / 0.598 GB, free: 2.504 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (43): * Single equations (assignments): 38 * Array equations: 3 * Algorithm blocks: 0 * 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 {(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004521/0.4992, allocations: 213.7 kB / 0.5982 GB, free: 2.285 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001119/0.4993, allocations: 31.62 kB / 0.5982 GB, free: 2.254 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009557/0.5003, allocations: 0.5163 MB / 0.5987 GB, free: 1.723 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.087e-05/0.5003, allocations: 19.97 kB / 0.5987 GB, free: 1.703 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.161e-06/0.5003, allocations: 7.938 kB / 0.5987 GB, free: 1.695 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.55e-06/0.5003, allocations: 7.938 kB / 0.5987 GB, free: 1.688 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001657/0.502, allocations: 1.081 MB / 0.5998 GB, free: 0.5469 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.338e-06/0.502, allocations: 3.938 kB / 0.5998 GB, free: 0.543 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004818/0.5025, allocations: 75.88 kB / 0.5999 GB, free: 480 kB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.808e-06/0.5025, allocations: 11.88 kB / 0.5999 GB, free: 468 kB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.308e-05/0.5026, allocations: 8 kB / 0.5999 GB, free: 460 kB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.749e-06/0.5026, allocations: 64 / 0.5999 GB, free: 460 kB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.04e-06/0.5026, allocations: 7.984 kB / 0.5999 GB, free: 452 kB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001146/0.5038, allocations: 0.8305 MB / 0.6007 GB, free: 15.58 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001869/0.504, allocations: 140.7 kB / 0.6009 GB, free: 15.43 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.879e-05/0.504, allocations: 8 kB / 0.6009 GB, free: 15.42 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002209/0.5043, allocations: 27.97 kB / 0.6009 GB, free: 15.39 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.456e-05/0.5043, allocations: 28.14 kB / 0.6009 GB, free: 15.36 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.524e-05/0.5044, allocations: 4 kB / 0.6009 GB, free: 15.36 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0002124/0.5046, allocations: 197.9 kB / 0.6011 GB, free: 15.17 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.5046, allocations: 0 / 0.6011 GB, free: 15.17 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0006008/0.5052, allocations: 131.9 kB / 0.6012 GB, free: 15.04 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (ind.i[1],ind.i[2],ind.i[3]) * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (31): * Single equations (assignments): 27 * Array equations: 3 * Algorithm blocks: 0 * 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.0002511/0.5055, allocations: 150.6 kB / 0.6014 GB, free: 14.89 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001156/0.5066, allocations: 0.7527 MB / 0.6021 GB, free: 14.11 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.5066, allocations: 0 / 0.6021 GB, free: 14.11 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003269/0.507, allocations: 248.9 kB / 0.6023 GB, free: 13.87 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000526/0.5075, allocations: 65.27 kB / 0.6024 GB, free: 13.81 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002017/0.5095, allocations: 1.37 MB / 0.6037 GB, free: 12.41 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005037/0.5101, allocations: 0.8782 MB / 0.6046 GB, free: 11.5 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0003253/0.5104, allocations: 103.1 kB / 0.6047 GB, free: 11.4 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.613e-05/0.5105, allocations: 35.42 kB / 0.6047 GB, free: 11.36 MB / 442.7 MB Notification: Performance of SimCode: time 6.61e-07/0.5105, allocations: 0 / 0.6047 GB, free: 11.36 MB / 442.7 MB Notification: Performance of Templates: time 0.008865/0.5194, allocations: 4.183 MB / 0.6088 GB, free: 7.191 MB / 442.7 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Source.makefile (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Source.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Source.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Source.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Source.sim & ./PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Source -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Source.pipe 2>&1) diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Source_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Elementary.Source.mat","../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Source.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches