Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Impedance.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.Impedance,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.Impedance") translateModel(PowerSystems.Examples.AC3ph.Elementary.Impedance,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.Impedance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001222/0.001222, allocations: 180.2 kB / 16.38 MB, free: 5.762 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.365/1.365, allocations: 205.4 MB / 222.5 MB, free: 9.117 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.000769/0.0007689, allocations: 101.4 kB / 270.9 MB, free: 8.355 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.1642/0.1642, allocations: 38.07 MB / 357.2 MB, free: 1.875 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003042/0.0003042, allocations: 8 kB / 424 MB, free: 37.69 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2941/0.2944, allocations: 56.32 MB / 480.3 MB, free: 9.547 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1344/0.4289, allocations: 100.9 MB / 0.5676 GB, free: 1.5 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003139/0.4293, allocations: 95.94 kB / 0.5677 GB, free: 1.406 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03354/0.4629, allocations: 12.57 MB / 0.58 GB, free: 4.703 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.402e-06/0.4629, allocations: 0 / 0.58 GB, free: 4.703 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.685e-05/0.4629, allocations: 12 kB / 0.58 GB, free: 4.691 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: 113 * Number of variables: 113 Notification: Performance of Generate backend data structure: time 0.001189/0.4641, allocations: 0.7232 MB / 0.5807 GB, free: 3.914 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.93e-05/0.4642, allocations: 12.03 kB / 0.5807 GB, free: 3.902 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005132/0.4647, allocations: 91.28 kB / 0.5808 GB, free: 3.812 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002093/0.4668, allocations: 0.8692 MB / 0.5816 GB, free: 2.898 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.129e-05/0.4669, allocations: 29 kB / 0.5817 GB, free: 2.871 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.426e-05/0.4669, allocations: 40 kB / 0.5817 GB, free: 2.832 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008351/0.4678, allocations: 0.6255 MB / 0.5823 GB, free: 2.141 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.823e-05/0.4678, allocations: 0 / 0.5823 GB, free: 2.141 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.472e-05/0.4679, allocations: 23.94 kB / 0.5823 GB, free: 2.117 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.893e-05/0.4679, allocations: 28.98 kB / 0.5824 GB, free: 2.086 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006285/0.4685, allocations: 451.4 kB / 0.5828 GB, free: 1.648 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003117/0.4717, allocations: 2.93 MB / 0.5857 GB, free: 14.57 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003205/0.472, allocations: 197.1 kB / 0.5858 GB, free: 14.36 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.853e-05/0.4721, allocations: 12.16 kB / 0.5859 GB, free: 14.34 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.148e-05/0.4721, allocations: 46.45 kB / 0.5859 GB, free: 14.29 MB / 426.7 MB Notification: Performance of pre-optimization done (n=24): time 2.855e-06/0.4721, allocations: 0 / 0.5859 GB, free: 14.29 MB / 426.7 MB Notification: Performance of matching and sorting (n=25): time 0.001627/0.4738, allocations: 1.04 MB / 0.5869 GB, free: 13.17 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.159e-05/0.4738, allocations: 77.3 kB / 0.587 GB, free: 13.08 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003001/0.4741, allocations: 291.7 kB / 0.5873 GB, free: 12.79 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.536e-05/0.4742, allocations: 33.7 kB / 0.5873 GB, free: 12.75 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001627/0.4744, allocations: 291.1 kB / 0.5876 GB, free: 12.46 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.552e-05/0.4744, allocations: 90.73 kB / 0.5877 GB, free: 12.37 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.035e-05/0.4745, allocations: 12 kB / 0.5877 GB, free: 12.36 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001157/0.4746, allocations: 342.8 kB / 0.588 GB, free: 12.01 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002011/0.4748, allocations: 144.8 kB / 0.5881 GB, free: 11.87 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002946/0.4751, allocations: 329.2 kB / 0.5885 GB, free: 11.47 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002706/0.4754, allocations: 208.9 kB / 0.5887 GB, free: 11.27 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.676e-06/0.4754, allocations: 4 kB / 0.5887 GB, free: 11.26 MB / 426.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0009603/0.4763, allocations: 0.5861 MB / 0.5892 GB, free: 10.67 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.598e-05/0.4764, allocations: 8 kB / 0.5892 GB, free: 10.66 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005459/0.4769, allocations: 324.5 kB / 0.5895 GB, free: 10.34 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003378/0.4773, allocations: 89.33 kB / 0.5896 GB, free: 10.25 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003329/0.4776, allocations: 95.81 kB / 0.5897 GB, free: 10.16 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001504/0.4791, allocations: 1.612 MB / 0.5913 GB, free: 8.41 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002828/0.4794, allocations: 23.98 kB / 0.5913 GB, free: 8.387 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.977e-05/0.4795, allocations: 16 kB / 0.5913 GB, free: 8.371 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * 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 (48): * Single equations (assignments): 46 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002768/0.4798, allocations: 213.6 kB / 0.5915 GB, free: 8.152 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.543e-05/0.4798, allocations: 31.62 kB / 0.5916 GB, free: 8.121 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005712/0.4804, allocations: 360.7 kB / 0.5919 GB, free: 7.758 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.507e-05/0.4804, allocations: 4 kB / 0.5919 GB, free: 7.754 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.322e-06/0.4804, allocations: 0 / 0.5919 GB, free: 7.754 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.664e-06/0.4804, allocations: 7.953 kB / 0.5919 GB, free: 7.746 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001407/0.4819, allocations: 0.8642 MB / 0.5928 GB, free: 6.82 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.387e-06/0.4819, allocations: 8.062 kB / 0.5928 GB, free: 6.812 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003145/0.4822, allocations: 59.89 kB / 0.5928 GB, free: 6.754 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.073e-06/0.4822, allocations: 3.953 kB / 0.5928 GB, free: 6.75 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.722e-05/0.4822, allocations: 12 kB / 0.5928 GB, free: 6.738 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.552e-06/0.4823, allocations: 7.984 kB / 0.5929 GB, free: 6.73 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.4823, allocations: 0 / 0.5929 GB, free: 6.73 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007075/0.483, allocations: 0.5886 MB / 0.5934 GB, free: 6.098 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.205e-05/0.4831, allocations: 104.7 kB / 0.5935 GB, free: 5.977 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.974e-05/0.4831, allocations: 4.094 kB / 0.5935 GB, free: 5.973 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001903/0.4833, allocations: 20.02 kB / 0.5936 GB, free: 5.953 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.78e-05/0.4834, allocations: 15.97 kB / 0.5936 GB, free: 5.938 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.979e-05/0.4834, allocations: 12 kB / 0.5936 GB, free: 5.926 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0002145/0.4836, allocations: 227 kB / 0.5938 GB, free: 5.703 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4836, allocations: 0 / 0.5938 GB, free: 5.703 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0005322/0.4842, allocations: 115.9 kB / 0.5939 GB, free: 5.59 MB / 426.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 (25): * Single equations (assignments): 23 * Array equations: 1 * 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.0002129/0.4844, allocations: 119.2 kB / 0.594 GB, free: 5.465 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0008467/0.4852, allocations: 497.1 kB / 0.5945 GB, free: 4.969 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.105e-06/0.4853, allocations: 0 / 0.5945 GB, free: 4.969 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002019/0.4855, allocations: 139.9 kB / 0.5946 GB, free: 4.832 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004032/0.4859, allocations: 62.59 kB / 0.5947 GB, free: 4.773 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001566/0.4875, allocations: 1.246 MB / 0.5959 GB, free: 3.496 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004226/0.4879, allocations: 0.8776 MB / 0.5968 GB, free: 2.59 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0002923/0.4882, allocations: 111.2 kB / 0.5969 GB, free: 2.48 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.964e-05/0.4883, allocations: 27.44 kB / 0.5969 GB, free: 2.453 MB / 426.7 MB Notification: Performance of SimCode: time 5.31e-07/0.4883, allocations: 4 kB / 0.5969 GB, free: 2.449 MB / 426.7 MB Notification: Performance of Templates: time 0.007051/0.4953, allocations: 3.452 MB / 0.6003 GB, free: 15 MB / 442.7 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Impedance.makefile (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Impedance.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Impedance.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Impedance.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Impedance.sim & ./PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Impedance -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Impedance.pipe 2>&1) diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Impedance_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Elementary.Impedance.mat","../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Impedance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches