Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Transformer.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.001923/0.001923, allocations: 75.73 kB / 21.24 MB, free: 400 kB / 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.002474/0.002474, allocations: 168.5 kB / 24.5 MB, free: 3.453 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.497/1.497, allocations: 177.2 MB / 204.9 MB, free: 9.078 MB / 190.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.1824/0.1824, allocations: 29.43 MB / 290.7 MB, free: 3.328 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.AC1ph_DC.Elementary.Transformer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=7500,variableFilter="Time|meter1.i|meter1.p|meter1.v|meter2.i|meter2.p|meter2.v",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Transformer") translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.Transformer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=7500,variableFilter="Time|meter1.i|meter1.p|meter1.v|meter2.i|meter2.p|meter2.v",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Transformer") [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.003313/0.003313, allocations: 72.17 kB / 431.2 MB, free: 3.277 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.365/0.3683, allocations: 62.44 MB / 493.6 MB, free: 37.82 MB / 446.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Transformer): time 0.006061/0.3743, allocations: 5.321 MB / 499 MB, free: 34.25 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002297/0.3766, allocations: 1.327 MB / 0.4886 GB, free: 33.36 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003013/0.3769, allocations: 25.09 kB / 0.4886 GB, free: 33.34 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004625/0.3774, allocations: 125.2 kB / 0.4887 GB, free: 33.28 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007548/0.3781, allocations: 387.8 kB / 0.4891 GB, free: 33.07 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002851/0.3784, allocations: 160.9 kB / 0.4892 GB, free: 32.98 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006082/0.379, allocations: 0.7801 MB / 0.49 GB, free: 32.64 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002699/0.3793, allocations: 138.2 kB / 0.4901 GB, free: 32.58 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005179/0.3798, allocations: 364.1 kB / 0.4905 GB, free: 32.42 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005787/0.3804, allocations: 401.3 kB / 0.4908 GB, free: 32.29 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 6.935e-05/0.3805, allocations: 39.41 kB / 0.4909 GB, free: 32.29 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.604e-05/0.3806, allocations: 40.66 kB / 0.4909 GB, free: 32.29 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000181/0.3807, allocations: 211.5 kB / 0.4911 GB, free: 32.2 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002205/0.381, allocations: 230.1 kB / 0.4913 GB, free: 32.09 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005827/0.3815, allocations: 0.5831 MB / 0.4919 GB, free: 31.86 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.3816, allocations: 0 / 0.4919 GB, free: 31.86 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.323e-06/0.3816, allocations: 0 / 0.4919 GB, free: 31.86 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.387e-05/0.3816, allocations: 0 / 0.4919 GB, free: 31.86 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 106 * Number of variables: 106 Notification: Performance of Generate backend data structure: time 0.001296/0.3829, allocations: 0.835 MB / 0.4927 GB, free: 31.26 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.83e-05/0.3829, allocations: 13.45 kB / 0.4927 GB, free: 31.26 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.774e-05/0.383, allocations: 61.78 kB / 0.4928 GB, free: 31.23 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000726/0.3837, allocations: 460 kB / 0.4932 GB, free: 30.93 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.052e-05/0.3838, allocations: 35.12 kB / 0.4933 GB, free: 30.91 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.343e-05/0.3838, allocations: 43.31 kB / 0.4933 GB, free: 30.9 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006909/0.3845, allocations: 0.5578 MB / 0.4939 GB, free: 30.61 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.592e-05/0.3845, allocations: 0 / 0.4939 GB, free: 30.61 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.087e-05/0.3846, allocations: 21.48 kB / 0.4939 GB, free: 30.6 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.223e-05/0.3846, allocations: 18.91 kB / 0.4939 GB, free: 30.6 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005342/0.3851, allocations: 423.7 kB / 0.4943 GB, free: 30.44 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001834/0.387, allocations: 1.699 MB / 0.496 GB, free: 29.19 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000518/0.3875, allocations: 339.6 kB / 0.4963 GB, free: 29.01 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002743/0.3878, allocations: 190.6 kB / 0.4965 GB, free: 28.91 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.926e-05/0.3878, allocations: 2.875 kB / 0.4965 GB, free: 28.91 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000316/0.3881, allocations: 312.3 kB / 0.4968 GB, free: 28.7 MB / 446.1 MB Notification: Performance of pre-optimization done (n=35): time 1.664e-06/0.3881, allocations: 0 / 0.4968 GB, free: 28.7 MB / 446.1 MB Notification: Performance of matching and sorting (n=36): time 0.001596/0.3897, allocations: 1.204 MB / 0.4979 GB, free: 27.96 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.449e-05/0.3898, allocations: 171.7 kB / 0.4981 GB, free: 27.77 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003763/0.3901, allocations: 400.4 kB / 0.4985 GB, free: 27.57 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.013e-05/0.3902, allocations: 33.7 kB / 0.4985 GB, free: 27.53 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001979/0.3904, allocations: 300.4 kB / 0.4988 GB, free: 27.29 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.807e-05/0.3905, allocations: 124.6 kB / 0.4989 GB, free: 27.19 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001207/0.3906, allocations: 91.33 kB / 0.499 GB, free: 27.14 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 9.303e-05/0.3907, allocations: 356.9 kB / 0.4994 GB, free: 26.81 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001857/0.3909, allocations: 149.8 kB / 0.4995 GB, free: 26.74 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002849/0.3911, allocations: 329.3 kB / 0.4998 GB, free: 26.45 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004562/0.3916, allocations: 472.1 kB / 0.5003 GB, free: 26.07 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.3916, allocations: 0 / 0.5003 GB, free: 26.07 MB / 446.1 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.0006817/0.3923, allocations: 0.5561 MB / 0.5008 GB, free: 25.79 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.045e-05/0.3923, allocations: 39.98 kB / 0.5008 GB, free: 25.75 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.195e-05/0.3923, allocations: 10.34 kB / 0.5009 GB, free: 25.75 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.725e-05/0.3924, allocations: 9.406 kB / 0.5009 GB, free: 25.75 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004166/0.3928, allocations: 107.1 kB / 0.501 GB, free: 25.74 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.44e-05/0.3928, allocations: 9.906 kB / 0.501 GB, free: 25.74 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002919/0.3931, allocations: 20.69 kB / 0.501 GB, free: 25.73 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.913e-05/0.3931, allocations: 33.97 kB / 0.501 GB, free: 25.73 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 11 (system.initime,tapChanger.tap_2,$PRE.tapChanger.tap_2,tapChanger.tap_1,$PRE.tapChanger.tap_1,tapChanger.cnt_2,$PRE.tapChanger.cnt_2,tapChanger.cnt_1,$PRE.tapChanger.cnt_1,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (60): * Single equations (assignments): 59 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002303/0.3934, allocations: 247.1 kB / 0.5013 GB, free: 25.53 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.689e-05/0.3934, allocations: 60.16 kB / 0.5013 GB, free: 25.5 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006062/0.394, allocations: 478.8 kB / 0.5018 GB, free: 25.27 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.889e-06/0.394, allocations: 3.219 kB / 0.5018 GB, free: 25.27 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.394, allocations: 0 / 0.5018 GB, free: 25.27 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.569e-06/0.3941, allocations: 3.375 kB / 0.5018 GB, free: 25.27 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001032/0.3951, allocations: 0.8948 MB / 0.5027 GB, free: 24.74 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.066e-06/0.3951, allocations: 3.516 kB / 0.5027 GB, free: 24.74 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002751/0.3954, allocations: 59.84 kB / 0.5027 GB, free: 24.73 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.428e-06/0.3954, allocations: 7.312 kB / 0.5027 GB, free: 24.73 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.271e-05/0.3954, allocations: 10.7 kB / 0.5027 GB, free: 24.73 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.077e-06/0.3954, allocations: 7.188 kB / 0.5027 GB, free: 24.72 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.3954, allocations: 0 / 0.5027 GB, free: 24.72 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007391/0.3961, allocations: 0.7739 MB / 0.5035 GB, free: 24.27 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001209/0.3963, allocations: 63.31 kB / 0.5036 GB, free: 24.24 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.129e-05/0.3963, allocations: 13.7 kB / 0.5036 GB, free: 24.23 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002341/0.3965, allocations: 14.38 kB / 0.5036 GB, free: 24.23 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.954e-05/0.3966, allocations: 32.33 kB / 0.5036 GB, free: 24.22 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.534e-05/0.3967, allocations: 36.8 kB / 0.5036 GB, free: 24.21 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002141/0.3969, allocations: 266 kB / 0.5039 GB, free: 24.08 MB / 446.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.3969, allocations: 0 / 0.5039 GB, free: 24.08 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0004636/0.3973, allocations: 103.9 kB / 0.504 GB, free: 24.07 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 1 (trafo.i1) * Number of discrete variables: 7 ($whenCondition1,$whenCondition2,tapChanger.tap_1,tapChanger.tap_2,tapChanger.cnt_1,tapChanger.cnt_2,system.initime) * Number of discrete states: 6 (tapChanger.tap_2,tapChanger.cnt_2,$whenCondition2,tapChanger.tap_1,tapChanger.cnt_1,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001183/0.3975, allocations: 112.3 kB / 0.5041 GB, free: 23.97 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0005498/0.398, allocations: 465.5 kB / 0.5046 GB, free: 23.73 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.398, allocations: 0 / 0.5046 GB, free: 23.73 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002395/0.3982, allocations: 259.9 kB / 0.5048 GB, free: 23.58 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005892/0.3988, allocations: 99.34 kB / 0.5049 GB, free: 23.54 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001389/0.4002, allocations: 1.016 MB / 0.5059 GB, free: 22.96 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002262/0.4005, allocations: 285 kB / 0.5062 GB, free: 22.85 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0002378/0.4007, allocations: 89.64 kB / 0.5062 GB, free: 22.83 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.042e-05/0.4008, allocations: 37.5 kB / 0.5063 GB, free: 22.82 MB / 446.1 MB Notification: Performance of SimCode: time 8.11e-07/0.4008, allocations: 0 / 0.5063 GB, free: 22.82 MB / 446.1 MB Notification: Performance of Templates: time 0.008782/0.4096, allocations: 4.327 MB / 0.5105 GB, free: 22.27 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Transformer.makefile [Timeout 660] (rm -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Transformer.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Transformer.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Transformer.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Transformer.sim & ./PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Transformer -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Transformer.pipe 2>&1) [Timeout 480] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Transformer_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC1ph_DC.Elementary.Transformer.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Transformer.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: 5.27249565301463]