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.001665/0.001665, allocations: 112.2 kB / 21.19 MB, free: 0.7578 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.001943/0.001943, allocations: 209.8 kB / 24.49 MB, free: 4.133 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.339/1.339, allocations: 230.6 MB / 258.3 MB, free: 8.227 MB / 206.1 MB " [Timeout remaining time 178] 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.174/0.174, allocations: 38.53 MB / 353.2 MB, free: 12.6 MB / 286.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: PowerSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001889/0.001889, allocations: 59.91 kB / 493.8 MB, free: 4.387 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.277/0.2789, allocations: 62.47 MB / 0.5432 GB, free: 0.6016 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkLoop_dq0): time 0.008215/0.2871, allocations: 7.612 MB / 0.5507 GB, free: 10.6 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.006103/0.2932, allocations: 4.54 MB / 0.5551 GB, free: 6.984 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004303/0.2936, allocations: 16.62 kB / 0.5551 GB, free: 6.98 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002532/0.2962, allocations: 1.082 MB / 0.5562 GB, free: 6.148 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003008/0.2992, allocations: 1.292 MB / 0.5574 GB, free: 5.168 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009822/0.3002, allocations: 353.5 kB / 0.5578 GB, free: 4.906 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001842/0.302, allocations: 1.4 MB / 0.5591 GB, free: 4.137 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009443/0.3029, allocations: 0.5744 MB / 0.5597 GB, free: 3.547 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001189/0.3041, allocations: 0.6537 MB / 0.5603 GB, free: 2.891 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001193/0.3053, allocations: 0.8138 MB / 0.5611 GB, free: 2.074 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002001/0.3055, allocations: 80 kB / 0.5612 GB, free: 1.996 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002954/0.3085, allocations: 1.656 MB / 0.5628 GB, free: 344 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006574/0.3091, allocations: 0.6117 MB / 0.5634 GB, free: 15.72 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007881/0.3099, allocations: 0.5638 MB / 0.564 GB, free: 15.16 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002839/0.3128, allocations: 1.892 MB / 0.5658 GB, free: 13.26 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.3128, allocations: 0 / 0.5658 GB, free: 13.26 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.894e-06/0.3128, allocations: 4 kB / 0.5658 GB, free: 13.25 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.105e-05/0.3128, allocations: 0 / 0.5658 GB, free: 13.25 MB / 414.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.002462/0.3153, allocations: 1.284 MB / 0.5671 GB, free: 11.93 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.606e-05/0.3153, allocations: 11.98 kB / 0.5671 GB, free: 11.92 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003688/0.319, allocations: 0.5502 MB / 0.5676 GB, free: 11.37 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001056/0.3201, allocations: 0.5076 MB / 0.5681 GB, free: 10.84 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.732e-05/0.3201, allocations: 66.36 kB / 0.5682 GB, free: 10.77 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001516/0.3203, allocations: 92.3 kB / 0.5683 GB, free: 10.68 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002307/0.3226, allocations: 1.505 MB / 0.5698 GB, free: 9.141 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.739e-05/0.3226, allocations: 0 / 0.5698 GB, free: 9.141 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.314e-05/0.3227, allocations: 35.98 kB / 0.5698 GB, free: 9.105 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001162/0.3228, allocations: 102 kB / 0.5699 GB, free: 9.004 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002367/0.3252, allocations: 1.546 MB / 0.5714 GB, free: 7.449 MB / 414.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.007928/0.3331, allocations: 4.845 MB / 0.5761 GB, free: 2.402 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001739/0.3349, allocations: 1.098 MB / 0.5772 GB, free: 1.285 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009948/0.3359, allocations: 0.6786 MB / 0.5779 GB, free: 0.5977 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.613e-05/0.3359, allocations: 20.98 kB / 0.5779 GB, free: 0.5781 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.189e-05/0.336, allocations: 47.69 kB / 0.5779 GB, free: 0.5234 MB / 414.1 MB Notification: Performance of pre-optimization done (n=107): time 2.805e-06/0.336, allocations: 4 kB / 0.5779 GB, free: 0.5195 MB / 414.1 MB Notification: Performance of matching and sorting (n=108): time 0.007446/0.3434, allocations: 3.513 MB / 0.5814 GB, free: 13 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.282e-05/0.3435, allocations: 94.11 kB / 0.5814 GB, free: 12.89 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005355/0.344, allocations: 473.8 kB / 0.5819 GB, free: 12.41 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 7.021e-05/0.3441, allocations: 45.7 kB / 0.5819 GB, free: 12.36 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002963/0.3444, allocations: 440.6 kB / 0.5824 GB, free: 11.92 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003481/0.3447, allocations: 392.6 kB / 0.5827 GB, free: 11.54 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002947/0.345, allocations: 194.9 kB / 0.5829 GB, free: 11.34 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002036/0.3452, allocations: 390.7 kB / 0.5833 GB, free: 10.95 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000848/0.3461, allocations: 0.5335 MB / 0.5838 GB, free: 10.41 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00102/0.3471, allocations: 0.7579 MB / 0.5846 GB, free: 9.578 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001959/0.3491, allocations: 1.4 MB / 0.5859 GB, free: 8.098 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.41e-06/0.3491, allocations: 3.938 kB / 0.5859 GB, free: 8.094 MB / 430.1 MB Notification: Performance of matching and sorting (n=139) (initialization): time 0.003021/0.3521, allocations: 1.786 MB / 0.5877 GB, free: 6.297 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.248e-05/0.3521, allocations: 8 kB / 0.5877 GB, free: 6.289 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.742e-05/0.3521, allocations: 7.984 kB / 0.5877 GB, free: 6.281 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001073/0.3532, allocations: 413.8 kB / 0.5881 GB, free: 5.871 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008744/0.3541, allocations: 235.6 kB / 0.5883 GB, free: 5.641 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007211/0.3613, allocations: 5.852 MB / 0.594 GB, free: 15.54 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006903/0.362, allocations: 71.88 kB / 0.5941 GB, free: 15.47 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.22e-05/0.3621, allocations: 43.98 kB / 0.5941 GB, free: 15.43 MB / 446.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.000515/0.3626, allocations: 361.4 kB / 0.5945 GB, free: 15.06 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001366/0.3627, allocations: 75.53 kB / 0.5946 GB, free: 14.99 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00314/0.3658, allocations: 1.795 MB / 0.5963 GB, free: 13.18 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.06e-05/0.3659, allocations: 16 kB / 0.5963 GB, free: 13.16 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.229e-05/0.3659, allocations: 11.94 kB / 0.5963 GB, free: 13.15 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.283e-05/0.3659, allocations: 7.969 kB / 0.5963 GB, free: 13.14 MB / 446.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.005846/0.3717, allocations: 3.429 MB / 0.5997 GB, free: 9.586 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.514e-06/0.3717, allocations: 4 kB / 0.5997 GB, free: 9.582 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007204/0.3725, allocations: 187.7 kB / 0.5999 GB, free: 9.398 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009678/0.3734, allocations: 353.7 kB / 0.6002 GB, free: 9.047 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.099e-05/0.3735, allocations: 35.94 kB / 0.6002 GB, free: 9.012 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006781/0.3803, allocations: 5.578 MB / 0.6057 GB, free: 3.188 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.653e-06/0.3803, allocations: 7.938 kB / 0.6057 GB, free: 3.18 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002877/0.3832, allocations: 1.814 MB / 0.6075 GB, free: 1.297 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001826/0.3833, allocations: 87.45 kB / 0.6075 GB, free: 1.211 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001062/0.3834, allocations: 24 kB / 0.6076 GB, free: 1.188 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004883/0.3839, allocations: 47.95 kB / 0.6076 GB, free: 1.141 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001612/0.3841, allocations: 104.7 kB / 0.6077 GB, free: 1.039 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.337e-05/0.3842, allocations: 40 kB / 0.6078 GB, free: 1 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0003852/0.3846, allocations: 323.1 kB / 0.6081 GB, free: 0.6836 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3846, allocations: 4 kB / 0.6081 GB, free: 0.6797 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001097/0.3857, allocations: 396 kB / 0.6084 GB, free: 300 kB / 446.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.0001846/0.3858, allocations: 134.9 kB / 0.6086 GB, free: 156 kB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.00257/0.3884, allocations: 1.681 MB / 0.6102 GB, free: 14.45 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.3884, allocations: 0 / 0.6102 GB, free: 14.45 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001462/0.3899, allocations: 1.022 MB / 0.6112 GB, free: 13.4 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006854/0.3906, allocations: 127.2 kB / 0.6113 GB, free: 13.27 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003613/0.3942, allocations: 2.34 MB / 0.6136 GB, free: 10.85 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009271/0.3951, allocations: 1.174 MB / 0.6148 GB, free: 9.648 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002846/0.3954, allocations: 87.34 kB / 0.6149 GB, free: 9.562 MB / 462.1 MB Notification: Performance of SimCode: time 7.01e-07/0.3954, allocations: 0 / 0.6149 GB, free: 9.562 MB / 462.1 MB Notification: Performance of Templates: time 0.02408/0.4195, allocations: 18.55 MB / 0.633 GB, free: 6.961 MB / 478.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/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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 8.802591867977753]