Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop.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,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") translateModel(PowerSystems.Examples.Generic.Network.NetworkLoop,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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001072/0.001072, allocations: 175.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.592/1.592, allocations: 205.2 MB / 219.4 MB, free: 14.27 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.0009244/0.0009247, allocations: 82.66 kB / 267.5 MB, free: 14.11 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.1779/0.1779, allocations: 37.98 MB / 353.5 MB, free: 1.758 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 3.467e-05/3.486e-05, allocations: 4 kB / 417.7 MB, free: 29.14 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.133/0.133, allocations: 56.31 MB / 474.1 MB, free: 4.816 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4438/0.5769, allocations: 95.75 MB / 0.5564 GB, free: 7.441 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002899/0.5773, allocations: 86.25 kB / 0.5565 GB, free: 7.395 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1411/0.7183, allocations: 54.6 MB / 0.6099 GB, free: 7.984 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.903e-06/0.7184, allocations: 4 kB / 0.6099 GB, free: 7.98 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.282e-05/0.7184, allocations: 16 kB / 0.6099 GB, free: 7.965 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.001938/0.7204, allocations: 0.9644 MB / 0.6108 GB, free: 6.953 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.352e-05/0.7205, allocations: 8.031 kB / 0.6108 GB, free: 6.945 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003439/0.7239, allocations: 402.4 kB / 0.6112 GB, free: 6.551 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001015/0.725, allocations: 479.6 kB / 0.6117 GB, free: 6.039 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.089e-05/0.725, allocations: 53.98 kB / 0.6117 GB, free: 5.988 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001443/0.7252, allocations: 75.83 kB / 0.6118 GB, free: 5.914 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001908/0.7271, allocations: 1.129 MB / 0.6129 GB, free: 4.758 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.574e-05/0.7272, allocations: 0 / 0.6129 GB, free: 4.758 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.356e-05/0.7272, allocations: 31.98 kB / 0.6129 GB, free: 4.727 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002874/0.7275, allocations: 109.8 kB / 0.613 GB, free: 4.621 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001807/0.7294, allocations: 1.171 MB / 0.6142 GB, free: 3.445 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005638/0.735, allocations: 3.511 MB / 0.6176 GB, free: 15.84 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001719/0.7368, allocations: 1.045 MB / 0.6186 GB, free: 14.77 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008765/0.7377, allocations: 0.6288 MB / 0.6192 GB, free: 14.14 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.44e-05/0.7378, allocations: 16.75 kB / 0.6192 GB, free: 14.12 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.75e-05/0.7378, allocations: 47.3 kB / 0.6193 GB, free: 14.07 MB / 426.7 MB Notification: Performance of pre-optimization done (n=91): time 5.37e-06/0.7379, allocations: 0 / 0.6193 GB, free: 14.07 MB / 426.7 MB Notification: Performance of matching and sorting (n=92): time 0.003768/0.7416, allocations: 1.99 MB / 0.6212 GB, free: 12.07 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.633e-05/0.7417, allocations: 93.92 kB / 0.6213 GB, free: 11.95 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000471/0.7422, allocations: 319.5 kB / 0.6216 GB, free: 11.64 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 6.274e-05/0.7423, allocations: 37.7 kB / 0.6217 GB, free: 11.6 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001984/0.7425, allocations: 312.2 kB / 0.622 GB, free: 11.29 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002929/0.7428, allocations: 319.4 kB / 0.6223 GB, free: 10.97 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.47e-05/0.7429, allocations: 20 kB / 0.6223 GB, free: 10.95 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001698/0.743, allocations: 366.8 kB / 0.6226 GB, free: 10.58 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006121/0.7436, allocations: 429.8 kB / 0.623 GB, free: 10.16 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007182/0.7444, allocations: 0.5382 MB / 0.6236 GB, free: 9.59 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007924/0.7452, allocations: 0.4979 MB / 0.6241 GB, free: 9.094 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.809e-06/0.7452, allocations: 4 kB / 0.6241 GB, free: 9.09 MB / 426.7 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.002449/0.7476, allocations: 1.391 MB / 0.6254 GB, free: 7.688 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.616e-05/0.7477, allocations: 8 kB / 0.6254 GB, free: 7.68 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.191e-05/0.7477, allocations: 0 / 0.6254 GB, free: 7.68 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001034/0.7488, allocations: 336.1 kB / 0.6257 GB, free: 7.352 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007589/0.7495, allocations: 191.7 kB / 0.6259 GB, free: 7.164 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00527/0.7548, allocations: 3.898 MB / 0.6297 GB, free: 3.105 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008081/0.7557, allocations: 63.86 kB / 0.6298 GB, free: 3.043 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.233e-05/0.7558, allocations: 35.98 kB / 0.6298 GB, free: 3.008 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.0002421/0.756, allocations: 144.8 kB / 0.63 GB, free: 2.859 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001186/0.7561, allocations: 59.33 kB / 0.63 GB, free: 2.801 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002745/0.7589, allocations: 1.512 MB / 0.6315 GB, free: 1.277 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.273e-05/0.7589, allocations: 15.94 kB / 0.6315 GB, free: 1.262 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.428e-06/0.7589, allocations: 8 kB / 0.6315 GB, free: 1.254 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.137e-05/0.7589, allocations: 3.984 kB / 0.6315 GB, free: 1.25 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.005305/0.7643, allocations: 2.984 MB / 0.6344 GB, free: 14.14 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.047e-05/0.7643, allocations: 8.031 kB / 0.6345 GB, free: 14.13 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006938/0.765, allocations: 175.8 kB / 0.6346 GB, free: 13.96 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007979/0.7658, allocations: 277 kB / 0.6349 GB, free: 13.68 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.524e-05/0.7659, allocations: 24 kB / 0.6349 GB, free: 13.66 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004847/0.7707, allocations: 3.58 MB / 0.6384 GB, free: 9.934 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.116e-06/0.7708, allocations: 7.938 kB / 0.6384 GB, free: 9.926 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002783/0.7736, allocations: 1.705 MB / 0.6401 GB, free: 8.062 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002507/0.7739, allocations: 144.4 kB / 0.6402 GB, free: 7.902 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001027/0.774, allocations: 27.94 kB / 0.6402 GB, free: 7.875 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004875/0.7745, allocations: 47.95 kB / 0.6403 GB, free: 7.828 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001587/0.7746, allocations: 80.61 kB / 0.6404 GB, free: 7.75 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.433e-05/0.7747, allocations: 27.95 kB / 0.6404 GB, free: 7.723 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0003458/0.7751, allocations: 254.1 kB / 0.6406 GB, free: 7.473 MB / 442.7 MB Notification: Performance of sort global known variables: time 2.71e-07/0.7751, allocations: 0 / 0.6406 GB, free: 7.473 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001175/0.7762, allocations: 324 kB / 0.6409 GB, free: 7.156 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.0002555/0.7765, allocations: 143.9 kB / 0.6411 GB, free: 7.004 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.002162/0.7787, allocations: 1.32 MB / 0.6424 GB, free: 5.676 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 4.008e-06/0.7787, allocations: 0 / 0.6424 GB, free: 5.676 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001201/0.7799, allocations: 0.8194 MB / 0.6432 GB, free: 4.84 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006528/0.7806, allocations: 89.84 kB / 0.6433 GB, free: 4.75 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002638/0.7832, allocations: 1.478 MB / 0.6447 GB, free: 3.195 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007406/0.784, allocations: 1.085 MB / 0.6458 GB, free: 2.078 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0005299/0.7845, allocations: 188.6 kB / 0.6459 GB, free: 1.895 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001916/0.7847, allocations: 55.42 kB / 0.646 GB, free: 1.844 MB / 442.7 MB Notification: Performance of SimCode: time 1.513e-06/0.7847, allocations: 4 kB / 0.646 GB, free: 1.84 MB / 442.7 MB Notification: Performance of Templates: time 0.01702/0.8018, allocations: 9.007 MB / 0.6548 GB, free: 8.844 MB / 458.7 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop.makefile (rm -f PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop.sim & ./PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop.pipe 2>&1) diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.Generic.Network.NetworkLoop.mat","../files/PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches