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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo", uses=false) Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001445/0.001445, allocations: 114.8 kB / 17.75 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001717/0.001717, allocations: 184.5 kB / 18.66 MB, free: 4.434 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.396/1.396, allocations: 222.9 MB / 242.4 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.2463/0.2463, allocations: 38.05 MB / 330.6 MB, free: 8.766 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001232/0.001232, allocations: 67.89 kB / 458.8 MB, free: 6.871 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.322/0.3233, allocations: 58.06 MB / 0.5048 GB, free: 7.715 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkOpened): time 0.007161/0.3305, allocations: 7.687 MB / 0.5123 GB, free: 2.336 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.006024/0.3366, allocations: 4.739 MB / 0.5169 GB, free: 15.01 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007121/0.3373, allocations: 13.5 kB / 0.5169 GB, free: 15.01 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002917/0.3403, allocations: 1.08 MB / 0.518 GB, free: 14.35 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00382/0.3441, allocations: 1.263 MB / 0.5192 GB, free: 13.69 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001283/0.3454, allocations: 359.4 kB / 0.5195 GB, free: 13.52 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002875/0.3483, allocations: 1.466 MB / 0.521 GB, free: 12.92 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001093/0.3494, allocations: 0.6679 MB / 0.5216 GB, free: 12.64 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001489/0.3509, allocations: 0.6438 MB / 0.5223 GB, free: 12.34 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001343/0.3523, allocations: 0.6991 MB / 0.5229 GB, free: 12.06 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001436/0.3524, allocations: 67.22 kB / 0.523 GB, free: 12.06 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003503/0.356, allocations: 1.436 MB / 0.5244 GB, free: 11.47 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00065/0.3566, allocations: 0.4903 MB / 0.5249 GB, free: 11.32 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005616/0.3572, allocations: 457.3 kB / 0.5253 GB, free: 11.06 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003028/0.3602, allocations: 1.534 MB / 0.5268 GB, free: 10.53 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.095e-06/0.3602, allocations: 0 / 0.5268 GB, free: 10.53 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.3603, allocations: 5.031 kB / 0.5268 GB, free: 10.53 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.994e-05/0.3603, allocations: 0 / 0.5268 GB, free: 10.53 MB / 398.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.002308/0.3626, allocations: 1.162 MB / 0.528 GB, free: 9.703 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.261e-05/0.3626, allocations: 14.17 kB / 0.528 GB, free: 9.699 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003619/0.3663, allocations: 410.9 kB / 0.5284 GB, free: 9.637 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001165/0.3675, allocations: 0.4958 MB / 0.5288 GB, free: 9.285 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.82e-05/0.3675, allocations: 55.73 kB / 0.5289 GB, free: 9.262 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001444/0.3677, allocations: 74.52 kB / 0.529 GB, free: 9.238 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002063/0.3697, allocations: 1.23 MB / 0.5302 GB, free: 8.758 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.937e-05/0.3698, allocations: 2.953 kB / 0.5302 GB, free: 8.758 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.421e-05/0.3699, allocations: 29.73 kB / 0.5302 GB, free: 8.734 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001148/0.37, allocations: 83.17 kB / 0.5303 GB, free: 8.723 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001924/0.3719, allocations: 1.315 MB / 0.5316 GB, free: 8.109 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005854/0.3778, allocations: 3.677 MB / 0.5352 GB, free: 5.582 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001842/0.3797, allocations: 1.087 MB / 0.5362 GB, free: 5.023 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008512/0.3805, allocations: 0.6422 MB / 0.5368 GB, free: 4.695 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.335e-05/0.3806, allocations: 23.19 kB / 0.5369 GB, free: 4.684 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.771e-05/0.3807, allocations: 44 kB / 0.5369 GB, free: 4.637 MB / 398.1 MB Notification: Performance of pre-optimization done (n=92): time 3.206e-06/0.3807, allocations: 0 / 0.5369 GB, free: 4.637 MB / 398.1 MB Notification: Performance of matching and sorting (n=93): time 0.00711/0.3878, allocations: 3.151 MB / 0.54 GB, free: 2.953 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.007e-05/0.3879, allocations: 88.2 kB / 0.5401 GB, free: 2.855 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004533/0.3883, allocations: 385.4 kB / 0.5404 GB, free: 2.613 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 6.36e-05/0.3884, allocations: 41.83 kB / 0.5405 GB, free: 2.57 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002149/0.3886, allocations: 319.9 kB / 0.5408 GB, free: 2.285 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003066/0.389, allocations: 324.5 kB / 0.5411 GB, free: 2.004 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002527/0.3892, allocations: 156.8 kB / 0.5412 GB, free: 1.914 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001628/0.3894, allocations: 371.3 kB / 0.5416 GB, free: 1.559 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006622/0.3901, allocations: 464.3 kB / 0.542 GB, free: 1.34 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007754/0.3908, allocations: 0.5829 MB / 0.5426 GB, free: 0.9844 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001539/0.3924, allocations: 1.113 MB / 0.5437 GB, free: 384 kB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.657e-06/0.3924, allocations: 0 / 0.5437 GB, free: 384 kB / 398.1 MB Notification: Performance of matching and sorting (n=109) (initialization): time 0.002542/0.3949, allocations: 1.485 MB / 0.5451 GB, free: 14.91 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.264e-05/0.395, allocations: 8 kB / 0.5451 GB, free: 14.9 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.207e-06/0.395, allocations: 0 / 0.5451 GB, free: 14.9 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009394/0.3959, allocations: 340.8 kB / 0.5455 GB, free: 14.56 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006984/0.3967, allocations: 183.7 kB / 0.5456 GB, free: 14.38 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005359/0.402, allocations: 4.166 MB / 0.5497 GB, free: 10.05 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007861/0.4028, allocations: 51.94 kB / 0.5498 GB, free: 10 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.242e-05/0.403, allocations: 39.97 kB / 0.5498 GB, free: 9.961 MB / 414.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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,26,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0005539/0.4035, allocations: 301.5 kB / 0.5501 GB, free: 9.656 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001377/0.4037, allocations: 63.41 kB / 0.5502 GB, free: 9.594 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002675/0.4063, allocations: 1.551 MB / 0.5517 GB, free: 8.027 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.218e-05/0.4064, allocations: 12 kB / 0.5517 GB, free: 8.016 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.037e-05/0.4064, allocations: 4 kB / 0.5517 GB, free: 8.012 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.233e-05/0.4064, allocations: 3.984 kB / 0.5517 GB, free: 8.008 MB / 414.1 MB Warning: The model contains alias variables with redundant start and/or conflicting 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.005348/0.4118, allocations: 3 MB / 0.5546 GB, free: 4.879 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.143e-06/0.4118, allocations: 4.438 kB / 0.5546 GB, free: 4.875 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006483/0.4124, allocations: 179.7 kB / 0.5548 GB, free: 4.699 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007924/0.4133, allocations: 280.6 kB / 0.5551 GB, free: 4.422 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.352e-05/0.4133, allocations: 23.98 kB / 0.5551 GB, free: 4.398 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005029/0.4184, allocations: 3.899 MB / 0.5589 GB, free: 356 kB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.685e-06/0.4184, allocations: 11.92 kB / 0.5589 GB, free: 344 kB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002918/0.4213, allocations: 1.575 MB / 0.5604 GB, free: 14.69 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003385/0.4217, allocations: 148.3 kB / 0.5606 GB, free: 14.53 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001541/0.4219, allocations: 23.98 kB / 0.5606 GB, free: 14.5 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005665/0.4224, allocations: 39.97 kB / 0.5606 GB, free: 14.46 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001794/0.4226, allocations: 84.77 kB / 0.5607 GB, free: 14.38 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.516e-05/0.4227, allocations: 35.98 kB / 0.5608 GB, free: 14.34 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0004155/0.4232, allocations: 275 kB / 0.561 GB, free: 14.08 MB / 430.1 MB Notification: Performance of sort global known variables: time 2.6e-07/0.4232, allocations: 0 / 0.561 GB, free: 14.08 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001456/0.4246, allocations: 308 kB / 0.5613 GB, free: 13.78 MB / 430.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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,24,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002132/0.4249, allocations: 131 kB / 0.5614 GB, free: 13.64 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.00245/0.4273, allocations: 1.402 MB / 0.5628 GB, free: 12.23 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 7.354e-06/0.4273, allocations: 0.625 kB / 0.5628 GB, free: 12.23 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001272/0.4286, allocations: 0.839 MB / 0.5636 GB, free: 11.38 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008357/0.4295, allocations: 105.3 kB / 0.5637 GB, free: 11.28 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003337/0.4328, allocations: 1.885 MB / 0.5656 GB, free: 9.309 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008118/0.4336, allocations: 1.083 MB / 0.5666 GB, free: 8.195 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00028/0.4339, allocations: 75.39 kB / 0.5667 GB, free: 8.121 MB / 430.1 MB Notification: Performance of SimCode: time 2.414e-06/0.4339, allocations: 0 / 0.5667 GB, free: 8.121 MB / 430.1 MB Notification: Performance of Templates: time 0.0194/0.4533, allocations: 12.49 MB / 0.5789 GB, free: 11.62 MB / 446.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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.Generic.Network.NetworkOpened.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkOpened.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches