Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq.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.001438/0.001438, allocations: 112.5 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.001594/0.001594, 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.35/1.35, allocations: 230.6 MB / 258.3 MB, free: 8.246 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.1711/0.1711, allocations: 38.52 MB / 353.2 MB, free: 12.69 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_dq,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|impedance3.i.1.|impedance3.i.2.|impedance3.p.1.|impedance3.p.2.|impedance3.v.1.|impedance3.v.2.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq") translateModel(PowerSystems.Examples.Generic.Network.NetworkLoop_dq,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|impedance3.i.1.|impedance3.i.2.|impedance3.p.1.|impedance3.p.2.|impedance3.v.1.|impedance3.v.2.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq") [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.001955/0.001955, allocations: 67.89 kB / 493.8 MB, free: 4.41 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2725/0.2745, allocations: 62.47 MB / 0.5432 GB, free: 0.625 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkLoop_dq): time 0.008151/0.2826, allocations: 7.605 MB / 0.5507 GB, free: 10.62 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.006085/0.2887, allocations: 4.502 MB / 0.5551 GB, free: 7.023 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004605/0.2892, allocations: 21.31 kB / 0.5551 GB, free: 7.016 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002499/0.2917, allocations: 1.066 MB / 0.5561 GB, free: 6.199 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002779/0.2945, allocations: 1.214 MB / 0.5573 GB, free: 5.262 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008755/0.2953, allocations: 322.4 kB / 0.5576 GB, free: 5.02 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001738/0.2971, allocations: 1.402 MB / 0.559 GB, free: 4.266 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008078/0.2979, allocations: 0.5129 MB / 0.5595 GB, free: 3.812 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00101/0.2989, allocations: 0.6381 MB / 0.5601 GB, free: 3.172 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009533/0.2998, allocations: 0.7398 MB / 0.5608 GB, free: 2.43 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 9.086e-05/0.2999, allocations: 64 kB / 0.5609 GB, free: 2.367 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002341/0.3023, allocations: 1.376 MB / 0.5622 GB, free: 0.9883 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004583/0.3027, allocations: 490.7 kB / 0.5627 GB, free: 0.5078 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004526/0.3032, allocations: 445.9 kB / 0.5631 GB, free: 72 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002035/0.3052, allocations: 1.456 MB / 0.5646 GB, free: 14.61 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.3052, allocations: 4 kB / 0.5646 GB, free: 14.61 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.3052, allocations: 0 / 0.5646 GB, free: 14.61 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.474e-05/0.3052, allocations: 0 / 0.5646 GB, free: 14.61 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: 203 * Number of variables: 203 Notification: Performance of Generate backend data structure: time 0.001588/0.3068, allocations: 1.082 MB / 0.5656 GB, free: 13.49 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.611e-05/0.3069, allocations: 11.98 kB / 0.5656 GB, free: 13.48 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002856/0.3097, allocations: 395.9 kB / 0.566 GB, free: 13.09 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008252/0.3105, allocations: 433.7 kB / 0.5664 GB, free: 12.64 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.294e-05/0.3106, allocations: 54.36 kB / 0.5665 GB, free: 12.59 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001226/0.3107, allocations: 68.38 kB / 0.5665 GB, free: 12.52 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001735/0.3124, allocations: 1.184 MB / 0.5677 GB, free: 11.31 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.663e-05/0.3125, allocations: 4 kB / 0.5677 GB, free: 11.3 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.271e-05/0.3125, allocations: 27.98 kB / 0.5677 GB, free: 11.28 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.101e-05/0.3126, allocations: 73.95 kB / 0.5678 GB, free: 11.21 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001808/0.3144, allocations: 1.237 MB / 0.569 GB, free: 9.965 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005386/0.3198, allocations: 3.419 MB / 0.5723 GB, free: 6.461 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001573/0.3214, allocations: 0.9835 MB / 0.5733 GB, free: 5.457 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008153/0.3222, allocations: 0.5901 MB / 0.5739 GB, free: 4.863 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.944e-05/0.3223, allocations: 24.97 kB / 0.5739 GB, free: 4.836 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.347e-05/0.3223, allocations: 43.56 kB / 0.5739 GB, free: 4.785 MB / 414.1 MB Notification: Performance of pre-optimization done (n=91): time 2.395e-06/0.3223, allocations: 96 / 0.5739 GB, free: 4.785 MB / 414.1 MB Notification: Performance of matching and sorting (n=92): time 0.006374/0.3287, allocations: 3.013 MB / 0.5769 GB, free: 1.766 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.307e-05/0.3288, allocations: 90.11 kB / 0.577 GB, free: 1.66 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004059/0.3292, allocations: 361.6 kB / 0.5773 GB, free: 1.301 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 5.769e-05/0.3292, allocations: 45.73 kB / 0.5774 GB, free: 1.25 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00022/0.3294, allocations: 324.9 kB / 0.5777 GB, free: 0.9258 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002833/0.3297, allocations: 329.1 kB / 0.578 GB, free: 0.6016 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002302/0.33, allocations: 162.6 kB / 0.5781 GB, free: 448 kB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001763/0.3301, allocations: 370.7 kB / 0.5785 GB, free: 68 kB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006868/0.3308, allocations: 465.8 kB / 0.5789 GB, free: 15.61 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007536/0.3316, allocations: 0.5734 MB / 0.5795 GB, free: 15 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001553/0.3331, allocations: 1.113 MB / 0.5806 GB, free: 13.86 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.3331, allocations: 0 / 0.5806 GB, free: 13.86 MB / 430.1 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.002473/0.3356, allocations: 1.466 MB / 0.582 GB, free: 12.38 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.148e-05/0.3356, allocations: 14.69 kB / 0.582 GB, free: 12.37 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.426e-06/0.3356, allocations: 0 / 0.582 GB, free: 12.37 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009257/0.3366, allocations: 337.5 kB / 0.5823 GB, free: 12.04 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006713/0.3372, allocations: 179.7 kB / 0.5825 GB, free: 11.86 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005431/0.3427, allocations: 4.076 MB / 0.5865 GB, free: 7.652 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005146/0.3432, allocations: 55.95 kB / 0.5866 GB, free: 7.598 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.831e-05/0.3432, allocations: 31.98 kB / 0.5866 GB, free: 7.566 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (80): * Single equations (assignments): 79 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,26,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000451/0.3437, allocations: 293.6 kB / 0.5869 GB, free: 7.27 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001219/0.3438, allocations: 55.67 kB / 0.5869 GB, free: 7.215 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002665/0.3465, allocations: 1.559 MB / 0.5884 GB, free: 5.641 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.638e-05/0.3465, allocations: 12 kB / 0.5885 GB, free: 5.629 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.282e-06/0.3465, allocations: 4 kB / 0.5885 GB, free: 5.625 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.261e-05/0.3465, allocations: 7.969 kB / 0.5885 GB, free: 5.617 MB / 430.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.004989/0.3515, allocations: 2.987 MB / 0.5914 GB, free: 2.512 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.751e-06/0.3515, allocations: 4 kB / 0.5914 GB, free: 2.508 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006204/0.3521, allocations: 167.8 kB / 0.5915 GB, free: 2.344 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007778/0.3529, allocations: 285 kB / 0.5918 GB, free: 2.062 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.121e-05/0.353, allocations: 23.98 kB / 0.5918 GB, free: 2.039 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005017/0.358, allocations: 3.817 MB / 0.5956 GB, free: 14.1 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.548e-06/0.358, allocations: 7.938 kB / 0.5956 GB, free: 14.09 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002466/0.3605, allocations: 1.587 MB / 0.5971 GB, free: 12.44 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001532/0.3606, allocations: 63.61 kB / 0.5972 GB, free: 12.38 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.089e-05/0.3607, allocations: 27.98 kB / 0.5972 GB, free: 12.35 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004146/0.3611, allocations: 51.91 kB / 0.5973 GB, free: 12.3 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001558/0.3613, allocations: 80.78 kB / 0.5973 GB, free: 12.22 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.32e-05/0.3613, allocations: 39.98 kB / 0.5974 GB, free: 12.18 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002898/0.3616, allocations: 255.1 kB / 0.5976 GB, free: 11.93 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3616, allocations: 3.938 kB / 0.5976 GB, free: 11.93 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0008983/0.3625, allocations: 304 kB / 0.5979 GB, free: 11.63 MB / 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 (82): * Single equations (assignments): 80 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(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.000176/0.3627, allocations: 139 kB / 0.598 GB, free: 11.48 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002121/0.3648, allocations: 1.331 MB / 0.5993 GB, free: 10.14 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.426e-06/0.3648, allocations: 4 kB / 0.5993 GB, free: 10.14 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001163/0.366, allocations: 0.793 MB / 0.6001 GB, free: 9.336 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006375/0.3666, allocations: 106.3 kB / 0.6002 GB, free: 9.23 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002897/0.3695, allocations: 1.896 MB / 0.6021 GB, free: 7.25 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007336/0.3703, allocations: 1.068 MB / 0.6031 GB, free: 6.152 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002368/0.3705, allocations: 71.39 kB / 0.6032 GB, free: 6.082 MB / 446.1 MB Notification: Performance of SimCode: time 8.02e-07/0.3705, allocations: 4 kB / 0.6032 GB, free: 6.078 MB / 446.1 MB Notification: Performance of Templates: time 0.01625/0.3867, allocations: 12.5 MB / 0.6154 GB, free: 9.559 MB / 462.1 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq.makefile [Timeout 660] (rm -f PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq.sim & ./PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq.pipe 2>&1) [Timeout 480] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.Generic.Network.NetworkLoop_dq.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq.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: 7.933563118800521]