Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Line.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo", uses=false) Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.Line,tolerance=1e-06,outputFormat="mat",numberOfIntervals=4000,variableFilter="Time|meter.i|meter.p|meter.v",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Line") translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.Line,tolerance=1e-06,outputFormat="mat",numberOfIntervals=4000,variableFilter="Time|meter.i|meter.p|meter.v",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Line") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008512/0.0008512, allocations: 93.83 kB / 16.3 MB, free: 5.992 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009258/0.0009259, allocations: 183.5 kB / 17.19 MB, free: 5.906 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.252/1.252, allocations: 223.2 MB / 241.1 MB, free: 5.441 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.2911/0.2911, allocations: 38.08 MB / 330.3 MB, free: 14.23 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002725/0.0002726, allocations: 15.98 kB / 400 MB, free: 9.266 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2679/0.2682, allocations: 59.16 MB / 459.1 MB, free: 30.51 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Line): time 0.004149/0.2724, allocations: 4.885 MB / 464 MB, free: 27.03 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001808/0.2742, allocations: 1.477 MB / 465.5 MB, free: 25.99 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002302/0.2745, allocations: 32.16 kB / 465.5 MB, free: 25.97 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003187/0.2748, allocations: 118.2 kB / 465.6 MB, free: 25.91 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005448/0.2754, allocations: 314.7 kB / 465.9 MB, free: 25.73 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003751/0.2758, allocations: 174.3 kB / 466.1 MB, free: 25.65 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004131/0.2762, allocations: 382.6 kB / 466.5 MB, free: 25.47 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001915/0.2764, allocations: 124.5 kB / 466.6 MB, free: 25.43 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003116/0.2767, allocations: 235.9 kB / 466.8 MB, free: 25.32 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004634/0.2772, allocations: 332 kB / 467.2 MB, free: 25.23 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.912e-05/0.2772, allocations: 25.22 kB / 467.2 MB, free: 25.23 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.487e-05/0.2773, allocations: 24.94 kB / 467.2 MB, free: 25.23 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002148/0.2775, allocations: 201.7 kB / 467.4 MB, free: 25.18 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001004/0.2777, allocations: 115.5 kB / 467.5 MB, free: 25.1 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004283/0.2781, allocations: 478.3 kB / 468 MB, free: 25 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.074e-06/0.2781, allocations: 0 / 468 MB, free: 25 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.193e-06/0.2781, allocations: 0 / 468 MB, free: 25 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.254e-06/0.2781, allocations: 1.094 kB / 468 MB, free: 25 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 84 * Number of variables: 84 Notification: Performance of Generate backend data structure: time 0.00148/0.2796, allocations: 0.8535 MB / 468.8 MB, free: 24.45 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.945e-05/0.2796, allocations: 12.78 kB / 468.9 MB, free: 24.45 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.905e-05/0.2797, allocations: 53.94 kB / 468.9 MB, free: 24.42 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001015/0.2808, allocations: 0.5798 MB / 469.5 MB, free: 24.09 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.51e-05/0.2808, allocations: 27.28 kB / 469.5 MB, free: 24.07 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.514e-05/0.2809, allocations: 44.2 kB / 469.6 MB, free: 24.06 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000713/0.2816, allocations: 0.5486 MB / 470.1 MB, free: 23.81 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.161e-05/0.2816, allocations: 5.219 kB / 470.1 MB, free: 23.8 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.943e-05/0.2817, allocations: 11.03 kB / 470.1 MB, free: 23.8 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003022/0.282, allocations: 89.34 kB / 470.2 MB, free: 23.79 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004892/0.2825, allocations: 354.5 kB / 470.6 MB, free: 23.69 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002522/0.285, allocations: 2.065 MB / 472.6 MB, free: 22.44 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007566/0.2858, allocations: 379.4 kB / 473 MB, free: 22.3 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.539e-05/0.2858, allocations: 15.16 kB / 473 MB, free: 22.29 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.52e-05/0.2858, allocations: 33.98 kB / 473 MB, free: 22.25 MB / 350.1 MB Notification: Performance of pre-optimization done (n=32): time 1.573e-06/0.2859, allocations: 0 / 473 MB, free: 22.25 MB / 350.1 MB Notification: Performance of matching and sorting (n=33): time 0.003682/0.2895, allocations: 2.534 MB / 475.6 MB, free: 20.71 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.616e-05/0.2896, allocations: 85.64 kB / 475.7 MB, free: 20.62 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003173/0.2899, allocations: 378.7 kB / 476 MB, free: 20.38 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.088e-05/0.2899, allocations: 34.98 kB / 476.1 MB, free: 20.34 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001057/0.2901, allocations: 249.9 kB / 476.3 MB, free: 20.11 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.179e-05/0.2901, allocations: 140.1 kB / 476.4 MB, free: 19.99 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.2e-05/0.2902, allocations: 5.5 kB / 476.4 MB, free: 19.99 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.018e-05/0.2902, allocations: 360.3 kB / 476.8 MB, free: 19.64 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003067/0.2905, allocations: 242.3 kB / 477 MB, free: 19.54 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003427/0.2909, allocations: 360.9 kB / 477.4 MB, free: 19.3 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003468/0.2913, allocations: 295.3 kB / 477.7 MB, free: 19.17 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.2913, allocations: 1.438 kB / 477.7 MB, free: 19.17 MB / 350.1 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001426/0.2927, allocations: 1.011 MB / 478.7 MB, free: 18.68 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.572e-05/0.2927, allocations: 6.938 kB / 478.7 MB, free: 18.68 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.133e-06/0.2927, allocations: 3.5 kB / 478.7 MB, free: 18.68 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008705/0.2936, allocations: 411.7 kB / 479.1 MB, free: 18.49 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002886/0.2939, allocations: 89.33 kB / 479.2 MB, free: 18.47 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003742/0.2977, allocations: 4.768 MB / 484 MB, free: 14.38 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003059/0.298, allocations: 48 kB / 484 MB, free: 14.33 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.19e-05/0.298, allocations: 20 kB / 484 MB, free: 14.31 MB / 350.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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (48): * Single equations (assignments): 46 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 6,(1,100.0%) 6} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002026/0.2982, allocations: 203.8 kB / 484.2 MB, free: 14.1 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.363e-05/0.2983, allocations: 43.48 kB / 484.3 MB, free: 14.06 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001086/0.2994, allocations: 0.8453 MB / 485.1 MB, free: 13.19 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.706e-06/0.2994, allocations: 4 kB / 485.1 MB, free: 13.18 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.246e-06/0.2994, allocations: 0 / 485.1 MB, free: 13.18 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.699e-06/0.2994, allocations: 4 kB / 485.1 MB, free: 13.18 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001593/0.301, allocations: 1.411 MB / 486.5 MB, free: 11.69 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.075e-06/0.301, allocations: 0 / 486.5 MB, free: 11.69 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001626/0.3012, allocations: 51.91 kB / 486.6 MB, free: 11.64 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000925/0.3021, allocations: 449.2 kB / 487 MB, free: 11.18 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.754e-05/0.3022, allocations: 31.97 kB / 487 MB, free: 11.14 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003277/0.3055, allocations: 6.32 MB / 493.4 MB, free: 4.285 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.3055, allocations: 4.031 kB / 493.4 MB, free: 4.281 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001304/0.3068, allocations: 1.14 MB / 494.5 MB, free: 3.086 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001219/0.3069, allocations: 112.6 kB / 494.6 MB, free: 2.957 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.669e-05/0.307, allocations: 27.98 kB / 494.7 MB, free: 2.93 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002647/0.3073, allocations: 39.94 kB / 494.7 MB, free: 2.891 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.583e-05/0.3074, allocations: 39.88 kB / 494.7 MB, free: 2.852 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.583e-05/0.3074, allocations: 15.98 kB / 494.7 MB, free: 2.836 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002284/0.3077, allocations: 259.2 kB / 495 MB, free: 2.586 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3077, allocations: 0 / 495 MB, free: 2.586 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0006457/0.3083, allocations: 156 kB / 495.1 MB, free: 2.434 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 14 (line.v[1,1],line.v[1,2],line.v[1,3],line.v[2,1],line.v[2,2],line.v[2,3],line.i[1,1],line.i[1,2],line.i[1,3],line.i[1,4],line.i[2,1],line.i[2,2],line.i[2,3],line.i[2,4]) * 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 (29): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 3 {(2,100.0%),(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001329/0.3085, allocations: 128.2 kB / 495.3 MB, free: 2.301 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001286/0.3098, allocations: 0.8809 MB / 496.2 MB, free: 1.395 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.827e-06/0.3098, allocations: 7.938 kB / 496.2 MB, free: 1.387 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001086/0.3109, allocations: 1.083 MB / 497.2 MB, free: 192 kB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004891/0.3114, allocations: 105.5 kB / 497.3 MB, free: 88 kB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002979/0.3143, allocations: 2.212 MB / 499.6 MB, free: 13.84 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005131/0.3149, allocations: 0.8976 MB / 0.4887 GB, free: 12.91 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002733/0.3152, allocations: 76.33 kB / 0.4888 GB, free: 12.84 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.808e-05/0.3153, allocations: 35.44 kB / 0.4888 GB, free: 12.8 MB / 366.1 MB Notification: Performance of SimCode: time 7.31e-07/0.3153, allocations: 3.938 kB / 0.4888 GB, free: 12.8 MB / 366.1 MB Notification: Performance of Templates: time 0.01179/0.3271, allocations: 7.012 MB / 0.4957 GB, free: 5.84 MB / 366.1 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Line.makefile Environment - environmentSimulation: (rm -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Line.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Line.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Line.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Line.sim & ./PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Line -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Line.pipe 2>&1) Environment - environmentSimulation: diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Line_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC1ph_DC.Elementary.Line.mat","../files/PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Line.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches