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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001522/0.001522, allocations: 114.8 kB / 17.74 MB, free: 5.348 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.001812/0.001812, allocations: 188.5 kB / 18.67 MB, free: 4.426 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.358/1.358, allocations: 222.9 MB / 242.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1859/0.1859, allocations: 38.04 MB / 330.6 MB, free: 8.766 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001453/0.001453, allocations: 63.89 kB / 458.8 MB, free: 6.848 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3371/0.3386, allocations: 58.05 MB / 0.5048 GB, free: 7.781 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkLoop_dq0): time 0.008204/0.3469, allocations: 7.429 MB / 0.512 GB, free: 2.582 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.006437/0.3533, allocations: 4.448 MB / 0.5164 GB, free: 15.48 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000821/0.3542, allocations: 16.78 kB / 0.5164 GB, free: 15.47 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003115/0.3573, allocations: 1.029 MB / 0.5174 GB, free: 14.85 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004151/0.3615, allocations: 1.271 MB / 0.5186 GB, free: 14.21 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001246/0.3628, allocations: 344.1 kB / 0.519 GB, free: 14.04 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002604/0.3654, allocations: 1.408 MB / 0.5203 GB, free: 13.46 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001489/0.3669, allocations: 0.7964 MB / 0.5211 GB, free: 13.13 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00156/0.3685, allocations: 0.647 MB / 0.5217 GB, free: 12.83 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001564/0.3701, allocations: 0.7387 MB / 0.5225 GB, free: 12.54 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000309/0.3704, allocations: 79.69 kB / 0.5225 GB, free: 12.54 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00378/0.3742, allocations: 1.518 MB / 0.524 GB, free: 11.96 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00113/0.3753, allocations: 0.61 MB / 0.5246 GB, free: 11.79 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001608/0.377, allocations: 0.5581 MB / 0.5252 GB, free: 11.47 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004746/0.3817, allocations: 1.885 MB / 0.527 GB, free: 10.84 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.48e-06/0.3817, allocations: 6.25 kB / 0.527 GB, free: 10.84 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.793e-06/0.3817, allocations: 0 / 0.527 GB, free: 10.84 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.021e-05/0.3818, allocations: 0 / 0.527 GB, free: 10.84 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: 267 * Number of variables: 267 Notification: Performance of Generate backend data structure: time 0.004014/0.3858, allocations: 1.331 MB / 0.5283 GB, free: 9.93 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.359e-05/0.3859, allocations: 14.17 kB / 0.5283 GB, free: 9.926 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004705/0.3906, allocations: 0.5431 MB / 0.5289 GB, free: 9.84 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001615/0.3923, allocations: 0.5604 MB / 0.5294 GB, free: 9.43 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.551e-05/0.3924, allocations: 69.08 kB / 0.5295 GB, free: 9.398 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004262/0.3928, allocations: 89.27 kB / 0.5296 GB, free: 9.367 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003854/0.3967, allocations: 1.506 MB / 0.531 GB, free: 8.488 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.866e-05/0.3968, allocations: 1.344 kB / 0.531 GB, free: 8.488 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002124/0.397, allocations: 34.95 kB / 0.5311 GB, free: 8.461 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001603/0.3971, allocations: 99.72 kB / 0.5312 GB, free: 8.434 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003143/0.4003, allocations: 1.552 MB / 0.5327 GB, free: 7.695 MB / 398.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 preOpt removeSimpleEquations (simulation): time 0.01006/0.4104, allocations: 4.88 MB / 0.5374 GB, free: 4.227 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002199/0.4126, allocations: 1.19 MB / 0.5386 GB, free: 3.598 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001276/0.4139, allocations: 0.7649 MB / 0.5393 GB, free: 3.215 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.441e-05/0.414, allocations: 21.44 kB / 0.5394 GB, free: 3.207 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.524e-05/0.4141, allocations: 47.69 kB / 0.5394 GB, free: 3.152 MB / 398.1 MB Notification: Performance of pre-optimization done (n=107): time 2.855e-06/0.4141, allocations: 0 / 0.5394 GB, free: 3.152 MB / 398.1 MB Notification: Performance of matching and sorting (n=108): time 0.008827/0.4229, allocations: 3.678 MB / 0.543 GB, free: 1.031 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.113e-05/0.423, allocations: 94.11 kB / 0.5431 GB, free: 0.9219 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007437/0.4238, allocations: 473.8 kB / 0.5435 GB, free: 460 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 9.356e-05/0.4239, allocations: 37.7 kB / 0.5436 GB, free: 416 kB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003226/0.4242, allocations: 431.4 kB / 0.544 GB, free: 15.98 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004159/0.4246, allocations: 374.5 kB / 0.5443 GB, free: 15.61 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003355/0.425, allocations: 194.9 kB / 0.5445 GB, free: 15.41 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001757/0.4252, allocations: 382.8 kB / 0.5449 GB, free: 15.03 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008555/0.426, allocations: 0.5452 MB / 0.5454 GB, free: 14.48 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001035/0.4271, allocations: 0.7461 MB / 0.5462 GB, free: 13.66 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001981/0.4291, allocations: 1.404 MB / 0.5475 GB, free: 12.18 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.626e-06/0.4291, allocations: 3.938 kB / 0.5475 GB, free: 12.17 MB / 414.1 MB Notification: Performance of matching and sorting (n=139) (initialization): time 0.003226/0.4323, allocations: 1.802 MB / 0.5493 GB, free: 10.36 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.6e-05/0.4324, allocations: 8.031 kB / 0.5493 GB, free: 10.35 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.728e-05/0.4324, allocations: 15.94 kB / 0.5493 GB, free: 10.33 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001163/0.4336, allocations: 405.4 kB / 0.5497 GB, free: 9.93 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009729/0.4346, allocations: 231.6 kB / 0.5499 GB, free: 9.703 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007465/0.442, allocations: 6.069 MB / 0.5558 GB, free: 3.332 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001007/0.4431, allocations: 67.92 kB / 0.5559 GB, free: 3.266 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002601/0.4434, allocations: 43.98 kB / 0.556 GB, free: 3.223 MB / 414.1 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,26,100.0%), (1,7,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0009323/0.4443, allocations: 365.4 kB / 0.5563 GB, free: 2.855 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002937/0.4446, allocations: 71.16 kB / 0.5564 GB, free: 2.785 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003416/0.448, allocations: 1.814 MB / 0.5581 GB, free: 0.957 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.485e-05/0.4481, allocations: 15.98 kB / 0.5582 GB, free: 0.9414 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.645e-05/0.4481, allocations: 11.94 kB / 0.5582 GB, free: 0.9297 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.377e-05/0.4481, allocations: 3.984 kB / 0.5582 GB, free: 0.9258 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.006519/0.4546, allocations: 3.465 MB / 0.5616 GB, free: 13.32 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.124e-05/0.4547, allocations: 0 / 0.5616 GB, free: 13.32 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008074/0.4555, allocations: 188.2 kB / 0.5617 GB, free: 13.14 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009632/0.4565, allocations: 357.3 kB / 0.5621 GB, free: 12.79 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001064/0.4566, allocations: 27.94 kB / 0.5621 GB, free: 12.76 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007073/0.4637, allocations: 5.79 MB / 0.5678 GB, free: 6.676 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.531e-05/0.4638, allocations: 4 kB / 0.5678 GB, free: 6.672 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00345/0.4672, allocations: 1.825 MB / 0.5695 GB, free: 4.777 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003859/0.4676, allocations: 160.1 kB / 0.5697 GB, free: 4.602 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002234/0.4679, allocations: 28 kB / 0.5697 GB, free: 4.574 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007572/0.4686, allocations: 51.94 kB / 0.5698 GB, free: 4.523 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002445/0.4689, allocations: 84.77 kB / 0.5699 GB, free: 4.441 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.716e-05/0.469, allocations: 39.98 kB / 0.5699 GB, free: 4.402 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0004861/0.4695, allocations: 331.1 kB / 0.5702 GB, free: 4.078 MB / 430.1 MB Notification: Performance of sort global known variables: time 3.91e-07/0.4695, allocations: 0 / 0.5702 GB, free: 4.078 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001673/0.4712, allocations: 396 kB / 0.5706 GB, free: 3.691 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 (91): * Single equations (assignments): 88 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,7,100.0%), (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.0002542/0.4715, allocations: 139 kB / 0.5707 GB, free: 3.547 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.002819/0.4743, allocations: 1.76 MB / 0.5724 GB, free: 1.766 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 6.071e-06/0.4743, allocations: 0.5625 kB / 0.5724 GB, free: 1.766 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001704/0.476, allocations: 1.084 MB / 0.5735 GB, free: 0.6602 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001119/0.4772, allocations: 125.6 kB / 0.5736 GB, free: 0.5352 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004269/0.4814, allocations: 2.29 MB / 0.5759 GB, free: 14.16 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001124/0.4826, allocations: 1.171 MB / 0.577 GB, free: 12.96 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004235/0.483, allocations: 71.41 kB / 0.5771 GB, free: 12.89 MB / 446.1 MB Notification: Performance of SimCode: time 5.21e-07/0.4831, allocations: 0 / 0.5771 GB, free: 12.89 MB / 446.1 MB Notification: Performance of Templates: time 0.02521/0.5083, allocations: 18.16 MB / 0.5948 GB, free: 10.68 MB / 462.1 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.Generic.Network.NetworkLoop_dq0.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches