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.0009883/0.0009883, allocations: 174.5 kB / 13.63 MB, free: 1.684 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.692/1.692, allocations: 205.2 MB / 219.4 MB, free: 14.2 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.0008207/0.0008207, allocations: 82.72 kB / 267.5 MB, free: 14.04 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.2258/0.2258, allocations: 37.97 MB / 353.5 MB, free: 1.75 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 3.135e-05/3.138e-05, allocations: 0 / 417.7 MB, free: 29.12 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1211/0.1211, allocations: 56.31 MB / 474 MB, free: 4.805 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4708/0.592, allocations: 95.84 MB / 0.5565 GB, free: 7.379 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002076/0.5923, allocations: 83.45 kB / 0.5566 GB, free: 7.336 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1276/0.7199, allocations: 54.01 MB / 0.6094 GB, free: 8.488 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.623e-06/0.72, allocations: 3.938 kB / 0.6094 GB, free: 8.484 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.242e-05/0.72, allocations: 16 kB / 0.6094 GB, free: 8.469 MB / 410.7 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.001896/0.7219, allocations: 0.9527 MB / 0.6103 GB, free: 7.469 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.785e-05/0.722, allocations: 12.03 kB / 0.6103 GB, free: 7.457 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003354/0.7253, allocations: 406.4 kB / 0.6107 GB, free: 7.059 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009408/0.7263, allocations: 475.6 kB / 0.6112 GB, free: 6.551 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.774e-05/0.7263, allocations: 53.98 kB / 0.6112 GB, free: 6.5 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001667/0.7265, allocations: 75.89 kB / 0.6113 GB, free: 6.426 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001811/0.7283, allocations: 1.141 MB / 0.6124 GB, free: 5.258 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.67e-05/0.7284, allocations: 3.984 kB / 0.6124 GB, free: 5.254 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.338e-05/0.7285, allocations: 28 kB / 0.6124 GB, free: 5.227 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000278/0.7287, allocations: 97.86 kB / 0.6125 GB, free: 5.133 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001801/0.7306, allocations: 1.175 MB / 0.6137 GB, free: 3.953 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005586/0.7362, allocations: 3.519 MB / 0.6171 GB, free: 348 kB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001803/0.738, allocations: 1.045 MB / 0.6181 GB, free: 15.27 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009339/0.739, allocations: 0.6288 MB / 0.6187 GB, free: 14.64 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.961e-05/0.7391, allocations: 12.78 kB / 0.6188 GB, free: 14.62 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.376e-05/0.7391, allocations: 55.41 kB / 0.6188 GB, free: 14.56 MB / 426.7 MB Notification: Performance of pre-optimization done (n=91): time 3.707e-06/0.7391, allocations: 0 / 0.6188 GB, free: 14.56 MB / 426.7 MB Notification: Performance of matching and sorting (n=92): time 0.00372/0.7429, allocations: 1.986 MB / 0.6207 GB, free: 12.57 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.758e-05/0.7429, allocations: 85.92 kB / 0.6208 GB, free: 12.46 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004849/0.7434, allocations: 323.5 kB / 0.6211 GB, free: 12.14 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 7.912e-05/0.7435, allocations: 41.7 kB / 0.6212 GB, free: 12.1 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002215/0.7438, allocations: 312.2 kB / 0.6215 GB, free: 11.79 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003048/0.7441, allocations: 311.4 kB / 0.6218 GB, free: 11.48 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.406e-05/0.7441, allocations: 12 kB / 0.6218 GB, free: 11.46 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002013/0.7443, allocations: 370.8 kB / 0.6221 GB, free: 11.09 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006575/0.745, allocations: 433.8 kB / 0.6226 GB, free: 10.67 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007462/0.7458, allocations: 0.5304 MB / 0.6231 GB, free: 10.11 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008209/0.7466, allocations: 0.5096 MB / 0.6236 GB, free: 9.598 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.346e-06/0.7466, allocations: 0 / 0.6236 GB, free: 9.598 MB / 426.7 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.002506/0.7491, allocations: 1.395 MB / 0.6249 GB, free: 8.191 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.302e-05/0.7492, allocations: 4 kB / 0.6249 GB, free: 8.188 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.121e-05/0.7492, allocations: 4 kB / 0.6249 GB, free: 8.184 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009488/0.7501, allocations: 332.1 kB / 0.6253 GB, free: 7.859 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008012/0.7509, allocations: 199.7 kB / 0.6254 GB, free: 7.664 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00532/0.7563, allocations: 3.894 MB / 0.6292 GB, free: 3.609 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007859/0.7571, allocations: 67.86 kB / 0.6293 GB, free: 3.543 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.252e-05/0.7572, allocations: 35.97 kB / 0.6293 GB, free: 3.508 MB / 426.7 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.0002131/0.7574, allocations: 144.9 kB / 0.6295 GB, free: 3.359 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00012/0.7575, allocations: 55.34 kB / 0.6295 GB, free: 3.305 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002811/0.7603, allocations: 1.516 MB / 0.631 GB, free: 1.777 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.188e-05/0.7604, allocations: 8 kB / 0.631 GB, free: 1.77 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.684e-06/0.7604, allocations: 7.938 kB / 0.631 GB, free: 1.762 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.196e-05/0.7604, allocations: 7.984 kB / 0.631 GB, free: 1.754 MB / 426.7 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.005139/0.7656, allocations: 2.983 MB / 0.634 GB, free: 14.64 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.837e-06/0.7656, allocations: 8.062 kB / 0.634 GB, free: 14.63 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006812/0.7663, allocations: 167.8 kB / 0.6341 GB, free: 14.47 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008322/0.7671, allocations: 285 kB / 0.6344 GB, free: 14.19 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.637e-05/0.7672, allocations: 20 kB / 0.6344 GB, free: 14.17 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00502/0.7722, allocations: 3.591 MB / 0.6379 GB, free: 10.43 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.829e-06/0.7723, allocations: 4 kB / 0.6379 GB, free: 10.42 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00283/0.7751, allocations: 1.705 MB / 0.6396 GB, free: 8.559 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002574/0.7754, allocations: 144.3 kB / 0.6397 GB, free: 8.398 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.948e-05/0.7755, allocations: 31.88 kB / 0.6398 GB, free: 8.367 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004707/0.776, allocations: 47.95 kB / 0.6398 GB, free: 8.32 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000174/0.7762, allocations: 72.67 kB / 0.6399 GB, free: 8.25 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.486e-05/0.7762, allocations: 35.95 kB / 0.6399 GB, free: 8.215 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0003277/0.7766, allocations: 254.1 kB / 0.6401 GB, free: 7.965 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.71e-07/0.7766, allocations: 0 / 0.6401 GB, free: 7.965 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001085/0.7777, allocations: 320 kB / 0.6405 GB, free: 7.652 MB / 442.7 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.0002375/0.7779, allocations: 139.2 kB / 0.6406 GB, free: 7.508 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.002243/0.7802, allocations: 1.324 MB / 0.6419 GB, free: 6.176 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.496e-06/0.7802, allocations: 0 / 0.6419 GB, free: 6.176 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001266/0.7815, allocations: 0.8196 MB / 0.6427 GB, free: 5.34 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006307/0.7821, allocations: 89.91 kB / 0.6428 GB, free: 5.25 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002637/0.7848, allocations: 1.474 MB / 0.6442 GB, free: 3.699 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008079/0.7856, allocations: 1.081 MB / 0.6453 GB, free: 2.586 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0005211/0.7861, allocations: 184.6 kB / 0.6454 GB, free: 2.406 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001984/0.7863, allocations: 55.42 kB / 0.6455 GB, free: 2.355 MB / 442.7 MB Notification: Performance of SimCode: time 1.232e-06/0.7863, allocations: 4 kB / 0.6455 GB, free: 2.352 MB / 442.7 MB Notification: Performance of Templates: time 0.01719/0.8035, allocations: 9.006 MB / 0.6543 GB, free: 9.355 MB / 458.7 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