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/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/Complex 3.2.3+maint.om/package.mo): time 0.001014/0.001017, allocations: 181.1 kB / 16.39 MB, free: 5.762 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.537/1.537, allocations: 205.4 MB / 222.5 MB, free: 9.125 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000921/0.0009209, allocations: 101.2 kB / 270.9 MB, free: 8.367 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.1635/0.1635, allocations: 38.06 MB / 357.2 MB, free: 1.898 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002873/0.0002873, allocations: 8 kB / 424 MB, free: 37.7 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.267/0.2673, allocations: 56.32 MB / 480.3 MB, free: 9.547 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1404/0.4077, allocations: 99.47 MB / 0.5662 GB, free: 2.953 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002988/0.408, allocations: 87.95 kB / 0.5663 GB, free: 2.867 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1402/0.5482, allocations: 59.34 MB / 0.6242 GB, free: 6.805 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.994e-06/0.5483, allocations: 0 / 0.6242 GB, free: 6.805 MB / 458.7 MB Notification: Performance of Transformations before backend: time 3.631e-05/0.5483, allocations: 20 kB / 0.6242 GB, free: 6.785 MB / 458.7 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.002262/0.5506, allocations: 1.183 MB / 0.6254 GB, free: 5.551 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.725e-05/0.5506, allocations: 8.031 kB / 0.6254 GB, free: 5.543 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003905/0.5545, allocations: 0.5058 MB / 0.6259 GB, free: 5.035 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001211/0.5558, allocations: 0.5568 MB / 0.6264 GB, free: 4.434 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.823e-05/0.5558, allocations: 66 kB / 0.6265 GB, free: 4.371 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001499/0.556, allocations: 87.98 kB / 0.6266 GB, free: 4.285 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002301/0.5583, allocations: 1.469 MB / 0.628 GB, free: 2.777 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.786e-05/0.5583, allocations: 0 / 0.628 GB, free: 2.777 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001014/0.5585, allocations: 39.98 kB / 0.6281 GB, free: 2.738 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003058/0.5588, allocations: 137.9 kB / 0.6282 GB, free: 2.602 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002196/0.561, allocations: 1.484 MB / 0.6296 GB, free: 1.109 MB / 458.7 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.007713/0.5687, allocations: 4.865 MB / 0.6344 GB, free: 12.03 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001709/0.5704, allocations: 1.155 MB / 0.6355 GB, free: 10.85 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.412e-05/0.5705, allocations: 17.12 kB / 0.6355 GB, free: 10.84 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.588e-05/0.5706, allocations: 43.56 kB / 0.6356 GB, free: 10.79 MB / 474.7 MB Notification: Performance of pre-optimization done (n=107): time 3.246e-06/0.5706, allocations: 0 / 0.6356 GB, free: 10.79 MB / 474.7 MB Notification: Performance of matching and sorting (n=108): time 0.007776/0.5784, allocations: 3.73 MB / 0.6392 GB, free: 7.004 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.415e-05/0.5784, allocations: 90.11 kB / 0.6393 GB, free: 6.898 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004806/0.5789, allocations: 416.9 kB / 0.6397 GB, free: 6.484 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 8.761e-05/0.579, allocations: 45.73 kB / 0.6398 GB, free: 6.434 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002352/0.5793, allocations: 427.4 kB / 0.6402 GB, free: 6.008 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002798/0.5795, allocations: 370.6 kB / 0.6405 GB, free: 5.641 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.557e-05/0.5796, allocations: 20 kB / 0.6405 GB, free: 5.621 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001514/0.5798, allocations: 382.8 kB / 0.6409 GB, free: 5.238 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007309/0.5805, allocations: 0.5218 MB / 0.6414 GB, free: 4.715 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009424/0.5815, allocations: 0.7344 MB / 0.6421 GB, free: 3.902 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009077/0.5824, allocations: 0.6393 MB / 0.6428 GB, free: 3.266 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.837e-06/0.5824, allocations: 0 / 0.6428 GB, free: 3.266 MB / 474.7 MB Notification: Performance of matching and sorting (n=139) (initialization): time 0.002859/0.5853, allocations: 1.775 MB / 0.6445 GB, free: 1.473 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.469e-05/0.5853, allocations: 10.03 kB / 0.6445 GB, free: 1.465 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.03e-05/0.5853, allocations: 4 kB / 0.6445 GB, free: 1.461 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00107/0.5864, allocations: 411.6 kB / 0.6449 GB, free: 1.055 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008925/0.5873, allocations: 235.6 kB / 0.6451 GB, free: 0.8242 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2873/0.8746, allocations: 5.75 MB / 0.6507 GB, free: 118.9 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001118/0.8758, allocations: 73.94 kB / 0.6508 GB, free: 118.9 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000113/0.8759, allocations: 42.03 kB / 0.6508 GB, free: 118.9 MB / 474.7 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.0009179/0.8768, allocations: 365.1 kB / 0.6512 GB, free: 118.8 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001691/0.877, allocations: 76.67 kB / 0.6513 GB, free: 118.8 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00388/0.8809, allocations: 1.783 MB / 0.653 GB, free: 118.7 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.59e-05/0.8809, allocations: 12.94 kB / 0.653 GB, free: 118.7 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.135e-05/0.8809, allocations: 6.469 kB / 0.653 GB, free: 118.7 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.996e-05/0.8809, allocations: 9.656 kB / 0.653 GB, free: 118.7 MB / 474.7 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.006562/0.8875, allocations: 3.43 MB / 0.6564 GB, free: 118.1 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.027e-06/0.8875, allocations: 4.125 kB / 0.6564 GB, free: 118.1 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008002/0.8883, allocations: 190.1 kB / 0.6566 GB, free: 118.1 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001055/0.8894, allocations: 346 kB / 0.6569 GB, free: 118.1 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.819e-05/0.8895, allocations: 30.75 kB / 0.6569 GB, free: 118.1 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006643/0.8962, allocations: 5.464 MB / 0.6623 GB, free: 115.4 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.001e-05/0.8962, allocations: 5.938 kB / 0.6623 GB, free: 115.4 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003397/0.8996, allocations: 1.972 MB / 0.6642 GB, free: 114.8 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002796/0.8999, allocations: 158.3 kB / 0.6643 GB, free: 114.7 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001095/0.9, allocations: 26.16 kB / 0.6644 GB, free: 114.7 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005291/0.9005, allocations: 49.94 kB / 0.6644 GB, free: 114.7 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002251/0.9008, allocations: 96.55 kB / 0.6645 GB, free: 114.7 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.952e-05/0.9009, allocations: 37.86 kB / 0.6645 GB, free: 114.7 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0004749/0.9014, allocations: 322.5 kB / 0.6649 GB, free: 114.6 MB / 474.7 MB Notification: Performance of sort global known variables: time 2.9e-07/0.9014, allocations: 2.562 kB / 0.6649 GB, free: 114.6 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.001475/0.9028, allocations: 409.9 kB / 0.6652 GB, free: 114.6 MB / 474.7 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.0002513/0.9031, allocations: 138.6 kB / 0.6654 GB, free: 114.5 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.002951/0.9061, allocations: 1.716 MB / 0.6671 GB, free: 114.2 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 4.278e-06/0.9061, allocations: 0 / 0.6671 GB, free: 114.2 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001521/0.9076, allocations: 1.062 MB / 0.6681 GB, free: 114 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005606/0.9082, allocations: 109.9 kB / 0.6682 GB, free: 114 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003629/0.9118, allocations: 2.578 MB / 0.6707 GB, free: 112.9 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007594/0.9126, allocations: 1.197 MB / 0.6719 GB, free: 112.2 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0006/0.9132, allocations: 239.8 kB / 0.6721 GB, free: 112.2 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00022/0.9134, allocations: 60.77 kB / 0.6722 GB, free: 112.2 MB / 474.7 MB Notification: Performance of SimCode: time 7.41e-07/0.9134, allocations: 0 / 0.6722 GB, free: 112.2 MB / 474.7 MB Notification: Performance of Templates: time 0.0167/0.9301, allocations: 11.1 MB / 0.683 GB, free: 111.7 MB / 474.7 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/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