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.001592/0.001592, allocations: 110.5 kB / 17.75 MB, free: 5.336 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.001824/0.001824, allocations: 197.2 kB / 18.68 MB, free: 4.41 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.333/1.333, allocations: 222.9 MB / 242.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1679/0.1679, allocations: 38.04 MB / 330.6 MB, free: 8.758 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001227/0.001227, allocations: 59.91 kB / 458.8 MB, free: 6.848 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3273/0.3285, allocations: 58.05 MB / 0.5048 GB, free: 7.711 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkOpened): time 0.006056/0.3346, allocations: 7.687 MB / 0.5123 GB, free: 2.336 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.004929/0.3396, allocations: 4.744 MB / 0.5169 GB, free: 15.01 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002304/0.3398, allocations: 14 kB / 0.5169 GB, free: 15.01 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002576/0.3424, allocations: 1.076 MB / 0.518 GB, free: 14.35 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002276/0.3447, allocations: 1.263 MB / 0.5192 GB, free: 13.69 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000855/0.3456, allocations: 363.7 kB / 0.5196 GB, free: 13.52 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001506/0.3471, allocations: 1.464 MB / 0.521 GB, free: 12.91 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007697/0.3479, allocations: 0.6695 MB / 0.5216 GB, free: 12.63 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007123/0.3486, allocations: 0.6424 MB / 0.5223 GB, free: 12.33 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007582/0.3494, allocations: 0.7036 MB / 0.523 GB, free: 12.05 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 9.382e-05/0.3495, allocations: 70.42 kB / 0.523 GB, free: 12.04 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002127/0.3516, allocations: 1.428 MB / 0.5244 GB, free: 11.46 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004867/0.3521, allocations: 0.4915 MB / 0.5249 GB, free: 11.31 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004556/0.3526, allocations: 456.9 kB / 0.5253 GB, free: 11.05 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00204/0.3546, allocations: 1.533 MB / 0.5268 GB, free: 10.52 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.349e-06/0.3546, allocations: 1.125 kB / 0.5268 GB, free: 10.52 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.597e-06/0.3546, allocations: 0.7969 kB / 0.5268 GB, free: 10.52 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.136e-05/0.3546, allocations: 7.938 kB / 0.5268 GB, free: 10.52 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.001626/0.3563, allocations: 1.159 MB / 0.528 GB, free: 9.695 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.532e-05/0.3563, allocations: 12.64 kB / 0.528 GB, free: 9.691 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003154/0.3595, allocations: 411 kB / 0.5284 GB, free: 9.629 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008718/0.3604, allocations: 0.4959 MB / 0.5289 GB, free: 9.277 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.914e-05/0.3604, allocations: 56.67 kB / 0.5289 GB, free: 9.254 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001407/0.3606, allocations: 74.25 kB / 0.529 GB, free: 9.23 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002067/0.3626, allocations: 1.234 MB / 0.5302 GB, free: 8.746 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.831e-05/0.3627, allocations: 2.344 kB / 0.5302 GB, free: 8.746 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.849e-05/0.3628, allocations: 30.23 kB / 0.5302 GB, free: 8.723 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001078/0.3629, allocations: 78.3 kB / 0.5303 GB, free: 8.715 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001825/0.3647, allocations: 1.313 MB / 0.5316 GB, free: 8.125 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005501/0.3702, allocations: 3.678 MB / 0.5352 GB, free: 5.598 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001745/0.372, allocations: 1.087 MB / 0.5362 GB, free: 5.039 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000817/0.3728, allocations: 0.6417 MB / 0.5369 GB, free: 4.711 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.417e-05/0.3729, allocations: 19.45 kB / 0.5369 GB, free: 4.703 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.113e-05/0.3729, allocations: 47.72 kB / 0.5369 GB, free: 4.652 MB / 398.1 MB Notification: Performance of pre-optimization done (n=92): time 2.715e-06/0.3729, allocations: 0 / 0.5369 GB, free: 4.652 MB / 398.1 MB Notification: Performance of matching and sorting (n=93): time 0.006482/0.3794, allocations: 3.155 MB / 0.54 GB, free: 2.965 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.622e-05/0.3795, allocations: 87.73 kB / 0.5401 GB, free: 2.867 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003572/0.3798, allocations: 377.1 kB / 0.5404 GB, free: 2.633 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 5.673e-05/0.3799, allocations: 45.81 kB / 0.5405 GB, free: 2.586 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001697/0.3801, allocations: 315.9 kB / 0.5408 GB, free: 2.305 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00026/0.3804, allocations: 324.5 kB / 0.5411 GB, free: 2.023 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002304/0.3806, allocations: 160.8 kB / 0.5412 GB, free: 1.93 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001376/0.3807, allocations: 367.3 kB / 0.5416 GB, free: 1.578 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000616/0.3814, allocations: 469.3 kB / 0.542 GB, free: 1.355 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007157/0.3821, allocations: 0.5748 MB / 0.5426 GB, free: 1.008 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001498/0.3836, allocations: 1.12 MB / 0.5437 GB, free: 368 kB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.057e-06/0.3836, allocations: 4 kB / 0.5437 GB, free: 364 kB / 398.1 MB Notification: Performance of matching and sorting (n=109) (initialization): time 0.002345/0.3859, allocations: 1.477 MB / 0.5451 GB, free: 14.87 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.722e-05/0.386, allocations: 11.94 kB / 0.5452 GB, free: 14.86 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.516e-06/0.386, allocations: 4 kB / 0.5452 GB, free: 14.85 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008839/0.3869, allocations: 332.8 kB / 0.5455 GB, free: 14.52 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006506/0.3875, allocations: 183.7 kB / 0.5457 GB, free: 14.34 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004954/0.3925, allocations: 4.176 MB / 0.5497 GB, free: 10 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004419/0.393, allocations: 47.95 kB / 0.5498 GB, free: 9.953 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.242e-05/0.393, allocations: 35.98 kB / 0.5498 GB, free: 9.918 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.0004049/0.3934, allocations: 305.6 kB / 0.5501 GB, free: 9.609 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001199/0.3936, allocations: 59.34 kB / 0.5502 GB, free: 9.551 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00245/0.396, allocations: 1.551 MB / 0.5517 GB, free: 7.984 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.181e-05/0.3961, allocations: 7.969 kB / 0.5517 GB, free: 7.977 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.3961, allocations: 4 kB / 0.5517 GB, free: 7.973 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001429/0.3962, allocations: 140.3 kB / 0.5518 GB, free: 7.816 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.102e-05/0.3963, allocations: 16 kB / 0.5518 GB, free: 7.801 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003793/0.3967, allocations: 39.95 kB / 0.5519 GB, free: 7.762 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001357/0.3968, allocations: 84.86 kB / 0.552 GB, free: 7.68 MB / 414.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002786/0.3996, allocations: 1.704 MB / 0.5536 GB, free: 5.965 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00224/0.4019, allocations: 1.919 MB / 0.5555 GB, free: 4.023 MB / 414.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0006206/0.4025, allocations: 0.5191 MB / 0.556 GB, free: 3.508 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002488/0.4028, allocations: 267.1 kB / 0.5563 GB, free: 3.246 MB / 414.1 MB Notification: Performance of Backend: time 2.71e-07/0.4028, allocations: 0 / 0.5563 GB, free: 3.246 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.003119/0.4059, allocations: 1.619 MB / 0.5578 GB, free: 1.609 MB / 414.1 MB Notification: Performance of SimCode: time 0.002187/0.4081, allocations: 1.969 MB / 0.5598 GB, free: 15.59 MB / 430.1 MB Notification: Performance of Templates: time 0.02249/0.4306, allocations: 16.69 MB / 0.5761 GB, free: 14.89 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