Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.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.AC1ph_DC.Elementary.Impedance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1480,variableFilter="Time|meter.i|meter.p|meter.v",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance") translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.Impedance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1480,variableFilter="Time|meter.i|meter.p|meter.v",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001327/0.001327, allocations: 176.2 kB / 8.348 MB, free: 0.7266 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.465/1.465, allocations: 205.3 MB / 214.1 MB, free: 14.13 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008295/0.0008295, allocations: 77.97 kB / 262.1 MB, free: 13.88 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.1691/0.1691, allocations: 38 MB / 348 MB, free: 7.77 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 1.532e-05/1.536e-05, allocations: 7.984 kB / 410.6 MB, free: 46.95 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09562/0.09565, allocations: 56.33 MB / 466.9 MB, free: 6.566 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3798/0.4755, allocations: 94.53 MB / 0.5483 GB, free: 416 kB / 379.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000289/0.4759, allocations: 93.5 kB / 0.5484 GB, free: 324 kB / 379.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.02149/0.4974, allocations: 7.328 MB / 0.5555 GB, free: 8.914 MB / 395.1 MB Notification: Performance of FrontEnd: time 1.803e-06/0.4974, allocations: 0 / 0.5555 GB, free: 8.914 MB / 395.1 MB Notification: Performance of Transformations before backend: time 2.44e-05/0.4975, allocations: 8 kB / 0.5555 GB, free: 8.906 MB / 395.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.0009017/0.4984, allocations: 0.5747 MB / 0.5561 GB, free: 8.289 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.789e-05/0.4984, allocations: 12.03 kB / 0.5561 GB, free: 8.277 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.772e-05/0.4985, allocations: 43.81 kB / 0.5561 GB, free: 8.234 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002037/0.5006, allocations: 0.8047 MB / 0.5569 GB, free: 7.391 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.8e-05/0.5006, allocations: 11.94 kB / 0.5569 GB, free: 7.379 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.875e-05/0.5007, allocations: 16 kB / 0.557 GB, free: 7.363 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004073/0.5011, allocations: 209 kB / 0.5572 GB, free: 7.16 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004906/0.5016, allocations: 303.6 kB / 0.5574 GB, free: 6.832 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.391e-05/0.5016, allocations: 0 / 0.5574 GB, free: 6.832 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.737e-05/0.5017, allocations: 0 / 0.5574 GB, free: 6.832 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.529e-05/0.5017, allocations: 8 kB / 0.5575 GB, free: 6.824 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00188/0.5036, allocations: 1.311 MB / 0.5587 GB, free: 5.434 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003675/0.504, allocations: 153 kB / 0.5589 GB, free: 5.266 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001956/0.5042, allocations: 101.7 kB / 0.559 GB, free: 5.16 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.391e-05/0.5042, allocations: 0 / 0.559 GB, free: 5.16 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.522e-05/0.5042, allocations: 38.56 kB / 0.559 GB, free: 5.113 MB / 395.1 MB Notification: Performance of pre-optimization done (n=14): time 1.553e-06/0.5043, allocations: 0 / 0.559 GB, free: 5.113 MB / 395.1 MB Notification: Performance of matching and sorting (n=15): time 0.00107/0.5053, allocations: 0.5741 MB / 0.5596 GB, free: 4.484 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.669e-05/0.5054, allocations: 81.11 kB / 0.5597 GB, free: 4.387 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002754/0.5057, allocations: 253.1 kB / 0.5599 GB, free: 4.133 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 2.04e-05/0.5057, allocations: 25.7 kB / 0.5599 GB, free: 4.102 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001361/0.5059, allocations: 211.8 kB / 0.5601 GB, free: 3.891 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.473e-05/0.5059, allocations: 55.2 kB / 0.5602 GB, free: 3.836 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.877e-06/0.5059, allocations: 0 / 0.5602 GB, free: 3.836 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 0.0001512/0.5061, allocations: 334.8 kB / 0.5605 GB, free: 3.5 MB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001047/0.5062, allocations: 67.91 kB / 0.5606 GB, free: 3.434 MB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001801/0.5064, allocations: 149.9 kB / 0.5607 GB, free: 3.242 MB / 395.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001451/0.5065, allocations: 83.83 kB / 0.5608 GB, free: 3.16 MB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/0.5065, allocations: 4 kB / 0.5608 GB, free: 3.156 MB / 395.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.000471/0.507, allocations: 273.8 kB / 0.561 GB, free: 2.879 MB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.371e-05/0.5071, allocations: 11.95 kB / 0.5611 GB, free: 2.867 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.219e-05/0.5071, allocations: 4 kB / 0.5611 GB, free: 2.863 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002324/0.5073, allocations: 57.19 kB / 0.5611 GB, free: 2.805 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001834/0.5075, allocations: 47.92 kB / 0.5612 GB, free: 2.758 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001284/0.5088, allocations: 1.408 MB / 0.5625 GB, free: 1.234 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001325/0.509, allocations: 4 kB / 0.5625 GB, free: 1.23 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.145e-05/0.509, allocations: 12 kB / 0.5625 GB, free: 1.219 MB / 395.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (28): * Single equations (assignments): 27 * Array equations: 0 * 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%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001088/0.5091, allocations: 120.8 kB / 0.5627 GB, free: 1.094 MB / 395.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.261e-05/0.5092, allocations: 27.62 kB / 0.5627 GB, free: 1.066 MB / 395.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003816/0.5096, allocations: 218.5 kB / 0.5629 GB, free: 0.8438 MB / 395.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.555e-06/0.5096, allocations: 4.094 kB / 0.5629 GB, free: 0.8398 MB / 395.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.676e-06/0.5096, allocations: 11.97 kB / 0.5629 GB, free: 0.8281 MB / 395.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.478e-06/0.5096, allocations: 0 / 0.5629 GB, free: 0.8281 MB / 395.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007776/0.5104, allocations: 0.5629 MB / 0.5635 GB, free: 220 kB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.265e-06/0.5104, allocations: 0 / 0.5635 GB, free: 220 kB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000109/0.5105, allocations: 23.94 kB / 0.5635 GB, free: 196 kB / 395.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001534/0.5107, allocations: 48.83 kB / 0.5635 GB, free: 144 kB / 395.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.638e-05/0.5107, allocations: 7.984 kB / 0.5635 GB, free: 136 kB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001223/0.5119, allocations: 1.408 MB / 0.5649 GB, free: 14.61 MB / 411.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/0.512, allocations: 0 / 0.5649 GB, free: 14.61 MB / 411.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004915/0.5125, allocations: 402 kB / 0.5653 GB, free: 14.18 MB / 411.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.502e-05/0.5126, allocations: 109 kB / 0.5654 GB, free: 14.06 MB / 411.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.685e-05/0.5126, allocations: 7.953 kB / 0.5654 GB, free: 14.05 MB / 411.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001177/0.5127, allocations: 0 / 0.5654 GB, free: 14.05 MB / 411.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.686e-05/0.5128, allocations: 11.98 kB / 0.5654 GB, free: 14.04 MB / 411.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.381e-05/0.5128, allocations: 8 kB / 0.5654 GB, free: 14.03 MB / 411.1 MB Notification: Performance of sorting global known variables: time 0.0001943/0.513, allocations: 196.6 kB / 0.5656 GB, free: 13.84 MB / 411.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.513, allocations: 3.938 kB / 0.5656 GB, free: 13.84 MB / 411.1 MB Notification: Performance of remove unused functions: time 0.0003766/0.5134, allocations: 64 kB / 0.5657 GB, free: 13.77 MB / 411.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (ind.i[1],ind.i[2]) * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001782/0.5136, allocations: 117.1 kB / 0.5658 GB, free: 13.65 MB / 411.1 MB Notification: Performance of simCode: created initialization part: time 0.0004496/0.514, allocations: 261.5 kB / 0.566 GB, free: 13.38 MB / 411.1 MB Notification: Performance of simCode: created event and clocks part: time 2.474e-06/0.514, allocations: 0 / 0.566 GB, free: 13.38 MB / 411.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003217/0.5144, allocations: 191.3 kB / 0.5662 GB, free: 13.19 MB / 411.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004043/0.5148, allocations: 56.7 kB / 0.5663 GB, free: 13.13 MB / 411.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009432/0.5157, allocations: 0.5155 MB / 0.5668 GB, free: 12.59 MB / 411.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000436/0.5162, allocations: 0.8107 MB / 0.5676 GB, free: 11.75 MB / 411.1 MB Notification: Performance of simCode: alias equations: time 0.0001568/0.5163, allocations: 51.25 kB / 0.5676 GB, free: 11.7 MB / 411.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.003e-05/0.5164, allocations: 27.44 kB / 0.5677 GB, free: 11.68 MB / 411.1 MB Notification: Performance of SimCode: time 2.51e-07/0.5164, allocations: 0 / 0.5677 GB, free: 11.68 MB / 411.1 MB Notification: Performance of Templates: time 0.006053/0.5225, allocations: 2.51 MB / 0.5701 GB, free: 9.172 MB / 411.1 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance.makefile (rm -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance.sim & ./PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance.pipe 2>&1) diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC1ph_DC.Elementary.Impedance.mat","../files/PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches