Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq.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.Generic.Network.NetworkLoop_dq,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|impedance3.i.1.|impedance3.i.2.|impedance3.p.1.|impedance3.p.2.|impedance3.v.1.|impedance3.v.2.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq") translateModel(PowerSystems.Examples.Generic.Network.NetworkLoop_dq,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|impedance3.i.1.|impedance3.i.2.|impedance3.p.1.|impedance3.p.2.|impedance3.v.1.|impedance3.v.2.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001617/0.001616, allocations: 177.1 kB / 8.35 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.921/1.921, allocations: 205.3 MB / 214.1 MB, free: 14.15 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.0009115/0.0009116, allocations: 89.08 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.1872/0.1872, allocations: 37.99 MB / 348 MB, free: 7.766 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 1.56e-05/1.562e-05, allocations: 4 kB / 410.6 MB, free: 46.96 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1368/0.1369, allocations: 56.32 MB / 466.9 MB, free: 6.57 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4114/0.5483, allocations: 95.18 MB / 0.5489 GB, free: 15.75 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002857/0.5487, allocations: 83.94 kB / 0.549 GB, free: 15.67 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.127/0.6757, allocations: 53.76 MB / 0.6015 GB, free: 9.223 MB / 443.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.6757, allocations: 0 / 0.6015 GB, free: 9.223 MB / 443.1 MB Notification: Performance of Transformations before backend: time 3.844e-05/0.6758, allocations: 12 kB / 0.6015 GB, free: 9.211 MB / 443.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 203 * Number of variables: 203 Notification: Performance of Generate backend data structure: time 0.002656/0.6784, allocations: 0.9683 MB / 0.6024 GB, free: 8.195 MB / 443.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.635e-05/0.6785, allocations: 8.031 kB / 0.6024 GB, free: 8.188 MB / 443.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003613/0.6821, allocations: 398.4 kB / 0.6028 GB, free: 7.797 MB / 443.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001087/0.6832, allocations: 491.5 kB / 0.6033 GB, free: 7.277 MB / 443.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.625e-05/0.6833, allocations: 24 kB / 0.6033 GB, free: 7.254 MB / 443.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002367/0.6836, allocations: 43.91 kB / 0.6034 GB, free: 7.211 MB / 443.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001755/0.6853, allocations: 0.898 MB / 0.6042 GB, free: 6.312 MB / 443.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001816/0.6871, allocations: 1.031 MB / 0.6052 GB, free: 5.258 MB / 443.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.291e-05/0.6872, allocations: 3.938 kB / 0.6052 GB, free: 5.254 MB / 443.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.645e-05/0.6873, allocations: 7.953 kB / 0.6053 GB, free: 5.246 MB / 443.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002973/0.6876, allocations: 97.91 kB / 0.6053 GB, free: 5.148 MB / 443.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005333/0.6929, allocations: 3.367 MB / 0.6086 GB, free: 1.691 MB / 443.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001389/0.6943, allocations: 1.006 MB / 0.6096 GB, free: 0.6641 MB / 443.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007367/0.6951, allocations: 0.6053 MB / 0.6102 GB, free: 56 kB / 443.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.455e-05/0.6952, allocations: 16.77 kB / 0.6102 GB, free: 40 kB / 443.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.474e-05/0.6952, allocations: 43.42 kB / 0.6103 GB, free: 15.98 MB / 459.1 MB Notification: Performance of pre-optimization done (n=91): time 2.635e-06/0.6952, allocations: 0 / 0.6103 GB, free: 15.98 MB / 459.1 MB Notification: Performance of matching and sorting (n=92): time 0.003096/0.6983, allocations: 1.895 MB / 0.6121 GB, free: 14.08 MB / 459.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.526e-05/0.6984, allocations: 85.89 kB / 0.6122 GB, free: 13.98 MB / 459.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003071/0.6987, allocations: 286.3 kB / 0.6125 GB, free: 13.69 MB / 459.1 MB Notification: Performance of collectPreVariables (initialization): time 5.022e-05/0.6988, allocations: 25.7 kB / 0.6125 GB, free: 13.66 MB / 459.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001676/0.6989, allocations: 316.1 kB / 0.6128 GB, free: 13.34 MB / 459.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002438/0.6992, allocations: 307.5 kB / 0.6131 GB, free: 13.04 MB / 459.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.043e-05/0.6992, allocations: 0 / 0.6131 GB, free: 13.04 MB / 459.1 MB Notification: Performance of setup shared object (initialization): time 0.0001309/0.6994, allocations: 362.8 kB / 0.6134 GB, free: 12.68 MB / 459.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005441/0.6999, allocations: 418.4 kB / 0.6138 GB, free: 12.27 MB / 459.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00061/0.7006, allocations: 0.5075 MB / 0.6143 GB, free: 11.73 MB / 459.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006623/0.7012, allocations: 0.4886 MB / 0.6148 GB, free: 11.25 MB / 459.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.975e-06/0.7012, allocations: 0 / 0.6148 GB, free: 11.25 MB / 459.1 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.002117/0.7034, allocations: 1.324 MB / 0.6161 GB, free: 9.91 MB / 459.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.797e-05/0.7034, allocations: 4 kB / 0.6161 GB, free: 9.906 MB / 459.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.082e-05/0.7034, allocations: 7.953 kB / 0.6161 GB, free: 9.898 MB / 459.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008566/0.7043, allocations: 307 kB / 0.6164 GB, free: 9.598 MB / 459.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007199/0.705, allocations: 187.7 kB / 0.6166 GB, free: 9.414 MB / 459.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004433/0.7094, allocations: 3.774 MB / 0.6203 GB, free: 5.5 MB / 459.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000528/0.71, allocations: 43.92 kB / 0.6203 GB, free: 5.457 MB / 459.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.385e-05/0.7101, allocations: 35.92 kB / 0.6203 GB, free: 5.422 MB / 459.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (80): * Single equations (assignments): 79 * 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 {(2,100.0%) 26} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000156/0.7102, allocations: 116.9 kB / 0.6205 GB, free: 5.301 MB / 459.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.796e-05/0.7103, allocations: 59.41 kB / 0.6205 GB, free: 5.242 MB / 459.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002315/0.7127, allocations: 1.43 MB / 0.6219 GB, free: 3.797 MB / 459.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.297e-06/0.7127, allocations: 12 kB / 0.6219 GB, free: 3.785 MB / 459.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.191e-06/0.7127, allocations: 8 kB / 0.6219 GB, free: 3.777 MB / 459.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.225e-05/0.7127, allocations: 7.938 kB / 0.6219 GB, free: 3.77 MB / 459.1 MB Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00412/0.7168, allocations: 2.777 MB / 0.6246 GB, free: 0.8789 MB / 459.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.702e-06/0.7169, allocations: 4 kB / 0.6247 GB, free: 0.875 MB / 459.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006262/0.7175, allocations: 167.8 kB / 0.6248 GB, free: 0.7109 MB / 459.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007194/0.7182, allocations: 273.1 kB / 0.6251 GB, free: 452 kB / 459.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.459e-05/0.7183, allocations: 12 kB / 0.6251 GB, free: 440 kB / 459.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003996/0.7223, allocations: 3.476 MB / 0.6285 GB, free: 12.82 MB / 475.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.963e-06/0.7223, allocations: 12 kB / 0.6285 GB, free: 12.81 MB / 475.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002162/0.7245, allocations: 1.641 MB / 0.6301 GB, free: 11.01 MB / 475.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000156/0.7246, allocations: 144.3 kB / 0.6302 GB, free: 10.85 MB / 475.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.02e-05/0.7247, allocations: 11.98 kB / 0.6302 GB, free: 10.84 MB / 475.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000433/0.7252, allocations: 27.95 kB / 0.6303 GB, free: 10.81 MB / 475.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001237/0.7253, allocations: 92.56 kB / 0.6304 GB, free: 10.72 MB / 475.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.546e-05/0.7254, allocations: 32 kB / 0.6304 GB, free: 10.69 MB / 475.1 MB Notification: Performance of sorting global known variables: time 0.0002234/0.7256, allocations: 224.7 kB / 0.6306 GB, free: 10.47 MB / 475.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.7256, allocations: 0 / 0.6306 GB, free: 10.47 MB / 475.1 MB Notification: Performance of remove unused functions: time 0.0009314/0.7266, allocations: 284 kB / 0.6309 GB, free: 10.2 MB / 475.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 simulation (82): * Single equations (assignments): 80 * 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 {(2,100.0%) 24} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002027/0.7268, allocations: 111 kB / 0.631 GB, free: 10.08 MB / 475.1 MB Notification: Performance of simCode: created initialization part: time 0.001855/0.7287, allocations: 1.26 MB / 0.6322 GB, free: 8.805 MB / 475.1 MB Notification: Performance of simCode: created event and clocks part: time 4.719e-06/0.7287, allocations: 4.562 kB / 0.6322 GB, free: 8.801 MB / 475.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001043/0.7297, allocations: 0.7735 MB / 0.633 GB, free: 8.016 MB / 475.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004694/0.7302, allocations: 74.72 kB / 0.633 GB, free: 7.941 MB / 475.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002177/0.7324, allocations: 1.419 MB / 0.6344 GB, free: 6.449 MB / 475.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006817/0.7331, allocations: 1.085 MB / 0.6355 GB, free: 5.336 MB / 475.1 MB Notification: Performance of simCode: alias equations: time 0.0004436/0.7336, allocations: 180.6 kB / 0.6357 GB, free: 5.16 MB / 475.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001738/0.7337, allocations: 55.42 kB / 0.6357 GB, free: 5.109 MB / 475.1 MB Notification: Performance of SimCode: time 9.42e-07/0.7337, allocations: 0 / 0.6357 GB, free: 5.109 MB / 475.1 MB Notification: Performance of Templates: time 0.2473/0.9811, allocations: 8.609 MB / 0.6441 GB, free: 125.7 MB / 475.1 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq.makefile (rm -f PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq.sim & ./PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq.pipe 2>&1) diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.Generic.Network.NetworkLoop_dq.mat","../files/PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches