Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq.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_dq,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_dq") translateModel(PowerSystems.Examples.Generic.Network.NetworkLoop_dq,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_dq") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001499/0.001499, allocations: 110.8 kB / 17.74 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.001142/0.001142, allocations: 188.5 kB / 18.66 MB, free: 4.422 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.392/1.392, allocations: 222.9 MB / 242.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1854/0.1854, allocations: 38.05 MB / 330.6 MB, free: 8.734 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001501/0.001501, allocations: 63.91 kB / 458.8 MB, free: 6.836 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3369/0.3384, allocations: 58.05 MB / 0.5048 GB, free: 7.848 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkLoop_dq): time 0.007368/0.3458, allocations: 7.42 MB / 0.512 GB, free: 2.648 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.005943/0.3518, allocations: 4.397 MB / 0.5163 GB, free: 15.56 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008467/0.3527, allocations: 15.78 kB / 0.5163 GB, free: 15.56 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003183/0.3559, allocations: 1.033 MB / 0.5173 GB, free: 14.93 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003981/0.3599, allocations: 1.2 MB / 0.5185 GB, free: 14.3 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001283/0.3613, allocations: 320 kB / 0.5188 GB, free: 14.15 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002894/0.3642, allocations: 1.404 MB / 0.5202 GB, free: 13.57 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001473/0.3657, allocations: 0.6601 MB / 0.5208 GB, free: 13.29 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001619/0.3673, allocations: 0.6143 MB / 0.5214 GB, free: 13.01 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001489/0.3688, allocations: 0.6841 MB / 0.5221 GB, free: 12.73 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002612/0.3691, allocations: 63.72 kB / 0.5221 GB, free: 12.73 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00336/0.3725, allocations: 1.328 MB / 0.5234 GB, free: 12.19 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000923/0.3734, allocations: 477.6 kB / 0.5239 GB, free: 12.05 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001229/0.3747, allocations: 441.8 kB / 0.5243 GB, free: 11.8 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00415/0.3788, allocations: 1.461 MB / 0.5258 GB, free: 11.29 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.029e-06/0.3789, allocations: 0 / 0.5258 GB, free: 11.29 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.3789, allocations: 1.188 kB / 0.5258 GB, free: 11.29 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.964e-05/0.3789, allocations: 3.938 kB / 0.5258 GB, free: 11.29 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: 203 * Number of variables: 203 Notification: Performance of Generate backend data structure: time 0.003219/0.3821, allocations: 1.122 MB / 0.5269 GB, free: 10.49 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.236e-05/0.3822, allocations: 12.88 kB / 0.5269 GB, free: 10.49 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003902/0.3861, allocations: 389.8 kB / 0.5272 GB, free: 10.43 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001228/0.3874, allocations: 486.4 kB / 0.5277 GB, free: 10.09 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.308e-05/0.3875, allocations: 54.7 kB / 0.5278 GB, free: 10.06 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003269/0.3878, allocations: 75.23 kB / 0.5278 GB, free: 10.04 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002893/0.3907, allocations: 1.179 MB / 0.529 GB, free: 9.57 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.835e-05/0.3908, allocations: 1.594 kB / 0.529 GB, free: 9.57 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00013/0.3909, allocations: 30.67 kB / 0.529 GB, free: 9.547 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001264/0.391, allocations: 74.56 kB / 0.5291 GB, free: 9.539 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002358/0.3934, allocations: 1.246 MB / 0.5303 GB, free: 9.078 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006589/0.4, allocations: 3.492 MB / 0.5337 GB, free: 6.695 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001804/0.4018, allocations: 1.063 MB / 0.5347 GB, free: 6.133 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009561/0.4028, allocations: 0.6557 MB / 0.5354 GB, free: 5.801 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.047e-05/0.4029, allocations: 22.31 kB / 0.5354 GB, free: 5.789 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.441e-05/0.403, allocations: 43.97 kB / 0.5354 GB, free: 5.742 MB / 398.1 MB Notification: Performance of pre-optimization done (n=91): time 3.126e-06/0.403, allocations: 0 / 0.5354 GB, free: 5.742 MB / 398.1 MB Notification: Performance of matching and sorting (n=92): time 0.007435/0.4104, allocations: 3.092 MB / 0.5385 GB, free: 4.102 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.004e-05/0.4105, allocations: 87.48 kB / 0.5385 GB, free: 4.004 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000495/0.411, allocations: 363.3 kB / 0.5389 GB, free: 3.777 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 7.662e-05/0.4111, allocations: 45.17 kB / 0.5389 GB, free: 3.73 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002092/0.4113, allocations: 314.4 kB / 0.5392 GB, free: 3.449 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003408/0.4117, allocations: 312.2 kB / 0.5395 GB, free: 3.18 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003082/0.412, allocations: 163.1 kB / 0.5397 GB, free: 3.082 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001524/0.4121, allocations: 371.3 kB / 0.54 GB, free: 2.727 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006842/0.4128, allocations: 464.9 kB / 0.5405 GB, free: 2.508 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007859/0.4136, allocations: 0.5743 MB / 0.541 GB, free: 2.164 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001644/0.4153, allocations: 1.108 MB / 0.5421 GB, free: 1.562 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.881e-06/0.4153, allocations: 1.062 kB / 0.5421 GB, free: 1.562 MB / 398.1 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.002616/0.4179, allocations: 1.48 MB / 0.5436 GB, free: 468 kB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.994e-05/0.4179, allocations: 4.188 kB / 0.5436 GB, free: 464 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.51e-05/0.418, allocations: 8 kB / 0.5436 GB, free: 456 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009649/0.4189, allocations: 330.2 kB / 0.5439 GB, free: 124 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007807/0.4197, allocations: 183.7 kB / 0.5441 GB, free: 15.94 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005551/0.4253, allocations: 4.19 MB / 0.5482 GB, free: 11.58 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007125/0.426, allocations: 52 kB / 0.5482 GB, free: 11.53 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001409/0.4262, allocations: 35.98 kB / 0.5483 GB, free: 11.5 MB / 414.1 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 () * Number of clocked 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 (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.000585/0.4268, allocations: 292.6 kB / 0.5485 GB, free: 11.2 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001847/0.427, allocations: 55.34 kB / 0.5486 GB, free: 11.15 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002844/0.4298, allocations: 1.574 MB / 0.5501 GB, free: 9.559 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.6e-05/0.4299, allocations: 12 kB / 0.5501 GB, free: 9.547 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.027e-05/0.4299, allocations: 4 kB / 0.5501 GB, free: 9.543 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.151e-05/0.4299, allocations: 3.984 kB / 0.5501 GB, free: 9.539 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.005241/0.4352, allocations: 3.031 MB / 0.5531 GB, free: 6.383 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.017e-05/0.4352, allocations: 7.938 kB / 0.5531 GB, free: 6.375 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006905/0.4359, allocations: 163.8 kB / 0.5533 GB, free: 6.215 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000814/0.4367, allocations: 289 kB / 0.5535 GB, free: 5.93 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.339e-05/0.4368, allocations: 24 kB / 0.5536 GB, free: 5.906 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005015/0.4418, allocations: 3.907 MB / 0.5574 GB, free: 1.848 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.236e-06/0.4419, allocations: 7.938 kB / 0.5574 GB, free: 1.84 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002738/0.4446, allocations: 1.59 MB / 0.5589 GB, free: 188 kB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002498/0.4449, allocations: 144.3 kB / 0.5591 GB, free: 24 kB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001389/0.445, allocations: 24 kB / 0.5591 GB, free: 0 / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005631/0.4456, allocations: 51.98 kB / 0.5591 GB, free: 15.95 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001752/0.4458, allocations: 80.77 kB / 0.5592 GB, free: 15.86 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.471e-05/0.4459, allocations: 43.97 kB / 0.5593 GB, free: 15.82 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0003049/0.4462, allocations: 259.1 kB / 0.5595 GB, free: 15.57 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.4462, allocations: 0 / 0.5595 GB, free: 15.57 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001203/0.4474, allocations: 304 kB / 0.5598 GB, free: 15.27 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.0002076/0.4476, allocations: 135 kB / 0.5599 GB, free: 15.13 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.002324/0.45, allocations: 1.409 MB / 0.5613 GB, free: 13.71 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.459e-06/0.45, allocations: 0 / 0.5613 GB, free: 13.71 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001255/0.4513, allocations: 0.8438 MB / 0.5621 GB, free: 12.85 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009407/0.4522, allocations: 105.8 kB / 0.5622 GB, free: 12.75 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003161/0.4554, allocations: 1.86 MB / 0.5641 GB, free: 10.81 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007636/0.4562, allocations: 1.068 MB / 0.5651 GB, free: 9.715 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003154/0.4565, allocations: 71.39 kB / 0.5652 GB, free: 9.645 MB / 430.1 MB Notification: Performance of SimCode: time 7.21e-07/0.4565, allocations: 0 / 0.5652 GB, free: 9.645 MB / 430.1 MB Notification: Performance of Templates: time 0.0178/0.4743, allocations: 12.21 MB / 0.5771 GB, free: 13.42 MB / 446.1 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq.makefile (rm -f PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq.sim & ./PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq.pipe 2>&1) diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.Generic.Network.NetworkLoop_dq.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches