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.001118/0.001118, allocations: 110.5 kB / 17.75 MB, free: 5.309 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.001045/0.001045, allocations: 183 kB / 18.68 MB, free: 4.387 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.339/1.339, 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.1748/0.1748, allocations: 38.03 MB / 330.6 MB, free: 8.762 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001218/0.001218, allocations: 63.91 kB / 458.8 MB, free: 6.855 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3115/0.3127, allocations: 58.05 MB / 0.5048 GB, free: 7.773 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkLoop_dq0): time 0.006907/0.3197, allocations: 7.436 MB / 0.512 GB, free: 2.566 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.005165/0.3249, allocations: 4.442 MB / 0.5164 GB, free: 15.46 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004013/0.3253, allocations: 16.81 kB / 0.5164 GB, free: 15.46 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002529/0.3278, allocations: 1.036 MB / 0.5174 GB, free: 14.83 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003405/0.3312, allocations: 1.275 MB / 0.5186 GB, free: 14.19 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001134/0.3324, allocations: 336.3 kB / 0.519 GB, free: 14.03 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002296/0.3347, allocations: 1.411 MB / 0.5203 GB, free: 13.45 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001644/0.3364, allocations: 0.7939 MB / 0.5211 GB, free: 13.12 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001474/0.3379, allocations: 0.644 MB / 0.5217 GB, free: 12.82 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001266/0.3391, allocations: 0.7346 MB / 0.5225 GB, free: 12.53 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001708/0.3393, allocations: 79.09 kB / 0.5225 GB, free: 12.53 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004105/0.3434, allocations: 1.527 MB / 0.524 GB, free: 11.95 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009024/0.3444, allocations: 0.5972 MB / 0.5246 GB, free: 11.79 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009295/0.3453, allocations: 0.5681 MB / 0.5252 GB, free: 11.46 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004164/0.3495, allocations: 1.881 MB / 0.527 GB, free: 10.84 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.3495, allocations: 4 kB / 0.527 GB, free: 10.83 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.898e-06/0.3495, allocations: 1.156 kB / 0.527 GB, free: 10.83 MB / 398.1 MB Notification: Performance of Transformations before backend: time 2.044e-05/0.3496, allocations: 3.938 kB / 0.527 GB, free: 10.83 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.003155/0.3527, allocations: 1.33 MB / 0.5283 GB, free: 9.926 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.297e-05/0.3528, allocations: 17.08 kB / 0.5283 GB, free: 9.918 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005593/0.3584, allocations: 0.5423 MB / 0.5289 GB, free: 9.832 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00117/0.3596, allocations: 0.5618 MB / 0.5294 GB, free: 9.426 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.721e-05/0.3596, allocations: 65.83 kB / 0.5295 GB, free: 9.398 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000161/0.3598, allocations: 93.53 kB / 0.5296 GB, free: 9.363 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002444/0.3623, allocations: 1.501 MB / 0.531 GB, free: 8.488 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.912e-05/0.3623, allocations: 5.094 kB / 0.531 GB, free: 8.484 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000108/0.3624, allocations: 35.39 kB / 0.5311 GB, free: 8.457 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001207/0.3625, allocations: 102.6 kB / 0.5312 GB, free: 8.426 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002407/0.365, allocations: 1.546 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.00751/0.3725, allocations: 4.888 MB / 0.5374 GB, free: 4.219 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00171/0.3742, allocations: 1.182 MB / 0.5386 GB, free: 3.598 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001036/0.3752, allocations: 0.7656 MB / 0.5393 GB, free: 3.215 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.864e-05/0.3753, allocations: 19.92 kB / 0.5394 GB, free: 3.207 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.738e-05/0.3754, allocations: 53 kB / 0.5394 GB, free: 3.148 MB / 398.1 MB Notification: Performance of pre-optimization done (n=107): time 3.747e-06/0.3754, allocations: 0 / 0.5394 GB, free: 3.148 MB / 398.1 MB Notification: Performance of matching and sorting (n=108): time 0.007672/0.3831, allocations: 3.683 MB / 0.543 GB, free: 1.047 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.302e-05/0.3831, allocations: 90.11 kB / 0.5431 GB, free: 0.9414 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005216/0.3837, allocations: 473.7 kB / 0.5435 GB, free: 480 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 6.804e-05/0.3837, allocations: 41.7 kB / 0.5436 GB, free: 432 kB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000266/0.384, allocations: 419.5 kB / 0.544 GB, free: 4 kB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003597/0.3844, allocations: 374.8 kB / 0.5443 GB, free: 15.63 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003141/0.3847, allocations: 206.7 kB / 0.5445 GB, free: 15.42 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001797/0.3849, allocations: 382.8 kB / 0.5449 GB, free: 15.04 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007671/0.3857, allocations: 0.5335 MB / 0.5454 GB, free: 14.5 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008915/0.3866, allocations: 0.754 MB / 0.5462 GB, free: 13.67 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001789/0.3883, allocations: 1.4 MB / 0.5475 GB, free: 12.2 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.039e-06/0.3884, allocations: 4 kB / 0.5475 GB, free: 12.19 MB / 414.1 MB Notification: Performance of matching and sorting (n=139) (initialization): time 0.00288/0.3912, allocations: 1.806 MB / 0.5493 GB, free: 10.37 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.959e-05/0.3913, allocations: 12.06 kB / 0.5493 GB, free: 10.36 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.189e-05/0.3913, allocations: 4 kB / 0.5493 GB, free: 10.36 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001046/0.3924, allocations: 409.4 kB / 0.5497 GB, free: 9.949 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008676/0.3932, allocations: 235.6 kB / 0.5499 GB, free: 9.719 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00681/0.4001, allocations: 6.061 MB / 0.5559 GB, free: 3.355 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007927/0.4009, allocations: 63.92 kB / 0.5559 GB, free: 3.293 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.941e-05/0.401, allocations: 51.98 kB / 0.556 GB, free: 3.242 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.0006444/0.4016, allocations: 365.4 kB / 0.5563 GB, free: 2.875 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001431/0.4018, allocations: 71.16 kB / 0.5564 GB, free: 2.805 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003157/0.4049, allocations: 1.806 MB / 0.5581 GB, free: 0.9844 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.562e-05/0.405, allocations: 7.969 kB / 0.5581 GB, free: 0.9766 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.669e-06/0.405, allocations: 4 kB / 0.5582 GB, free: 0.9727 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002866/0.4053, allocations: 156.1 kB / 0.5583 GB, free: 0.8008 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001084/0.4054, allocations: 20 kB / 0.5583 GB, free: 0.7812 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004847/0.4059, allocations: 63.86 kB / 0.5584 GB, free: 0.7188 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001684/0.406, allocations: 96.84 kB / 0.5585 GB, free: 0.625 MB / 414.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003429/0.4095, allocations: 2.001 MB / 0.5604 GB, free: 14.61 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002764/0.4123, allocations: 2.223 MB / 0.5626 GB, free: 12.37 MB / 430.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0007983/0.4131, allocations: 0.6128 MB / 0.5632 GB, free: 11.75 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0004066/0.4135, allocations: 323.1 kB / 0.5635 GB, free: 11.44 MB / 430.1 MB Notification: Performance of Backend: time 6.11e-07/0.4135, allocations: 0 / 0.5635 GB, free: 11.44 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.004372/0.4179, allocations: 1.977 MB / 0.5654 GB, free: 9.43 MB / 430.1 MB Notification: Performance of SimCode: time 0.002854/0.4207, allocations: 2.348 MB / 0.5677 GB, free: 7.027 MB / 430.1 MB Notification: Performance of Templates: time 0.02976/0.4505, allocations: 19.89 MB / 0.5871 GB, free: 3.141 MB / 446.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