Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase.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.002014/0.002014, allocations: 71.75 kB / 21.24 MB, free: 404 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.002471/0.002471, allocations: 168.8 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.513/1.513, allocations: 177.2 MB / 204.9 MB, free: 9.094 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.1835/0.1835, allocations: 29.43 MB / 290.7 MB, free: 3.332 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.Transformation.OnePhase,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|meter1.i|meter1.p|meter1.v|meter2.i|meter2.p|meter2.v",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase") translateModel(PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|meter1.i|meter1.p|meter1.v|meter2.i|meter2.p|meter2.v",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase") [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.002081/0.002081, allocations: 71.89 kB / 431.2 MB, free: 3.289 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3447/0.3468, allocations: 62.44 MB / 493.6 MB, free: 37.79 MB / 446.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase): time 0.007539/0.3543, allocations: 5.31 MB / 498.9 MB, free: 34.21 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.00265/0.357, allocations: 1.267 MB / 0.4885 GB, free: 33.36 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002915/0.3573, allocations: 25.53 kB / 0.4885 GB, free: 33.34 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000566/0.3578, allocations: 133.3 kB / 0.4886 GB, free: 33.28 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001045/0.3589, allocations: 381.1 kB / 0.489 GB, free: 33.07 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003397/0.3592, allocations: 138.5 kB / 0.4891 GB, free: 33 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007768/0.36, allocations: 0.7605 MB / 0.4899 GB, free: 32.66 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002557/0.3603, allocations: 124.9 kB / 0.49 GB, free: 32.6 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005773/0.3608, allocations: 356.1 kB / 0.4903 GB, free: 32.44 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006442/0.3615, allocations: 375.3 kB / 0.4907 GB, free: 32.32 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 7.725e-05/0.3616, allocations: 36.69 kB / 0.4907 GB, free: 32.32 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001096/0.3617, allocations: 41.28 kB / 0.4908 GB, free: 32.32 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001988/0.3619, allocations: 207.5 kB / 0.491 GB, free: 32.23 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002563/0.3621, allocations: 202.5 kB / 0.4912 GB, free: 32.13 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005935/0.3627, allocations: 0.5359 MB / 0.4917 GB, free: 31.92 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.029e-06/0.3627, allocations: 0 / 0.4917 GB, free: 31.92 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.904e-06/0.3627, allocations: 0 / 0.4917 GB, free: 31.92 MB / 446.1 MB Notification: Performance of Transformations before backend: time 9.268e-06/0.3627, allocations: 3.938 kB / 0.4917 GB, free: 31.92 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: 101 * Number of variables: 101 Notification: Performance of Generate backend data structure: time 0.001517/0.3642, allocations: 0.7412 MB / 0.4924 GB, free: 31.4 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.897e-05/0.3643, allocations: 15.2 kB / 0.4924 GB, free: 31.39 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001347/0.3644, allocations: 56.22 kB / 0.4925 GB, free: 31.36 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009962/0.3654, allocations: 422.2 kB / 0.4929 GB, free: 31.1 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.292e-05/0.3654, allocations: 32.88 kB / 0.4929 GB, free: 31.09 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.993e-05/0.3655, allocations: 37.84 kB / 0.4929 GB, free: 31.07 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009143/0.3664, allocations: 0.4948 MB / 0.4934 GB, free: 30.82 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.155e-05/0.3665, allocations: 0 / 0.4934 GB, free: 30.82 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.114e-05/0.3665, allocations: 18.03 kB / 0.4934 GB, free: 30.81 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.1e-05/0.3666, allocations: 16.03 kB / 0.4935 GB, free: 30.81 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007458/0.3673, allocations: 364.2 kB / 0.4938 GB, free: 30.69 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002863/0.3702, allocations: 1.854 MB / 0.4956 GB, free: 29.26 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005141/0.3707, allocations: 238.8 kB / 0.4958 GB, free: 29.14 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002585/0.3709, allocations: 119.7 kB / 0.496 GB, free: 29.09 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.124e-05/0.371, allocations: 2.906 kB / 0.496 GB, free: 29.09 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.297e-05/0.371, allocations: 37.91 kB / 0.496 GB, free: 29.05 MB / 446.1 MB Notification: Performance of pre-optimization done (n=22): time 2.315e-06/0.371, allocations: 0 / 0.496 GB, free: 29.05 MB / 446.1 MB Notification: Performance of matching and sorting (n=23): time 0.001339/0.3723, allocations: 0.6871 MB / 0.4967 GB, free: 28.62 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.371e-05/0.3724, allocations: 88.02 kB / 0.4968 GB, free: 28.52 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004025/0.3728, allocations: 379.5 kB / 0.4971 GB, free: 28.32 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.612e-05/0.3728, allocations: 28.64 kB / 0.4971 GB, free: 28.29 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001584/0.373, allocations: 306.5 kB / 0.4974 GB, free: 28.04 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.84e-05/0.373, allocations: 86.73 kB / 0.4975 GB, free: 27.97 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001205/0.3731, allocations: 76.45 kB / 0.4976 GB, free: 27.92 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 8.549e-05/0.3732, allocations: 353.7 kB / 0.4979 GB, free: 27.59 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001794/0.3734, allocations: 91.47 kB / 0.498 GB, free: 27.56 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002804/0.3737, allocations: 275.1 kB / 0.4983 GB, free: 27.29 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004974/0.3742, allocations: 399.4 kB / 0.4987 GB, free: 26.95 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.137e-06/0.3742, allocations: 7.281 kB / 0.4987 GB, free: 26.95 MB / 446.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0008717/0.3751, allocations: 453.2 kB / 0.4991 GB, free: 26.74 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.497e-05/0.3751, allocations: 9.312 kB / 0.4991 GB, free: 26.74 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.312e-05/0.3751, allocations: 6.625 kB / 0.4991 GB, free: 26.74 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002344/0.3753, allocations: 48.42 kB / 0.4992 GB, free: 26.73 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003589/0.3757, allocations: 86.67 kB / 0.4992 GB, free: 26.71 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00131/0.377, allocations: 1.48 MB / 0.5007 GB, free: 25.37 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003122/0.3773, allocations: 21.69 kB / 0.5007 GB, free: 25.36 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.374e-05/0.3773, allocations: 23 kB / 0.5007 GB, free: 25.35 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * Number of states: 0 () * Number of discrete variables: 3 (system.initime,trafo.tap_2_internal,trafo.tap_1_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (46): * Single equations (assignments): 45 * 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 {(1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002356/0.3776, allocations: 200.9 kB / 0.5009 GB, free: 25.2 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.937e-05/0.3777, allocations: 39.91 kB / 0.501 GB, free: 25.17 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004333/0.3781, allocations: 240.7 kB / 0.5012 GB, free: 25.06 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.322e-06/0.3781, allocations: 7.062 kB / 0.5012 GB, free: 25.05 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.044e-06/0.3781, allocations: 0 / 0.5012 GB, free: 25.05 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.578e-06/0.3781, allocations: 0 / 0.5012 GB, free: 25.05 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000984/0.3791, allocations: 0.5981 MB / 0.5018 GB, free: 24.66 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/0.3791, allocations: 0 / 0.5018 GB, free: 24.66 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002887/0.3794, allocations: 45.92 kB / 0.5018 GB, free: 24.66 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.827e-06/0.3794, allocations: 3.25 kB / 0.5018 GB, free: 24.66 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.577e-05/0.3794, allocations: 7.062 kB / 0.5018 GB, free: 24.66 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.837e-06/0.3794, allocations: 3.469 kB / 0.5018 GB, free: 24.66 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.295e-06/0.3794, allocations: 3.156 kB / 0.5018 GB, free: 24.66 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005414/0.38, allocations: 425.8 kB / 0.5022 GB, free: 24.39 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001134/0.3801, allocations: 47.3 kB / 0.5023 GB, free: 24.36 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.173e-05/0.3801, allocations: 19 kB / 0.5023 GB, free: 24.35 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00022/0.3803, allocations: 7.188 kB / 0.5023 GB, free: 24.34 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.89e-05/0.3804, allocations: 17.2 kB / 0.5023 GB, free: 24.34 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.851e-05/0.3804, allocations: 10.59 kB / 0.5023 GB, free: 24.34 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002715/0.3807, allocations: 246.5 kB / 0.5026 GB, free: 24.21 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3807, allocations: 3.875 kB / 0.5026 GB, free: 24.21 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.000717/0.3814, allocations: 87.75 kB / 0.5027 GB, free: 24.2 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: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * 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.0001083/0.3815, allocations: 100.2 kB / 0.5028 GB, free: 24.11 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0007168/0.3822, allocations: 375.8 kB / 0.5031 GB, free: 23.91 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.3822, allocations: 3.406 kB / 0.5031 GB, free: 23.91 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001496/0.3824, allocations: 83.41 kB / 0.5032 GB, free: 23.88 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008204/0.3832, allocations: 101.9 kB / 0.5033 GB, free: 23.84 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001474/0.3847, allocations: 0.8485 MB / 0.5041 GB, free: 23.33 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002837/0.3849, allocations: 252.7 kB / 0.5044 GB, free: 23.23 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0002992/0.3852, allocations: 78.88 kB / 0.5044 GB, free: 23.21 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.124e-05/0.3853, allocations: 31.5 kB / 0.5045 GB, free: 23.2 MB / 446.1 MB Notification: Performance of SimCode: time 5.41e-07/0.3853, allocations: 4 kB / 0.5045 GB, free: 23.2 MB / 446.1 MB Notification: Performance of Templates: time 0.008827/0.3942, allocations: 3.607 MB / 0.508 GB, free: 22.74 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase.makefile [Timeout 660] (rm -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase.sim & ./PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase.pipe 2>&1) [Timeout 480] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase.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.137571316096]