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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001393/0.001393, allocations: 81.86 kB / 21.42 MB, free: 3.078 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001703/0.001703, allocations: 169.1 kB / 24.82 MB, free: 8.867 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.018/1.018, allocations: 177.1 MB / 205.3 MB, free: 5.473 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/package.mo): time 0.2837/0.2837, allocations: 29.42 MB / 291.2 MB, free: 2.449 MB / 266.7 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.Generic.Network.NetworkLoop_dq0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|impedance3.i.[0-9,]+.|impedance3.p.[0-9,]+.|impedance3.v.[0-9,]+.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0") translateModel(PowerSystems.Examples.Generic.Network.NetworkLoop_dq0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|impedance3.i.[0-9,]+.|impedance3.p.[0-9,]+.|impedance3.v.[0-9,]+.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.813e-06/1.813e-06, allocations: 0 / 370.1 MB, free: 10.72 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.96e-05/2.141e-05, allocations: 5.406 kB / 370.1 MB, free: 10.71 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkLoop_dq0): time 0.005776/0.005797, allocations: 6.682 MB / 376.8 MB, free: 3.996 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.003734/0.009532, allocations: 3.221 MB / 380 MB, free: 0.7617 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003913/0.009923, allocations: 19.94 kB / 380 MB, free: 0.7422 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001414/0.01134, allocations: 0.7041 MB / 380.8 MB, free: 36 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002392/0.01373, allocations: 1.303 MB / 382.1 MB, free: 14.73 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008265/0.01456, allocations: 350.8 kB / 382.4 MB, free: 14.38 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.001524/0.01608, allocations: 1.398 MB / 383.8 MB, free: 12.98 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007787/0.01686, allocations: 0.5743 MB / 384.4 MB, free: 12.39 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001112/0.01797, allocations: 0.8334 MB / 385.2 MB, free: 11.56 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001012/0.01898, allocations: 0.7518 MB / 386 MB, free: 10.8 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001292/0.01911, allocations: 80 kB / 386 MB, free: 10.73 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002339/0.02145, allocations: 1.418 MB / 387.5 MB, free: 9.305 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007719/0.02222, allocations: 0.6665 MB / 388.1 MB, free: 8.637 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004264/0.02265, allocations: 407.1 kB / 388.5 MB, free: 8.238 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002277/0.02493, allocations: 1.663 MB / 390.2 MB, free: 6.57 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.02493, allocations: 0 / 390.2 MB, free: 6.57 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.022e-06/0.02493, allocations: 0 / 390.2 MB, free: 6.57 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.148e-05/0.02495, allocations: 0 / 390.2 MB, free: 6.57 MB / 362.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.001804/0.02676, allocations: 1.403 MB / 391.6 MB, free: 5.129 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.688e-05/0.0268, allocations: 27.86 kB / 391.6 MB, free: 5.102 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004628/0.03143, allocations: 0.6399 MB / 392.2 MB, free: 4.461 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008294/0.03226, allocations: 461.8 kB / 392.7 MB, free: 3.98 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.09e-05/0.03232, allocations: 74.28 kB / 392.8 MB, free: 3.906 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000154/0.03248, allocations: 88.36 kB / 392.9 MB, free: 3.82 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001185/0.03366, allocations: 0.7913 MB / 393.6 MB, free: 2.984 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.663e-05/0.03369, allocations: 8.141 kB / 393.7 MB, free: 2.977 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.621e-05/0.03376, allocations: 44.3 kB / 393.7 MB, free: 2.934 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001031/0.03387, allocations: 101.9 kB / 393.8 MB, free: 2.832 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001001/0.03487, allocations: 469.9 kB / 394.3 MB, free: 2.359 MB / 362.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.005184/0.04005, allocations: 3.538 MB / 397.8 MB, free: 14.68 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008077/0.04086, allocations: 0.568 MB / 398.4 MB, free: 14.09 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003772/0.04124, allocations: 285.2 kB / 398.6 MB, free: 13.8 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.556e-05/0.04129, allocations: 24.98 kB / 398.7 MB, free: 13.78 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.426e-05/0.04133, allocations: 50.61 kB / 398.7 MB, free: 13.72 MB / 378.7 MB Notification: Performance of pre-optimization done (n=107): time 4.368e-06/0.04133, allocations: 0 / 398.7 MB, free: 13.72 MB / 378.7 MB Notification: Performance of matching and sorting (n=108): time 0.00448/0.04581, allocations: 1.845 MB / 400.6 MB, free: 11.86 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.202e-05/0.04586, allocations: 90.11 kB / 400.7 MB, free: 11.76 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003872/0.04625, allocations: 482.1 kB / 401.1 MB, free: 11.27 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.99e-05/0.0463, allocations: 41.7 kB / 401.2 MB, free: 11.22 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002581/0.04656, allocations: 499.3 kB / 401.6 MB, free: 10.73 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002732/0.04683, allocations: 400.5 kB / 402 MB, free: 10.33 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002605/0.04709, allocations: 212.5 kB / 402.2 MB, free: 10.12 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000433/0.04753, allocations: 0.5741 MB / 402.8 MB, free: 9.531 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000261/0.04779, allocations: 158.5 kB / 403 MB, free: 9.375 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004485/0.04824, allocations: 469.7 kB / 403.4 MB, free: 8.809 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008788/0.04911, allocations: 0.7025 MB / 404.1 MB, free: 8 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.284e-06/0.04912, allocations: 4 kB / 404.1 MB, free: 7.996 MB / 378.7 MB Notification: Performance of matching and sorting (n=139) (initialization): time 0.001583/0.0507, allocations: 0.9914 MB / 405.1 MB, free: 6.988 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.96e-05/0.05072, allocations: 4 kB / 405.1 MB, free: 6.984 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.237e-05/0.05074, allocations: 8 kB / 405.1 MB, free: 6.977 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007039/0.05144, allocations: 300.5 kB / 405.4 MB, free: 6.676 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005798/0.05202, allocations: 211.7 kB / 405.6 MB, free: 6.469 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004277/0.0563, allocations: 5.021 MB / 410.7 MB, free: 1.215 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000405/0.0567, allocations: 35.95 kB / 410.7 MB, free: 1.18 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.171e-05/0.05676, allocations: 40.02 kB / 410.7 MB, free: 1.141 MB / 378.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 (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.000255/0.05702, allocations: 212.3 kB / 410.9 MB, free: 0.9219 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001441/0.05716, allocations: 107.5 kB / 411.1 MB, free: 0.8164 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001446/0.05861, allocations: 0.9686 MB / 412 MB, free: 15.83 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.628e-06/0.05862, allocations: 16 kB / 412 MB, free: 15.81 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.432e-06/0.05863, allocations: 4 kB / 412 MB, free: 15.81 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.041e-05/0.05864, allocations: 3.984 kB / 412 MB, free: 15.8 MB / 394.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.002879/0.06151, allocations: 1.91 MB / 414 MB, free: 13.79 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.542e-06/0.06152, allocations: 4 kB / 414 MB, free: 13.79 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004591/0.06198, allocations: 171.7 kB / 414.1 MB, free: 13.62 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005923/0.06257, allocations: 251.1 kB / 414.4 MB, free: 13.37 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.783e-05/0.06263, allocations: 31.98 kB / 414.4 MB, free: 13.34 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003771/0.0664, allocations: 4.935 MB / 419.3 MB, free: 8.184 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.43e-06/0.06641, allocations: 7.938 kB / 419.3 MB, free: 8.176 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001426/0.06783, allocations: 1.182 MB / 420.5 MB, free: 6.898 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001286/0.06796, allocations: 83.45 kB / 420.6 MB, free: 6.816 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.757e-05/0.06804, allocations: 24 kB / 420.6 MB, free: 6.793 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003119/0.06835, allocations: 24 kB / 420.7 MB, free: 6.77 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001458/0.0685, allocations: 96.7 kB / 420.8 MB, free: 6.676 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.415e-05/0.06855, allocations: 31.98 kB / 420.8 MB, free: 6.645 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001859/0.06874, allocations: 275 kB / 421.1 MB, free: 6.375 MB / 394.7 MB Notification: Performance of sort global known variables: time 2e-07/0.06874, allocations: 0 / 421.1 MB, free: 6.375 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001018/0.06975, allocations: 400 kB / 421.4 MB, free: 5.984 MB / 394.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 (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.0001579/0.06991, allocations: 131 kB / 421.6 MB, free: 5.844 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.00134/0.07125, allocations: 1.133 MB / 422.7 MB, free: 4.684 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.07125, allocations: 0 / 422.7 MB, free: 4.684 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008457/0.0721, allocations: 0.8426 MB / 423.5 MB, free: 3.801 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006081/0.07271, allocations: 106.8 kB / 423.6 MB, free: 3.699 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002784/0.07549, allocations: 1.763 MB / 425.4 MB, free: 1.836 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002832/0.07578, allocations: 317.2 kB / 425.7 MB, free: 1.504 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0002538/0.07603, allocations: 81.52 kB / 425.8 MB, free: 1.422 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002829/0.07631, allocations: 174.2 kB / 426 MB, free: 1.25 MB / 394.7 MB Notification: Performance of SimCode: time 8.81e-07/0.07631, allocations: 0 / 426 MB, free: 1.25 MB / 394.7 MB Notification: Performance of Templates: time 0.01667/0.09299, allocations: 13.38 MB / 439.4 MB, free: 3.926 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0.makefile [Timeout 660] (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=240 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.884290697053075]