Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkOpened.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.NetworkOpened,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.NetworkOpened") translateModel(PowerSystems.Examples.Generic.Network.NetworkOpened,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.NetworkOpened") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008924/0.0008925, allocations: 176.5 kB / 8.349 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.736/1.736, allocations: 205.3 MB / 214.1 MB, free: 14.14 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.0007982/0.0007982, allocations: 91.44 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.2601/0.2601, allocations: 37.99 MB / 348 MB, free: 7.777 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 1.85e-05/1.852e-05, allocations: 4 kB / 410.6 MB, free: 46.95 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1652/0.1652, allocations: 56.33 MB / 466.9 MB, free: 6.562 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4649/0.6301, allocations: 94.92 MB / 0.5487 GB, free: 16 kB / 379.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003646/0.6306, allocations: 80.03 kB / 0.5487 GB, free: 15.93 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.1322/0.7629, allocations: 57.23 MB / 0.6046 GB, free: 6.027 MB / 443.1 MB Notification: Performance of FrontEnd: time 1.883e-06/0.7629, allocations: 0 / 0.6046 GB, free: 6.027 MB / 443.1 MB Notification: Performance of Transformations before backend: time 3.203e-05/0.763, allocations: 16 kB / 0.6046 GB, free: 6.012 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: 212 * Number of variables: 212 Notification: Performance of Generate backend data structure: time 0.001917/0.7649, allocations: 0.9955 MB / 0.6056 GB, free: 4.969 MB / 443.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.046e-05/0.7649, allocations: 11.97 kB / 0.6056 GB, free: 4.957 MB / 443.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003344/0.7683, allocations: 426.4 kB / 0.606 GB, free: 4.539 MB / 443.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008079/0.7691, allocations: 0.4893 MB / 0.6065 GB, free: 4.012 MB / 443.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.76e-05/0.7692, allocations: 24 kB / 0.6065 GB, free: 3.988 MB / 443.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001133/0.7693, allocations: 43.94 kB / 0.6066 GB, free: 3.945 MB / 443.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001461/0.7708, allocations: 0.9448 MB / 0.6075 GB, free: 3 MB / 443.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001678/0.7724, allocations: 1.078 MB / 0.6085 GB, free: 1.898 MB / 443.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.325e-05/0.7725, allocations: 3.938 kB / 0.6085 GB, free: 1.895 MB / 443.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.172e-05/0.7726, allocations: 7.953 kB / 0.6085 GB, free: 1.887 MB / 443.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003145/0.7729, allocations: 105.9 kB / 0.6086 GB, free: 1.781 MB / 443.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005562/0.7785, allocations: 3.56 MB / 0.6121 GB, free: 14.12 MB / 459.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001614/0.7801, allocations: 1.03 MB / 0.6131 GB, free: 13.06 MB / 459.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007607/0.7809, allocations: 0.5901 MB / 0.6137 GB, free: 12.47 MB / 459.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.343e-05/0.781, allocations: 20.88 kB / 0.6137 GB, free: 12.45 MB / 459.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.761e-05/0.781, allocations: 43.34 kB / 0.6138 GB, free: 12.4 MB / 459.1 MB Notification: Performance of pre-optimization done (n=92): time 3.727e-06/0.781, allocations: 4 kB / 0.6138 GB, free: 12.39 MB / 459.1 MB Notification: Performance of matching and sorting (n=93): time 0.0033/0.7843, allocations: 1.899 MB / 0.6156 GB, free: 10.48 MB / 459.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.481e-05/0.7844, allocations: 89.83 kB / 0.6157 GB, free: 10.38 MB / 459.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003305/0.7847, allocations: 298.2 kB / 0.616 GB, free: 10.08 MB / 459.1 MB Notification: Performance of collectPreVariables (initialization): time 5.834e-05/0.7848, allocations: 29.7 kB / 0.616 GB, free: 10.05 MB / 459.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001999/0.785, allocations: 328 kB / 0.6163 GB, free: 9.719 MB / 459.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002706/0.7853, allocations: 303.5 kB / 0.6166 GB, free: 9.418 MB / 459.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.142e-05/0.7853, allocations: 0 / 0.6166 GB, free: 9.418 MB / 459.1 MB Notification: Performance of setup shared object (initialization): time 0.0001764/0.7855, allocations: 366.8 kB / 0.617 GB, free: 9.051 MB / 459.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005627/0.7861, allocations: 422.5 kB / 0.6174 GB, free: 8.637 MB / 459.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006381/0.7867, allocations: 0.5166 MB / 0.6179 GB, free: 8.09 MB / 459.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007082/0.7874, allocations: 0.502 MB / 0.6184 GB, free: 7.586 MB / 459.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.215e-06/0.7875, allocations: 0 / 0.6184 GB, free: 7.586 MB / 459.1 MB Notification: Performance of matching and sorting (n=109) (initialization): time 0.002162/0.7896, allocations: 1.341 MB / 0.6197 GB, free: 6.234 MB / 459.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.27e-05/0.7897, allocations: 8.219 kB / 0.6197 GB, free: 6.227 MB / 459.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.286e-06/0.7897, allocations: 4 kB / 0.6197 GB, free: 6.223 MB / 459.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009139/0.7906, allocations: 311 kB / 0.62 GB, free: 5.918 MB / 459.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007336/0.7913, allocations: 187.7 kB / 0.6202 GB, free: 5.734 MB / 459.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004962/0.7963, allocations: 3.756 MB / 0.6238 GB, free: 1.836 MB / 459.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005608/0.7969, allocations: 47.91 kB / 0.6239 GB, free: 1.789 MB / 459.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.83e-05/0.797, allocations: 35.98 kB / 0.6239 GB, free: 1.754 MB / 459.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (82): * Single equations (assignments): 81 * 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.0001786/0.7972, allocations: 128.7 kB / 0.624 GB, free: 1.621 MB / 459.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001148/0.7973, allocations: 59.25 kB / 0.6241 GB, free: 1.562 MB / 459.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002426/0.7997, allocations: 1.422 MB / 0.6255 GB, free: 132 kB / 459.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.184e-05/0.7997, allocations: 12 kB / 0.6255 GB, free: 120 kB / 459.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/0.7997, allocations: 7.938 kB / 0.6255 GB, free: 112 kB / 459.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.114e-05/0.7998, allocations: 3.984 kB / 0.6255 GB, free: 108 kB / 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.004505/0.8043, allocations: 2.774 MB / 0.6282 GB, free: 13.21 MB / 475.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.454e-06/0.8043, allocations: 4 kB / 0.6282 GB, free: 13.21 MB / 475.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006244/0.8049, allocations: 171.8 kB / 0.6284 GB, free: 13.04 MB / 475.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007468/0.8057, allocations: 268.9 kB / 0.6286 GB, free: 12.78 MB / 475.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.56e-05/0.8058, allocations: 15.98 kB / 0.6287 GB, free: 12.76 MB / 475.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004453/0.8102, allocations: 3.48 MB / 0.6321 GB, free: 9.152 MB / 475.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.157e-06/0.8102, allocations: 4 kB / 0.6321 GB, free: 9.148 MB / 475.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002314/0.8126, allocations: 1.649 MB / 0.6337 GB, free: 7.34 MB / 475.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002164/0.8128, allocations: 144.3 kB / 0.6338 GB, free: 7.18 MB / 475.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.202e-05/0.8129, allocations: 4 kB / 0.6338 GB, free: 7.176 MB / 475.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004289/0.8133, allocations: 39.89 kB / 0.6339 GB, free: 7.137 MB / 475.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001295/0.8135, allocations: 76.62 kB / 0.6339 GB, free: 7.062 MB / 475.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.766e-05/0.8135, allocations: 35.98 kB / 0.634 GB, free: 7.027 MB / 475.1 MB Notification: Performance of sorting global known variables: time 0.0002691/0.8138, allocations: 232.6 kB / 0.6342 GB, free: 6.801 MB / 475.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.8138, allocations: 0 / 0.6342 GB, free: 6.801 MB / 475.1 MB Notification: Performance of remove unused functions: time 0.00113/0.8149, allocations: 284.9 kB / 0.6345 GB, free: 6.523 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.000217/0.8152, allocations: 115.1 kB / 0.6346 GB, free: 6.402 MB / 475.1 MB Notification: Performance of simCode: created initialization part: time 0.001804/0.817, allocations: 1.255 MB / 0.6358 GB, free: 5.133 MB / 475.1 MB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.817, allocations: 0 / 0.6358 GB, free: 5.133 MB / 475.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00106/0.8181, allocations: 0.7744 MB / 0.6365 GB, free: 4.352 MB / 475.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004874/0.8186, allocations: 70.06 kB / 0.6366 GB, free: 4.285 MB / 475.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002289/0.8209, allocations: 1.435 MB / 0.638 GB, free: 2.777 MB / 475.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007419/0.8216, allocations: 1.097 MB / 0.6391 GB, free: 1.652 MB / 475.1 MB Notification: Performance of simCode: alias equations: time 0.0004462/0.8221, allocations: 184.7 kB / 0.6393 GB, free: 1.473 MB / 475.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001718/0.8223, allocations: 55.42 kB / 0.6393 GB, free: 1.418 MB / 475.1 MB Notification: Performance of SimCode: time 2.5e-07/0.8223, allocations: 0 / 0.6393 GB, free: 1.418 MB / 475.1 MB Notification: Performance of Templates: time 0.2876/1.11, allocations: 8.657 MB / 0.6478 GB, free: 122.9 MB / 475.1 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkOpened.makefile (rm -f PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkOpened.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkOpened.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkOpened.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkOpened.sim & ./PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkOpened -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkOpened.pipe 2>&1) diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkOpened_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.Generic.Network.NetworkOpened.mat","../files/PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkOpened.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches