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.001322/0.001322, allocations: 188.9 kB / 17.27 MB, free: 4.504 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.484/1.484, allocations: 205.1 MB / 223.1 MB, free: 8.461 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.001095/0.001095, allocations: 102.8 kB / 270.5 MB, free: 8.426 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.3063/0.3063, allocations: 38.01 MB / 355.8 MB, free: 2.918 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009836/0.0009838, allocations: 51.92 kB / 421.9 MB, free: 37.77 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3367/0.3377, allocations: 55.24 MB / 477.1 MB, free: 9.91 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Impedance): time 0.006409/0.3442, allocations: 5.231 MB / 482.3 MB, free: 6.207 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.002746/0.347, allocations: 1.713 MB / 484 MB, free: 5.012 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003284/0.3473, allocations: 27.25 kB / 484.1 MB, free: 5 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001026/0.3484, allocations: 357.6 kB / 484.4 MB, free: 4.785 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005383/0.3489, allocations: 226.3 kB / 484.6 MB, free: 4.656 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006662/0.3496, allocations: 222.7 kB / 484.9 MB, free: 4.559 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.001313/0.3509, allocations: 0.8437 MB / 485.7 MB, free: 4.289 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007556/0.3517, allocations: 318.1 kB / 486 MB, free: 4.172 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005571/0.3523, allocations: 229.8 kB / 486.2 MB, free: 4.074 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008024/0.3531, allocations: 327.3 kB / 486.5 MB, free: 3.969 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001019/0.3532, allocations: 28.53 kB / 486.6 MB, free: 3.965 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005054/0.3537, allocations: 145 kB / 486.7 MB, free: 3.926 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003087/0.354, allocations: 224.4 kB / 486.9 MB, free: 3.855 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002634/0.3543, allocations: 233.4 kB / 487.2 MB, free: 3.727 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006964/0.355, allocations: 0.5752 MB / 487.7 MB, free: 3.516 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.14e-06/0.355, allocations: 0.7969 kB / 487.7 MB, free: 3.516 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.302e-06/0.355, allocations: 1.375 kB / 487.7 MB, free: 3.516 MB / 314.7 MB Notification: Performance of Transformations before backend: time 8.586e-06/0.355, allocations: 0 / 487.7 MB, free: 3.516 MB / 314.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.001515/0.3565, allocations: 0.7698 MB / 488.5 MB, free: 2.926 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.019e-05/0.3566, allocations: 10.09 kB / 488.5 MB, free: 2.926 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006287/0.3573, allocations: 95.45 kB / 488.6 MB, free: 2.895 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006119/0.3579, allocations: 393 kB / 489 MB, free: 2.602 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.417e-05/0.3579, allocations: 33.36 kB / 489 MB, free: 2.586 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001351/0.3581, allocations: 55.89 kB / 489.1 MB, free: 2.566 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009591/0.359, allocations: 0.6491 MB / 489.7 MB, free: 2.195 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.263e-05/0.3591, allocations: 6.078 kB / 489.7 MB, free: 2.191 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.758e-05/0.3591, allocations: 21.52 kB / 489.8 MB, free: 2.176 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000117/0.3592, allocations: 29.86 kB / 489.8 MB, free: 2.172 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008117/0.3601, allocations: 480.1 kB / 490.3 MB, free: 2.027 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003441/0.3635, allocations: 3.018 MB / 493.3 MB, free: 15.66 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003335/0.3639, allocations: 181.6 kB / 493.5 MB, free: 15.56 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001745/0.364, allocations: 105.9 kB / 493.6 MB, free: 15.51 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.796e-05/0.3641, allocations: 8.891 kB / 493.6 MB, free: 15.5 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.075e-05/0.3641, allocations: 32 kB / 493.6 MB, free: 15.46 MB / 330.7 MB Notification: Performance of pre-optimization done (n=20): time 2.474e-06/0.3641, allocations: 0 / 493.6 MB, free: 15.46 MB / 330.7 MB Notification: Performance of matching and sorting (n=21): time 0.002006/0.3661, allocations: 0.8426 MB / 494.4 MB, free: 14.91 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.584e-05/0.3662, allocations: 84.34 kB / 494.5 MB, free: 14.82 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005678/0.3668, allocations: 344.8 kB / 494.9 MB, free: 14.64 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.244e-05/0.3669, allocations: 30.77 kB / 494.9 MB, free: 14.61 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002978/0.3672, allocations: 304.9 kB / 495.2 MB, free: 14.36 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001072/0.3673, allocations: 77.11 kB / 495.3 MB, free: 14.3 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001997/0.3675, allocations: 88.44 kB / 495.4 MB, free: 14.25 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0002115/0.3677, allocations: 347.3 kB / 495.7 MB, free: 13.92 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003426/0.3681, allocations: 133.3 kB / 495.8 MB, free: 13.88 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003893/0.3685, allocations: 332.6 kB / 496.1 MB, free: 13.57 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006539/0.3692, allocations: 0.4985 MB / 496.6 MB, free: 13.17 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.168e-06/0.3692, allocations: 2.656 kB / 496.6 MB, free: 13.17 MB / 330.7 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001085/0.3703, allocations: 0.5538 MB / 497.2 MB, free: 12.94 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.066e-05/0.3703, allocations: 10.78 kB / 497.2 MB, free: 12.94 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005168/0.3708, allocations: 278.4 kB / 497.5 MB, free: 12.84 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003442/0.3712, allocations: 80.09 kB / 497.6 MB, free: 12.82 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003424/0.3715, allocations: 96.86 kB / 497.7 MB, free: 12.81 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001824/0.3734, allocations: 1.6 MB / 499.3 MB, free: 11.38 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003064/0.3737, allocations: 23.62 kB / 499.3 MB, free: 11.37 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.303e-05/0.3737, allocations: 23.3 kB / 499.3 MB, free: 11.37 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (50): * Single equations (assignments): 49 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003488/0.3741, allocations: 227.2 kB / 499.5 MB, free: 11.2 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001284/0.3742, allocations: 30.16 kB / 499.6 MB, free: 11.18 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005751/0.3748, allocations: 293.1 kB / 499.8 MB, free: 11.05 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.58e-06/0.3748, allocations: 2.969 kB / 499.8 MB, free: 11.05 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.427e-06/0.3748, allocations: 1.094 kB / 499.8 MB, free: 11.05 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.494e-06/0.3749, allocations: 1.875 kB / 499.8 MB, free: 11.05 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001322/0.3762, allocations: 0.7943 MB / 0.4889 GB, free: 10.55 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.657e-06/0.3762, allocations: 1.094 kB / 0.4889 GB, free: 10.55 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002898/0.3765, allocations: 58.44 kB / 0.489 GB, free: 10.54 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.518e-06/0.3765, allocations: 1.531 kB / 0.489 GB, free: 10.54 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.071e-05/0.3765, allocations: 4.531 kB / 0.489 GB, free: 10.54 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.677e-06/0.3765, allocations: 1.469 kB / 0.489 GB, free: 10.54 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.3766, allocations: 5.25 kB / 0.489 GB, free: 10.53 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00289/0.3795, allocations: 2.178 MB / 0.4911 GB, free: 8.785 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.082e-05/0.3796, allocations: 101.9 kB / 0.4912 GB, free: 8.676 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.4e-05/0.3796, allocations: 19.86 kB / 0.4912 GB, free: 8.66 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001552/0.3798, allocations: 7.5 kB / 0.4912 GB, free: 8.656 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.753e-05/0.3798, allocations: 19.66 kB / 0.4912 GB, free: 8.645 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.875e-05/0.3799, allocations: 5.219 kB / 0.4912 GB, free: 8.645 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002611/0.3801, allocations: 239.5 kB / 0.4915 GB, free: 8.488 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3801, allocations: 3.938 kB / 0.4915 GB, free: 8.484 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0006542/0.3808, allocations: 123.9 kB / 0.4916 GB, free: 8.473 MB / 330.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 (24): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * 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.0001144/0.3809, allocations: 100.1 kB / 0.4917 GB, free: 8.383 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0008112/0.3817, allocations: 449.7 kB / 0.4921 GB, free: 8.117 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 5.26e-06/0.3817, allocations: 1.344 kB / 0.4921 GB, free: 8.117 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001781/0.3819, allocations: 106.7 kB / 0.4922 GB, free: 8.074 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005125/0.3825, allocations: 69.06 kB / 0.4923 GB, free: 8.035 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002106/0.3846, allocations: 1.366 MB / 0.4936 GB, free: 7.012 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005773/0.3852, allocations: 0.8774 MB / 0.4945 GB, free: 6.223 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0004207/0.3856, allocations: 114.3 kB / 0.4946 GB, free: 6.168 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001163/0.3857, allocations: 29.38 kB / 0.4946 GB, free: 6.16 MB / 330.7 MB Notification: Performance of SimCode: time 8.12e-07/0.3857, allocations: 0 / 0.4946 GB, free: 6.16 MB / 330.7 MB Notification: Performance of Templates: time 0.008381/0.3941, allocations: 3.944 MB / 0.4985 GB, free: 4.223 MB / 330.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@2/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