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.001672/0.001672, allocations: 85.75 kB / 20.68 MB, free: 1.035 MB / 14.72 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.001377/0.001377, allocations: 165.2 kB / 23.95 MB, free: 4.168 MB / 14.72 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.365/1.365, allocations: 177.1 MB / 204.3 MB, free: 9.176 MB / 190.1 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.1666/0.1666, allocations: 29.43 MB / 290.1 MB, free: 3.285 MB / 270.1 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.0.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.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=2500,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") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.363e-06/1.363e-06, allocations: 0 / 430.7 MB, free: 1.93 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.493e-05/2.629e-05, allocations: 2.281 kB / 430.7 MB, free: 1.926 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkLoop_dq0): time 0.008368/0.008394, allocations: 6.957 MB / 437.7 MB, free: 10.93 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.006117/0.01451, allocations: 4.124 MB / 441.8 MB, free: 6.793 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003532/0.01486, allocations: 15.94 kB / 441.8 MB, free: 6.777 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002593/0.01746, allocations: 1.03 MB / 442.9 MB, free: 5.746 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002764/0.02022, allocations: 1.326 MB / 444.2 MB, free: 4.414 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008424/0.02106, allocations: 346.6 kB / 444.5 MB, free: 4.074 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001616/0.02268, allocations: 1.426 MB / 445.9 MB, free: 2.645 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008689/0.02355, allocations: 0.5821 MB / 446.5 MB, free: 2.051 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00115/0.0247, allocations: 0.845 MB / 447.4 MB, free: 1.203 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009867/0.02569, allocations: 0.744 MB / 448.1 MB, free: 468 kB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001247/0.02581, allocations: 80 kB / 448.2 MB, free: 388 kB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.161/0.1869, allocations: 1.416 MB / 449.6 MB, free: 16.77 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001002/0.1879, allocations: 0.6528 MB / 450.3 MB, free: 16.77 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006338/0.1885, allocations: 406.5 kB / 450.7 MB, free: 16.77 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002671/0.1912, allocations: 1.988 MB / 452.6 MB, free: 16.71 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.1912, allocations: 0 / 452.6 MB, free: 16.71 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.1912, allocations: 2.031 kB / 452.7 MB, free: 16.71 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.52e-05/0.1912, allocations: 0 / 452.7 MB, free: 16.71 MB / 366.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.001862/0.193, allocations: 1.274 MB / 453.9 MB, free: 16.03 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.206e-05/0.1931, allocations: 12.73 kB / 453.9 MB, free: 16.03 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003803/0.1969, allocations: 0.5504 MB / 454.5 MB, free: 15.97 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008167/0.1977, allocations: 0.5149 MB / 455 MB, free: 15.75 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.676e-05/0.1977, allocations: 65.95 kB / 455.1 MB, free: 15.75 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001523/0.1979, allocations: 87.33 kB / 455.2 MB, free: 15.75 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002206/0.2001, allocations: 1.501 MB / 456.7 MB, free: 15.63 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.021e-05/0.2001, allocations: 5.578 kB / 456.7 MB, free: 15.63 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001067/0.2002, allocations: 37.48 kB / 456.7 MB, free: 15.63 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001089/0.2004, allocations: 108.4 kB / 456.8 MB, free: 15.62 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002225/0.2026, allocations: 1.54 MB / 458.3 MB, free: 15.61 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 preOpt removeSimpleEquations (simulation): time 0.00705/0.2096, allocations: 4.206 MB / 462.5 MB, free: 13.94 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001759/0.2114, allocations: 1.091 MB / 463.6 MB, free: 13.54 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008749/0.2123, allocations: 0.692 MB / 464.3 MB, free: 13.29 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.519e-05/0.2123, allocations: 16.2 kB / 464.3 MB, free: 13.29 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.488e-05/0.2124, allocations: 46.94 kB / 464.4 MB, free: 13.24 MB / 366.1 MB Notification: Performance of pre-optimization done (n=107): time 2.705e-06/0.2124, allocations: 1.125 kB / 464.4 MB, free: 13.24 MB / 366.1 MB Notification: Performance of matching and sorting (n=108): time 0.007251/0.2196, allocations: 3.522 MB / 467.9 MB, free: 11.96 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.507e-05/0.2197, allocations: 88.92 kB / 468 MB, free: 11.87 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005823/0.2202, allocations: 477.9 kB / 468.5 MB, free: 11.65 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 7.529e-05/0.2203, allocations: 47.92 kB / 468.5 MB, free: 11.6 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002289/0.2205, allocations: 438.1 kB / 468.9 MB, free: 11.26 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002658/0.2208, allocations: 382.2 kB / 469.3 MB, free: 10.96 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003085/0.2211, allocations: 201 kB / 469.5 MB, free: 10.86 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 9.004e-05/0.2212, allocations: 381.8 kB / 469.9 MB, free: 10.52 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007125/0.2219, allocations: 0.5388 MB / 470.4 MB, free: 10.34 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007849/0.2227, allocations: 0.7481 MB / 471.2 MB, free: 9.926 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001619/0.2243, allocations: 1.402 MB / 472.6 MB, free: 9.234 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.258e-06/0.2243, allocations: 1.375 kB / 472.6 MB, free: 9.234 MB / 366.1 MB Notification: Performance of matching and sorting (n=139) (initialization): time 0.002519/0.2269, allocations: 1.792 MB / 474.4 MB, free: 8.602 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.78e-05/0.2269, allocations: 6.875 kB / 474.4 MB, free: 8.602 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.144e-05/0.2269, allocations: 6.438 kB / 474.4 MB, free: 8.602 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009966/0.2279, allocations: 408.3 kB / 474.8 MB, free: 8.5 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008047/0.2287, allocations: 240.3 kB / 475 MB, free: 8.496 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005151/0.2338, allocations: 5.624 MB / 480.6 MB, free: 4.297 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007075/0.2345, allocations: 64.27 kB / 480.7 MB, free: 4.262 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.258e-05/0.2346, allocations: 40.75 kB / 480.7 MB, free: 4.254 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 (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.000492/0.2351, allocations: 366 kB / 481.1 MB, free: 4.004 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001254/0.2352, allocations: 82 kB / 481.2 MB, free: 3.961 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002545/0.2378, allocations: 1.792 MB / 483 MB, free: 2.578 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.983e-06/0.2378, allocations: 16 kB / 483 MB, free: 2.562 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.923e-06/0.2378, allocations: 8 kB / 483 MB, free: 2.555 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.095e-05/0.2378, allocations: 7.969 kB / 483 MB, free: 2.547 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.004558/0.2424, allocations: 3.061 MB / 486.1 MB, free: 15.47 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.924e-06/0.2424, allocations: 4 kB / 486.1 MB, free: 15.47 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000766/0.2431, allocations: 186.6 kB / 486.3 MB, free: 15.3 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009858/0.2441, allocations: 356 kB / 486.6 MB, free: 14.95 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.905e-05/0.2442, allocations: 28 kB / 486.6 MB, free: 14.92 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006834/0.251, allocations: 5.401 MB / 492 MB, free: 9.348 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.442e-06/0.251, allocations: 7.938 kB / 492 MB, free: 9.34 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002988/0.254, allocations: 1.803 MB / 493.8 MB, free: 7.488 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001946/0.2542, allocations: 83.47 kB / 493.9 MB, free: 7.406 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001232/0.2544, allocations: 27.94 kB / 493.9 MB, free: 7.379 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005579/0.2549, allocations: 51.94 kB / 494 MB, free: 7.328 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001853/0.2551, allocations: 96.3 kB / 494.1 MB, free: 7.238 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.706e-05/0.2552, allocations: 54.47 kB / 494.1 MB, free: 7.191 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003712/0.2556, allocations: 311.1 kB / 494.4 MB, free: 6.887 MB / 382.1 MB Notification: Performance of sort global known variables: time 6e-08/0.2556, allocations: 0 / 494.4 MB, free: 6.887 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001229/0.2568, allocations: 396 kB / 494.8 MB, free: 6.5 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 (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.0001983/0.257, allocations: 134.1 kB / 495 MB, free: 6.371 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002611/0.2596, allocations: 1.679 MB / 496.6 MB, free: 4.707 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.005e-06/0.2596, allocations: 0 / 496.6 MB, free: 4.707 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00151/0.2611, allocations: 1.022 MB / 497.7 MB, free: 3.684 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007356/0.2618, allocations: 114.9 kB / 497.8 MB, free: 3.566 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003538/0.2654, allocations: 2.23 MB / 0.4883 GB, free: 1.27 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006701/0.2661, allocations: 0.5717 MB / 0.4888 GB, free: 0.668 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0005296/0.2666, allocations: 237.3 kB / 0.4891 GB, free: 444 kB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002537/0.2668, allocations: 60.48 kB / 0.4891 GB, free: 384 kB / 382.1 MB Notification: Performance of SimCode: time 5.51e-07/0.2668, allocations: 0 / 0.4891 GB, free: 384 kB / 382.1 MB Notification: Performance of Templates: time 0.02197/0.2888, allocations: 12.67 MB / 0.5015 GB, free: 3.828 MB / 398.1 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=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.869012713432312]