Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase.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.Transformation.OnePhase,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|meter1.i|meter1.p|meter1.v|meter2.i|meter2.p|meter2.v",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase") translateModel(PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|meter1.i|meter1.p|meter1.v|meter2.i|meter2.p|meter2.v",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001713/0.001713, 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.723/1.723, allocations: 205.1 MB / 223.1 MB, free: 8.473 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.001058/0.001058, allocations: 102.6 kB / 270.5 MB, free: 8.438 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.1883/0.1883, allocations: 38.01 MB / 355.8 MB, free: 2.934 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001222/0.001221, allocations: 47.92 kB / 421.9 MB, free: 37.77 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.324/0.3253, allocations: 55.25 MB / 477.1 MB, free: 9.895 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase): time 0.007799/0.3331, allocations: 6.541 MB / 483.6 MB, free: 5.25 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.002885/0.3361, allocations: 1.663 MB / 485.3 MB, free: 4.066 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003971/0.3365, allocations: 46.34 kB / 485.4 MB, free: 4.043 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005029/0.337, allocations: 121 kB / 485.5 MB, free: 3.988 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007558/0.3378, allocations: 344.7 kB / 485.8 MB, free: 3.805 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002552/0.3381, allocations: 118.3 kB / 485.9 MB, free: 3.738 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.00112/0.3392, allocations: 1.142 MB / 487.1 MB, free: 3.371 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002535/0.3395, allocations: 167.2 kB / 487.2 MB, free: 3.297 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003834/0.3398, allocations: 296.6 kB / 487.5 MB, free: 3.168 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006063/0.3405, allocations: 407.5 kB / 487.9 MB, free: 3.027 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 6.078e-05/0.3405, allocations: 26.12 kB / 487.9 MB, free: 3.027 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.577e-05/0.3406, allocations: 24.75 kB / 488 MB, free: 3.027 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002233/0.3409, allocations: 182.8 kB / 488.1 MB, free: 2.969 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000248/0.3411, allocations: 234.9 kB / 488.4 MB, free: 2.84 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000562/0.3417, allocations: 0.5129 MB / 488.9 MB, free: 2.633 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.961e-06/0.3417, allocations: 5.062 kB / 488.9 MB, free: 2.629 MB / 314.7 MB Notification: Performance of FrontEnd: time 7.01e-07/0.3417, allocations: 0 / 488.9 MB, free: 2.629 MB / 314.7 MB Notification: Performance of Transformations before backend: time 6.923e-06/0.3417, allocations: 4 kB / 488.9 MB, free: 2.625 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: 101 * Number of variables: 101 Notification: Performance of Generate backend data structure: time 0.001396/0.3431, allocations: 0.7865 MB / 489.7 MB, free: 2.047 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.411e-05/0.3432, allocations: 13.72 kB / 489.7 MB, free: 2.043 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001146/0.3433, allocations: 58.61 kB / 489.8 MB, free: 2.012 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008288/0.3441, allocations: 460 kB / 490.2 MB, free: 1.695 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.7e-05/0.3442, allocations: 32.41 kB / 490.2 MB, free: 1.68 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.638e-05/0.3443, allocations: 38.27 kB / 490.3 MB, free: 1.668 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009058/0.3452, allocations: 0.5029 MB / 490.8 MB, free: 1.398 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.7e-05/0.3452, allocations: 1.281 kB / 490.8 MB, free: 1.398 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.902e-05/0.3453, allocations: 16.47 kB / 490.8 MB, free: 1.387 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.451e-05/0.3453, allocations: 19.06 kB / 490.8 MB, free: 1.387 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006338/0.346, allocations: 373.8 kB / 491.2 MB, free: 1.262 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003118/0.3491, allocations: 2.086 MB / 493.3 MB, free: 15.67 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007272/0.3498, allocations: 239.1 kB / 493.5 MB, free: 15.55 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004408/0.3503, allocations: 129.4 kB / 493.6 MB, free: 15.5 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.546e-05/0.3503, allocations: 10.36 kB / 493.6 MB, free: 15.49 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.446e-05/0.3504, allocations: 36.59 kB / 493.7 MB, free: 15.45 MB / 330.7 MB Notification: Performance of pre-optimization done (n=22): time 2.975e-06/0.3504, allocations: 1.188 kB / 493.7 MB, free: 15.45 MB / 330.7 MB Notification: Performance of matching and sorting (n=23): time 0.002199/0.3526, allocations: 0.7539 MB / 494.4 MB, free: 14.93 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001202/0.3528, allocations: 84.69 kB / 494.5 MB, free: 14.83 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008492/0.3536, allocations: 382.7 kB / 494.9 MB, free: 14.64 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.509e-05/0.3537, allocations: 27.2 kB / 494.9 MB, free: 14.61 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003505/0.354, allocations: 296.3 kB / 495.2 MB, free: 14.36 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001147/0.3542, allocations: 81.44 kB / 495.3 MB, free: 14.3 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001747/0.3544, allocations: 79.19 kB / 495.4 MB, free: 14.25 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0002421/0.3546, allocations: 348.7 kB / 495.7 MB, free: 13.93 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002911/0.3549, allocations: 85.33 kB / 495.8 MB, free: 13.9 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005681/0.3555, allocations: 282.6 kB / 496.1 MB, free: 13.62 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009808/0.3565, allocations: 405.7 kB / 496.5 MB, free: 13.27 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.424e-06/0.3565, allocations: 6.531 kB / 496.5 MB, free: 13.27 MB / 330.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.001276/0.3578, allocations: 450 kB / 496.9 MB, free: 13.07 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.103e-05/0.3578, allocations: 7 kB / 496.9 MB, free: 13.07 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.166e-05/0.3579, allocations: 7.453 kB / 496.9 MB, free: 13.07 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003121/0.3582, allocations: 55 kB / 497 MB, free: 13.05 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004439/0.3587, allocations: 81.16 kB / 497 MB, free: 13.04 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002164/0.3608, allocations: 1.507 MB / 498.6 MB, free: 11.62 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004202/0.3613, allocations: 18.7 kB / 498.6 MB, free: 11.62 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.309e-05/0.3613, allocations: 21.66 kB / 498.6 MB, free: 11.61 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * Number of states: 0 () * Number of discrete variables: 3 (system.initime,trafo.tap_2_internal,trafo.tap_1_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (46): * Single equations (assignments): 45 * 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,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000545/0.3619, allocations: 208 kB / 498.8 MB, free: 11.45 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000119/0.362, allocations: 36.81 kB / 498.8 MB, free: 11.43 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007525/0.3628, allocations: 236.3 kB / 499.1 MB, free: 11.32 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.135e-06/0.3628, allocations: 2.75 kB / 499.1 MB, free: 11.32 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.251e-06/0.3628, allocations: 3.938 kB / 499.1 MB, free: 11.31 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.023e-05/0.3629, allocations: 3.281 kB / 499.1 MB, free: 11.31 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001869/0.3647, allocations: 0.6818 MB / 499.8 MB, free: 10.86 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.572e-06/0.3648, allocations: 1.188 kB / 499.8 MB, free: 10.86 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003891/0.3652, allocations: 49.67 kB / 499.8 MB, free: 10.85 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.873e-06/0.3652, allocations: 0.8125 kB / 499.8 MB, free: 10.85 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.367e-05/0.3652, allocations: 14.22 kB / 499.8 MB, free: 10.84 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.27e-06/0.3652, allocations: 1.094 kB / 499.8 MB, free: 10.84 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.132e-06/0.3653, allocations: 2.938 kB / 499.8 MB, free: 10.84 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003691/0.369, allocations: 1.85 MB / 0.4899 GB, free: 9.41 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002235/0.3692, allocations: 119.4 kB / 0.49 GB, free: 9.293 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.719e-05/0.3693, allocations: 6.312 kB / 0.49 GB, free: 9.289 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002071/0.3695, allocations: 5.297 kB / 0.49 GB, free: 9.289 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.41e-05/0.3696, allocations: 14.97 kB / 0.4901 GB, free: 9.285 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.426e-05/0.3696, allocations: 9.562 kB / 0.4901 GB, free: 9.281 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0005721/0.3702, allocations: 266.6 kB / 0.4903 GB, free: 9.141 MB / 330.7 MB Notification: Performance of sort global known variables: time 2.2e-07/0.3702, allocations: 4.062 kB / 0.4903 GB, free: 9.137 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.00105/0.3713, allocations: 116.1 kB / 0.4904 GB, free: 9.129 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (trafo.i1) * 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.0001718/0.3715, allocations: 107.2 kB / 0.4905 GB, free: 9.031 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001097/0.3726, allocations: 392.8 kB / 0.4909 GB, free: 8.828 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.446e-06/0.3726, allocations: 0 / 0.4909 GB, free: 8.828 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000238/0.3728, allocations: 93.81 kB / 0.491 GB, free: 8.797 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008965/0.3738, allocations: 95.92 kB / 0.4911 GB, free: 8.746 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002606/0.3764, allocations: 1.197 MB / 0.4923 GB, free: 7.852 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007588/0.3772, allocations: 0.8648 MB / 0.4931 GB, free: 7.07 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0004762/0.3776, allocations: 86.59 kB / 0.4932 GB, free: 7.023 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001184/0.3778, allocations: 31.19 kB / 0.4932 GB, free: 7.016 MB / 330.7 MB Notification: Performance of SimCode: time 1.663e-06/0.3778, allocations: 0 / 0.4932 GB, free: 7.016 MB / 330.7 MB Notification: Performance of Templates: time 0.01369/0.3915, allocations: 3.663 MB / 0.4968 GB, free: 5.23 MB / 330.7 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase.makefile (rm -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase.sim & ./PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase.pipe 2>&1) diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase.mat","../files/PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches