Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0.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_dq0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|impedance3.i.1.|impedance3.i.2.|impedance3.i.3.|impedance3.p.1.|impedance3.p.2.|impedance3.p.3.|impedance3.v.1.|impedance3.v.2.|impedance3.v.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0") translateModel(PowerSystems.Examples.Generic.Network.NetworkLoop_dq0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|impedance3.i.1.|impedance3.i.2.|impedance3.i.3.|impedance3.p.1.|impedance3.p.2.|impedance3.p.3.|impedance3.v.1.|impedance3.v.2.|impedance3.v.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001193/0.001193, allocations: 175 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.684/1.684, allocations: 205.2 MB / 219.4 MB, free: 14.26 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.0009857/0.000986, allocations: 90.59 kB / 267.5 MB, free: 14.1 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.19/0.19, allocations: 37.98 MB / 353.5 MB, free: 1.75 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 2.671e-05/2.674e-05, allocations: 4 kB / 417.7 MB, free: 29.12 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1132/0.1132, allocations: 56.32 MB / 474.1 MB, free: 4.801 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4564/0.5697, allocations: 99.39 MB / 0.56 GB, free: 4.207 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002264/0.57, allocations: 84.05 kB / 0.5601 GB, free: 4.164 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1419/0.7119, allocations: 59.06 MB / 0.6178 GB, free: 15.86 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.543e-06/0.712, allocations: 0 / 0.6178 GB, free: 15.86 MB / 426.7 MB Notification: Performance of Transformations before backend: time 3.608e-05/0.712, allocations: 27.92 kB / 0.6178 GB, free: 15.84 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 267 * Number of variables: 267 Notification: Performance of Generate backend data structure: time 0.002241/0.7143, allocations: 1.116 MB / 0.6189 GB, free: 14.67 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.728e-05/0.7143, allocations: 12.03 kB / 0.6189 GB, free: 14.66 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00401/0.7184, allocations: 0.502 MB / 0.6194 GB, free: 14.16 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001195/0.7196, allocations: 0.5514 MB / 0.6199 GB, free: 13.57 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.045e-05/0.7197, allocations: 73.98 kB / 0.62 GB, free: 13.5 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001681/0.7198, allocations: 83.98 kB / 0.6201 GB, free: 13.41 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002405/0.7222, allocations: 1.446 MB / 0.6215 GB, free: 11.93 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.279e-05/0.7223, allocations: 4 kB / 0.6215 GB, free: 11.93 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001055/0.7224, allocations: 35.98 kB / 0.6215 GB, free: 11.89 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003403/0.7227, allocations: 137.9 kB / 0.6216 GB, free: 11.75 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002273/0.725, allocations: 1.456 MB / 0.6231 GB, free: 10.29 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 preOpt removeSimpleEquations (simulation): time 0.007841/0.7329, allocations: 4.865 MB / 0.6278 GB, free: 5.215 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001857/0.7348, allocations: 1.144 MB / 0.6289 GB, free: 4.047 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001054/0.7358, allocations: 0.7342 MB / 0.6297 GB, free: 3.312 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.369e-05/0.7359, allocations: 21.05 kB / 0.6297 GB, free: 3.293 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.316e-05/0.736, allocations: 47.78 kB / 0.6297 GB, free: 3.238 MB / 426.7 MB Notification: Performance of pre-optimization done (n=107): time 3.837e-06/0.736, allocations: 0 / 0.6297 GB, free: 3.238 MB / 426.7 MB Notification: Performance of matching and sorting (n=108): time 0.004426/0.7404, allocations: 2.385 MB / 0.632 GB, free: 0.8398 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.097e-05/0.7405, allocations: 90.11 kB / 0.6321 GB, free: 0.7305 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005782/0.7411, allocations: 414.9 kB / 0.6325 GB, free: 328 kB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 6.768e-05/0.7412, allocations: 41.7 kB / 0.6326 GB, free: 280 kB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003308/0.7415, allocations: 415.6 kB / 0.633 GB, free: 15.86 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003649/0.7419, allocations: 378.5 kB / 0.6333 GB, free: 15.48 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.134e-05/0.7419, allocations: 24 kB / 0.6333 GB, free: 15.46 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0002729/0.7422, allocations: 382.8 kB / 0.6337 GB, free: 15.08 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007786/0.743, allocations: 0.514 MB / 0.6342 GB, free: 14.56 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009513/0.744, allocations: 0.7189 MB / 0.6349 GB, free: 13.76 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001015/0.745, allocations: 0.6333 MB / 0.6355 GB, free: 13.13 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.147e-06/0.745, allocations: 3.938 kB / 0.6355 GB, free: 13.13 MB / 442.7 MB Notification: Performance of matching and sorting (n=139) (initialization): time 0.003214/0.7482, allocations: 1.752 MB / 0.6372 GB, free: 11.36 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.178e-05/0.7483, allocations: 15.92 kB / 0.6373 GB, free: 11.35 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.629e-05/0.7483, allocations: 8 kB / 0.6373 GB, free: 11.34 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001087/0.7494, allocations: 399.8 kB / 0.6377 GB, free: 10.95 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009074/0.7503, allocations: 235.6 kB / 0.6379 GB, free: 10.71 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007137/0.7575, allocations: 5.604 MB / 0.6434 GB, free: 4.816 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00104/0.7586, allocations: 75.92 kB / 0.6434 GB, free: 4.742 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.586e-05/0.7586, allocations: 40.05 kB / 0.6435 GB, free: 4.703 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 26 * 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 (105): * Single equations (assignments): 103 * 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 {(2,100.0%) 26,(1,100.0%) 7} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000273/0.7589, allocations: 172.6 kB / 0.6436 GB, free: 4.527 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000153/0.7591, allocations: 75.09 kB / 0.6437 GB, free: 4.453 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003322/0.7624, allocations: 1.764 MB / 0.6454 GB, free: 2.676 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.519e-05/0.7625, allocations: 12 kB / 0.6454 GB, free: 2.664 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.506e-06/0.7625, allocations: 7.938 kB / 0.6454 GB, free: 2.656 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.375e-05/0.7625, allocations: 11.98 kB / 0.6454 GB, free: 2.645 MB / 442.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.006761/0.7693, allocations: 3.415 MB / 0.6488 GB, free: 15.1 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.161e-05/0.7693, allocations: 8 kB / 0.6488 GB, free: 15.09 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007585/0.7701, allocations: 187.7 kB / 0.649 GB, free: 14.91 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009548/0.771, allocations: 350.2 kB / 0.6493 GB, free: 14.56 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.61e-05/0.7711, allocations: 28 kB / 0.6493 GB, free: 14.53 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006467/0.7776, allocations: 5.322 MB / 0.6545 GB, free: 8.922 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.181e-06/0.7777, allocations: 11.94 kB / 0.6545 GB, free: 8.91 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003388/0.781, allocations: 1.946 MB / 0.6564 GB, free: 6.801 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003594/0.7814, allocations: 160.1 kB / 0.6566 GB, free: 6.625 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000119/0.7816, allocations: 24 kB / 0.6566 GB, free: 6.602 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005591/0.7821, allocations: 47.95 kB / 0.6567 GB, free: 6.555 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002534/0.7824, allocations: 92.77 kB / 0.6568 GB, free: 6.465 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.742e-05/0.7825, allocations: 36 kB / 0.6568 GB, free: 6.43 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0004848/0.783, allocations: 325.1 kB / 0.6571 GB, free: 6.113 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.783, allocations: 0 / 0.6571 GB, free: 6.113 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.001468/0.7845, allocations: 415.9 kB / 0.6575 GB, free: 5.707 MB / 458.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 (91): * Single equations (assignments): 88 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 7,(2,100.0%) 24} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002851/0.7848, allocations: 135.1 kB / 0.6576 GB, free: 5.566 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.002874/0.7876, allocations: 1.678 MB / 0.6593 GB, free: 3.863 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 4.198e-06/0.7877, allocations: 0 / 0.6593 GB, free: 3.863 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001937/0.7896, allocations: 1.054 MB / 0.6603 GB, free: 2.785 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001139/0.7908, allocations: 118.9 kB / 0.6604 GB, free: 2.664 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003621/0.7944, allocations: 1.788 MB / 0.6621 GB, free: 0.8086 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000963/0.7954, allocations: 1.196 MB / 0.6633 GB, free: 15.59 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0006383/0.796, allocations: 241.4 kB / 0.6635 GB, free: 15.35 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002367/0.7963, allocations: 59.42 kB / 0.6636 GB, free: 15.29 MB / 474.7 MB Notification: Performance of SimCode: time 2.375e-06/0.7963, allocations: 4 kB / 0.6636 GB, free: 15.29 MB / 474.7 MB Notification: Performance of Templates: time 0.02013/0.8164, allocations: 11.1 MB / 0.6745 GB, free: 4.188 MB / 474.7 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0.makefile (rm -f PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0.sim & ./PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0.pipe 2>&1) diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.Generic.Network.NetworkLoop_dq0.mat","../files/PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches