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.0008584/0.0008586, allocations: 93.52 kB / 16.3 MB, free: 5.656 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.0008808/0.0008808, allocations: 188.2 kB / 17.2 MB, free: 5.594 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.22/1.22, allocations: 223.2 MB / 241.1 MB, free: 5.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.2767/0.2767, allocations: 38.07 MB / 330.3 MB, free: 14.21 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002795/0.0002796, allocations: 8 kB / 400 MB, free: 9.273 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2732/0.2735, allocations: 59.16 MB / 459.1 MB, free: 30.43 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkLoop_dq0): time 0.00573/0.2792, allocations: 6.487 MB / 465.6 MB, free: 25.89 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00501/0.2843, allocations: 4.036 MB / 469.7 MB, free: 23.13 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008158/0.2851, allocations: 15.84 kB / 469.7 MB, free: 23.12 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005718/0.2857, allocations: 147.1 kB / 469.8 MB, free: 23.04 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002732/0.2885, allocations: 0.7043 MB / 470.5 MB, free: 22.65 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008513/0.2893, allocations: 255.7 kB / 470.8 MB, free: 22.53 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007714/0.2901, allocations: 0.5821 MB / 471.3 MB, free: 22.25 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002039/0.2922, allocations: 1.28 MB / 472.6 MB, free: 21.6 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005793/0.2928, allocations: 396.1 kB / 473 MB, free: 21.41 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004861/0.2933, allocations: 392.1 kB / 473.4 MB, free: 21.26 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.758e-05/0.2933, allocations: 39.59 kB / 473.4 MB, free: 21.26 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002087/0.2954, allocations: 0.8747 MB / 474.3 MB, free: 20.99 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005396/0.296, allocations: 0.5033 MB / 474.8 MB, free: 20.87 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002278/0.2962, allocations: 213.5 kB / 475 MB, free: 20.75 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001926/0.2982, allocations: 1.335 MB / 476.4 MB, free: 20.13 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.865e-06/0.2982, allocations: 0 / 476.4 MB, free: 20.13 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.2982, allocations: 0 / 476.4 MB, free: 20.13 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.41e-05/0.2982, allocations: 0 / 476.4 MB, free: 20.13 MB / 350.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.001788/0.3, allocations: 1.184 MB / 477.5 MB, free: 19.21 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.723e-05/0.3, allocations: 9.156 kB / 477.5 MB, free: 19.21 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00419/0.3042, allocations: 0.638 MB / 478.2 MB, free: 18.92 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001075/0.3053, allocations: 0.5379 MB / 478.7 MB, free: 18.49 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.161e-05/0.3054, allocations: 69.48 kB / 478.8 MB, free: 18.46 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001455/0.3055, allocations: 85.2 kB / 478.9 MB, free: 18.43 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001959/0.3075, allocations: 1.464 MB / 480.3 MB, free: 17.56 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.85e-05/0.3075, allocations: 4.938 kB / 480.3 MB, free: 17.55 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.14e-05/0.3076, allocations: 36.2 kB / 480.4 MB, free: 17.53 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001094/0.3078, allocations: 99.16 kB / 480.5 MB, free: 17.5 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001991/0.3097, allocations: 1.483 MB / 482 MB, free: 16.78 MB / 350.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.006008/0.3158, allocations: 4.869 MB / 486.8 MB, free: 11.94 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001341/0.3171, allocations: 1.163 MB / 488 MB, free: 10.75 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.853e-05/0.3172, allocations: 17.11 kB / 488 MB, free: 10.74 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.35e-05/0.3172, allocations: 51.56 kB / 488.1 MB, free: 10.68 MB / 350.1 MB Notification: Performance of pre-optimization done (n=107): time 3.086e-06/0.3172, allocations: 0 / 488.1 MB, free: 10.68 MB / 350.1 MB Notification: Performance of matching and sorting (n=108): time 0.006015/0.3232, allocations: 3.609 MB / 491.7 MB, free: 7.02 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.053e-05/0.3233, allocations: 94.09 kB / 491.8 MB, free: 6.91 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003816/0.3237, allocations: 465.8 kB / 492.2 MB, free: 6.445 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.292e-05/0.3237, allocations: 41.7 kB / 492.3 MB, free: 6.398 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001453/0.3239, allocations: 431.4 kB / 492.7 MB, free: 5.969 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001964/0.3241, allocations: 366.6 kB / 493 MB, free: 5.605 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.099e-05/0.3242, allocations: 24 kB / 493.1 MB, free: 5.582 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 7.635e-05/0.3242, allocations: 386.7 kB / 493.4 MB, free: 5.195 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005905/0.3248, allocations: 0.5179 MB / 494 MB, free: 4.676 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006613/0.3255, allocations: 0.7383 MB / 494.7 MB, free: 3.859 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007122/0.3262, allocations: 0.6432 MB / 495.3 MB, free: 3.223 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/0.3262, allocations: 0 / 495.3 MB, free: 3.223 MB / 350.1 MB Notification: Performance of matching and sorting (n=139) (initialization): time 0.002233/0.3285, allocations: 1.771 MB / 497.1 MB, free: 1.434 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.723e-05/0.3285, allocations: 12.06 kB / 497.1 MB, free: 1.422 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.028e-05/0.3285, allocations: 8 kB / 497.1 MB, free: 1.414 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008928/0.3294, allocations: 407 kB / 497.5 MB, free: 1.012 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007712/0.3302, allocations: 235.6 kB / 497.8 MB, free: 0.7812 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00608/0.3363, allocations: 5.733 MB / 0.4917 GB, free: 10.76 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007399/0.337, allocations: 67.92 kB / 0.4918 GB, free: 10.7 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.489e-05/0.3371, allocations: 47.98 kB / 0.4918 GB, free: 10.65 MB / 366.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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 26,(1,100.0%) 7} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00053/0.3377, allocations: 369.4 kB / 0.4921 GB, free: 10.28 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001206/0.3378, allocations: 75.11 kB / 0.4922 GB, free: 10.2 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002751/0.3406, allocations: 1.775 MB / 0.494 GB, free: 8.41 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.568e-06/0.3406, allocations: 19.88 kB / 0.494 GB, free: 8.391 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.52e-05/0.3406, allocations: 8 kB / 0.494 GB, free: 8.383 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.169e-05/0.3406, allocations: 11.97 kB / 0.494 GB, free: 8.371 MB / 366.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.005295/0.3459, allocations: 3.423 MB / 0.4973 GB, free: 4.816 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.702e-06/0.3459, allocations: 4 kB / 0.4973 GB, free: 4.812 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006753/0.3466, allocations: 187.7 kB / 0.4975 GB, free: 4.629 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008649/0.3475, allocations: 353.7 kB / 0.4979 GB, free: 4.277 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.1e-05/0.3476, allocations: 28 kB / 0.4979 GB, free: 4.25 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005734/0.3533, allocations: 5.461 MB / 0.5032 GB, free: 14.5 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.218e-06/0.3533, allocations: 4.078 kB / 0.5032 GB, free: 14.5 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002594/0.3559, allocations: 1.965 MB / 0.5051 GB, free: 12.37 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002187/0.3562, allocations: 160.1 kB / 0.5053 GB, free: 12.2 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001117/0.3563, allocations: 27.98 kB / 0.5053 GB, free: 12.17 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004771/0.3568, allocations: 51.95 kB / 0.5054 GB, free: 12.12 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001387/0.3569, allocations: 92.77 kB / 0.5055 GB, free: 12.03 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.018e-05/0.357, allocations: 36 kB / 0.5055 GB, free: 11.99 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000348/0.3573, allocations: 323.1 kB / 0.5058 GB, free: 11.68 MB / 382.1 MB Notification: Performance of sort global known variables: time 3.01e-07/0.3573, allocations: 0 / 0.5058 GB, free: 11.68 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.00113/0.3585, allocations: 396 kB / 0.5062 GB, free: 11.29 MB / 382.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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 7,(2,100.0%) 24} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001602/0.3586, allocations: 127.1 kB / 0.5063 GB, free: 11.16 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002265/0.3609, allocations: 1.72 MB / 0.508 GB, free: 9.414 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.389e-06/0.3609, allocations: 4 kB / 0.508 GB, free: 9.41 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001293/0.3622, allocations: 1.054 MB / 0.509 GB, free: 8.336 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006003/0.3628, allocations: 105.3 kB / 0.5091 GB, free: 8.234 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003339/0.3662, allocations: 2.582 MB / 0.5116 GB, free: 5.574 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008613/0.3671, allocations: 1.196 MB / 0.5128 GB, free: 4.352 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0005277/0.3676, allocations: 237.4 kB / 0.513 GB, free: 4.117 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001895/0.3678, allocations: 63.42 kB / 0.5131 GB, free: 4.055 MB / 382.1 MB Notification: Performance of SimCode: time 4.61e-07/0.3678, allocations: 0 / 0.5131 GB, free: 4.055 MB / 382.1 MB Notification: Performance of Templates: time 0.01625/0.3841, allocations: 11.01 MB / 0.5238 GB, free: 9.055 MB / 398.1 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.Generic.Network.NetworkLoop_dq0.mat","../files/PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches