Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_d.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.Generic.Network.NetworkLoop_d,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|impedance3.i.1.|impedance3.p.1.|impedance3.v.1.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_d") translateModel(PowerSystems.Examples.Generic.Network.NetworkLoop_d,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|impedance3.i.1.|impedance3.p.1.|impedance3.v.1.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_d") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001001/0.001001, allocations: 89.25 kB / 16.65 MB, free: 6.59 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.00121/0.00121, allocations: 181.8 kB / 17.56 MB, free: 6.203 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.177/1.177, allocations: 223.3 MB / 241.6 MB, free: 116 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1535/0.1535, allocations: 38.09 MB / 330.8 MB, free: 8.766 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002608/0.0002608, allocations: 8 kB / 400.7 MB, free: 34.18 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08276/0.08303, allocations: 59.16 MB / 459.9 MB, free: 7.082 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkLoop_d): time 0.006259/0.08933, allocations: 7.31 MB / 467.2 MB, free: 15.74 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004074/0.09342, allocations: 4.172 MB / 471.4 MB, free: 11.55 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001792/0.09362, allocations: 15.94 kB / 471.4 MB, free: 11.54 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002493/0.09388, allocations: 131.1 kB / 471.5 MB, free: 11.41 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001477/0.09536, allocations: 1.055 MB / 472.6 MB, free: 10.35 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004701/0.09585, allocations: 271.4 kB / 472.8 MB, free: 10.08 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001819/0.09768, allocations: 2.553 MB / 475.4 MB, free: 7.523 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003966/0.09809, allocations: 345.9 kB / 475.7 MB, free: 7.164 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004783/0.09857, allocations: 449.7 kB / 476.2 MB, free: 6.723 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005838/0.09917, allocations: 0.6111 MB / 476.8 MB, free: 6.109 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.939e-05/0.09922, allocations: 20 kB / 476.8 MB, free: 6.09 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001395/0.1006, allocations: 1.251 MB / 478 MB, free: 4.836 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002207/0.1008, allocations: 251.4 kB / 478.3 MB, free: 4.59 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002073/0.1011, allocations: 252.5 kB / 478.5 MB, free: 4.336 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008102/0.1019, allocations: 0.8761 MB / 479.4 MB, free: 3.457 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.885e-06/0.1019, allocations: 0 / 479.4 MB, free: 3.457 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.1019, allocations: 4 kB / 479.4 MB, free: 3.453 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.681e-06/0.1019, allocations: 0 / 479.4 MB, free: 3.453 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: 101 * Number of variables: 101 Notification: Performance of Generate backend data structure: time 0.0008342/0.1028, allocations: 0.7182 MB / 480.1 MB, free: 2.688 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.315e-05/0.1028, allocations: 15.97 kB / 480.1 MB, free: 2.672 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001375/0.1042, allocations: 128.2 kB / 480.3 MB, free: 2.547 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003478/0.1045, allocations: 326.4 kB / 480.6 MB, free: 2.184 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.779e-05/0.1046, allocations: 33.36 kB / 480.6 MB, free: 2.152 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.204e-05/0.1046, allocations: 36.36 kB / 480.7 MB, free: 2.117 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007004/0.1053, allocations: 0.5869 MB / 481.2 MB, free: 1.461 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.852e-05/0.1054, allocations: 7.938 kB / 481.3 MB, free: 1.453 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.514e-05/0.1054, allocations: 19.98 kB / 481.3 MB, free: 1.434 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.232e-05/0.1055, allocations: 32.62 kB / 481.3 MB, free: 1.402 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004913/0.1059, allocations: 386.1 kB / 481.7 MB, free: 1.02 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001984/0.1079, allocations: 2.615 MB / 484.3 MB, free: 14.28 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005518/0.1085, allocations: 427.9 kB / 484.7 MB, free: 13.84 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002472/0.1088, allocations: 214.6 kB / 484.9 MB, free: 13.62 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.564e-05/0.1088, allocations: 4.531 kB / 484.9 MB, free: 13.62 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.493e-05/0.1088, allocations: 38.56 kB / 485 MB, free: 13.57 MB / 366.1 MB Notification: Performance of pre-optimization done (n=33): time 1.744e-06/0.1088, allocations: 0 / 485 MB, free: 13.57 MB / 366.1 MB Notification: Performance of matching and sorting (n=33): time 0.001482/0.1103, allocations: 0.7722 MB / 485.7 MB, free: 12.77 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.798e-05/0.1104, allocations: 110.8 kB / 485.8 MB, free: 12.64 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002623/0.1106, allocations: 324.5 kB / 486.2 MB, free: 12.31 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.146e-05/0.1107, allocations: 33.7 kB / 486.2 MB, free: 12.27 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001277/0.1108, allocations: 251.7 kB / 486.4 MB, free: 12.02 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.245e-05/0.1109, allocations: 114.3 kB / 486.6 MB, free: 11.91 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.842e-05/0.1109, allocations: 41.69 kB / 486.6 MB, free: 11.86 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 9.861e-05/0.1111, allocations: 346.8 kB / 486.9 MB, free: 11.51 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001716/0.1112, allocations: 128.8 kB / 487.1 MB, free: 11.39 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002516/0.1115, allocations: 275.5 kB / 487.3 MB, free: 11.05 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004693/0.112, allocations: 460.1 kB / 487.8 MB, free: 10.54 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.268e-06/0.112, allocations: 8 kB / 487.8 MB, free: 10.53 MB / 366.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0007472/0.1127, allocations: 0.554 MB / 488.3 MB, free: 9.965 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.533e-05/0.1128, allocations: 11.94 kB / 488.4 MB, free: 9.953 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.782e-06/0.1128, allocations: 4 kB / 488.4 MB, free: 9.949 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002963/0.1131, allocations: 120.6 kB / 488.5 MB, free: 9.832 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002121/0.1133, allocations: 79.84 kB / 488.6 MB, free: 9.754 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002047/0.1153, allocations: 2.349 MB / 490.9 MB, free: 7.258 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001905/0.1156, allocations: 47.62 kB / 490.9 MB, free: 7.211 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.256e-05/0.1156, allocations: 23.94 kB / 491 MB, free: 7.188 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * 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 (41): * Single equations (assignments): 40 * 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,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001696/0.1158, allocations: 206.7 kB / 491.2 MB, free: 6.977 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.805e-05/0.1158, allocations: 35.53 kB / 491.2 MB, free: 6.941 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.108e-05/0.1159, allocations: 55.94 kB / 491.3 MB, free: 6.887 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.347e-06/0.1159, allocations: 4 kB / 491.3 MB, free: 6.883 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.089e-06/0.1159, allocations: 0 / 491.3 MB, free: 6.883 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.519e-06/0.116, allocations: 4 kB / 491.3 MB, free: 6.879 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001077/0.117, allocations: 0.9377 MB / 492.2 MB, free: 5.875 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.487e-06/0.1171, allocations: 0 / 492.2 MB, free: 5.875 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001228/0.1172, allocations: 35.92 kB / 492.2 MB, free: 5.84 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002141/0.1174, allocations: 112.8 kB / 492.4 MB, free: 5.727 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.585e-05/0.1174, allocations: 4 kB / 492.4 MB, free: 5.723 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00198/0.1194, allocations: 2.347 MB / 494.7 MB, free: 3.227 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.1194, allocations: 0 / 494.7 MB, free: 3.227 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006188/0.1201, allocations: 0.6185 MB / 495.3 MB, free: 2.578 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.432e-05/0.1201, allocations: 120.7 kB / 495.4 MB, free: 2.441 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.233e-05/0.1202, allocations: 4 kB / 495.4 MB, free: 2.438 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001645/0.1203, allocations: 8 kB / 495.5 MB, free: 2.43 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.32e-05/0.1204, allocations: 31.84 kB / 495.5 MB, free: 2.398 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.477e-05/0.1204, allocations: 12 kB / 495.5 MB, free: 2.387 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001784/0.1206, allocations: 219 kB / 495.7 MB, free: 2.172 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1206, allocations: 0 / 495.7 MB, free: 2.172 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005498/0.1212, allocations: 159.8 kB / 495.9 MB, free: 2.016 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 simulation (20): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 9.999e-05/0.1213, allocations: 108.6 kB / 496 MB, free: 1.902 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0006848/0.122, allocations: 0.5108 MB / 496.5 MB, free: 1.379 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.458e-06/0.122, allocations: 0 / 496.5 MB, free: 1.379 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003909/0.1224, allocations: 346.1 kB / 496.8 MB, free: 1.027 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005258/0.1229, allocations: 57.84 kB / 496.9 MB, free: 0.9727 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001097/0.124, allocations: 1.004 MB / 497.9 MB, free: 15.93 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003871/0.1244, allocations: 0.8824 MB / 498.8 MB, free: 15.02 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.000158/0.1246, allocations: 74.89 kB / 498.8 MB, free: 14.95 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.715e-05/0.1246, allocations: 23.44 kB / 498.9 MB, free: 14.92 MB / 382.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1246, allocations: 0 / 498.9 MB, free: 14.92 MB / 382.1 MB Notification: Performance of Templates: time 0.006244/0.1309, allocations: 3.475 MB / 0.4906 GB, free: 11.46 MB / 382.1 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_d.makefile Environment - environmentSimulation: (rm -f PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_d.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_d.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_d.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_d.sim & ./PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_d -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_d.pipe 2>&1) Environment - environmentSimulation: diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_d_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.Generic.Network.NetworkLoop_d.mat","../files/PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_d.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches