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.001707/0.001707, allocations: 85.27 kB / 20.5 MB, free: 1.348 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.001466/0.001466, allocations: 171.3 kB / 23.75 MB, free: 4.527 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.1 MB, free: 9.289 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.1795/0.1795, allocations: 29.44 MB / 289.9 MB, free: 3.41 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.002092/0.002092, allocations: 66.56 kB / 430.4 MB, free: 2.156 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3149/0.317, allocations: 62.45 MB / 492.9 MB, free: 1.949 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Transformer): time 0.008069/0.3251, allocations: 5.306 MB / 498.2 MB, free: 12.62 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002977/0.3281, allocations: 1.309 MB / 499.5 MB, free: 11.3 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002628/0.3283, allocations: 27.75 kB / 499.5 MB, free: 11.28 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005167/0.3289, allocations: 135 kB / 499.7 MB, free: 11.14 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009739/0.3298, allocations: 390.2 kB / 0.4883 GB, free: 10.76 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003598/0.3302, allocations: 147.7 kB / 0.4885 GB, free: 10.62 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009823/0.3312, allocations: 0.7865 MB / 0.4892 GB, free: 9.828 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000308/0.3315, allocations: 138.2 kB / 0.4894 GB, free: 9.691 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007666/0.3323, allocations: 486.3 kB / 0.4898 GB, free: 9.215 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006617/0.3329, allocations: 398.5 kB / 0.4902 GB, free: 8.824 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 8.916e-05/0.333, allocations: 40 kB / 0.4902 GB, free: 8.785 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001001/0.3331, allocations: 44 kB / 0.4903 GB, free: 8.742 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002554/0.3334, allocations: 207.4 kB / 0.4905 GB, free: 8.539 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003015/0.3337, allocations: 230.8 kB / 0.4907 GB, free: 8.312 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007699/0.3344, allocations: 0.5874 MB / 0.4913 GB, free: 7.723 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.831e-06/0.3344, allocations: 0 / 0.4913 GB, free: 7.723 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.3344, allocations: 0 / 0.4913 GB, free: 7.723 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.887e-06/0.3344, allocations: 0 / 0.4913 GB, free: 7.723 MB / 398.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.001701/0.3361, allocations: 0.8394 MB / 0.4921 GB, free: 6.844 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.675e-05/0.3362, allocations: 15.98 kB / 0.4921 GB, free: 6.828 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001198/0.3363, allocations: 60.56 kB / 0.4922 GB, free: 6.77 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009395/0.3373, allocations: 453 kB / 0.4926 GB, free: 6.297 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.339e-05/0.3373, allocations: 32.94 kB / 0.4926 GB, free: 6.262 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.006e-05/0.3374, allocations: 43.98 kB / 0.4927 GB, free: 6.219 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009463/0.3383, allocations: 0.5603 MB / 0.4932 GB, free: 5.621 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.695e-05/0.3384, allocations: 0 / 0.4932 GB, free: 5.621 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.757e-05/0.3384, allocations: 20 kB / 0.4932 GB, free: 5.602 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.047e-05/0.3385, allocations: 17 kB / 0.4933 GB, free: 5.586 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007113/0.3392, allocations: 421.3 kB / 0.4937 GB, free: 5.168 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002596/0.3418, allocations: 1.703 MB / 0.4953 GB, free: 3.387 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006878/0.3425, allocations: 339 kB / 0.4956 GB, free: 3.031 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003643/0.3428, allocations: 187.4 kB / 0.4958 GB, free: 2.836 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.319e-05/0.3428, allocations: 8.234 kB / 0.4958 GB, free: 2.828 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004586/0.3433, allocations: 310.5 kB / 0.4961 GB, free: 2.488 MB / 398.1 MB Notification: Performance of pre-optimization done (n=35): time 1.744e-06/0.3433, allocations: 0 / 0.4961 GB, free: 2.488 MB / 398.1 MB Notification: Performance of matching and sorting (n=36): time 0.002101/0.3454, allocations: 1.198 MB / 0.4973 GB, free: 1.223 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001377/0.3455, allocations: 174.1 kB / 0.4975 GB, free: 1.016 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004842/0.346, allocations: 405.9 kB / 0.4978 GB, free: 0.6055 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.421e-05/0.3461, allocations: 33.7 kB / 0.4979 GB, free: 0.5664 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002581/0.3463, allocations: 300.2 kB / 0.4982 GB, free: 276 kB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001312/0.3465, allocations: 126.9 kB / 0.4983 GB, free: 148 kB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001458/0.3466, allocations: 90.14 kB / 0.4984 GB, free: 52 kB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002239/0.3468, allocations: 358.8 kB / 0.4987 GB, free: 15.69 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002613/0.3471, allocations: 146.6 kB / 0.4989 GB, free: 15.54 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004097/0.3475, allocations: 319.2 kB / 0.4992 GB, free: 15.15 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006653/0.3482, allocations: 481.3 kB / 0.4996 GB, free: 14.59 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.946e-06/0.3482, allocations: 0 / 0.4996 GB, free: 14.59 MB / 414.1 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.0008882/0.3491, allocations: 0.5546 MB / 0.5002 GB, free: 14.02 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.425e-05/0.3491, allocations: 44.45 kB / 0.5002 GB, free: 13.97 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.082e-05/0.3491, allocations: 4 kB / 0.5002 GB, free: 13.97 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.261e-05/0.3491, allocations: 8.688 kB / 0.5002 GB, free: 13.96 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004494/0.3496, allocations: 111.8 kB / 0.5003 GB, free: 13.85 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.542e-05/0.3496, allocations: 8 kB / 0.5003 GB, free: 13.84 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002501/0.3499, allocations: 19.98 kB / 0.5004 GB, free: 13.82 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.542e-05/0.3499, allocations: 39.91 kB / 0.5004 GB, free: 13.79 MB / 414.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.0003014/0.3502, allocations: 247.3 kB / 0.5006 GB, free: 13.53 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.88e-05/0.3503, allocations: 51.66 kB / 0.5007 GB, free: 13.48 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008384/0.3511, allocations: 485.2 kB / 0.5011 GB, free: 12.98 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.921e-06/0.3511, allocations: 4 kB / 0.5011 GB, free: 12.98 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.08e-06/0.3511, allocations: 0 / 0.5011 GB, free: 12.98 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.3e-06/0.3512, allocations: 4 kB / 0.5011 GB, free: 12.98 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001595/0.3527, allocations: 0.8939 MB / 0.502 GB, free: 12.03 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.746e-06/0.3528, allocations: 0 / 0.502 GB, free: 12.03 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003262/0.3531, allocations: 59.95 kB / 0.5021 GB, free: 11.97 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.344e-06/0.3531, allocations: 4 kB / 0.5021 GB, free: 11.96 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.199e-05/0.3531, allocations: 8 kB / 0.5021 GB, free: 11.96 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.914e-06/0.3531, allocations: 7.938 kB / 0.5021 GB, free: 11.95 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.3531, allocations: 0 / 0.5021 GB, free: 11.95 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001191/0.3543, allocations: 0.7774 MB / 0.5029 GB, free: 11.13 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001562/0.3545, allocations: 67.7 kB / 0.5029 GB, free: 11.06 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.55e-05/0.3545, allocations: 11.94 kB / 0.5029 GB, free: 11.05 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002136/0.3548, allocations: 15.98 kB / 0.5029 GB, free: 11.04 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.437e-05/0.3548, allocations: 23.91 kB / 0.503 GB, free: 11.01 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.922e-05/0.3549, allocations: 35.95 kB / 0.503 GB, free: 10.98 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003277/0.3552, allocations: 267.1 kB / 0.5033 GB, free: 10.72 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3552, allocations: 0 / 0.5033 GB, free: 10.72 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004655/0.3557, allocations: 104 kB / 0.5034 GB, free: 10.62 MB / 414.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.0001683/0.3559, allocations: 123.1 kB / 0.5035 GB, free: 10.49 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0007514/0.3566, allocations: 458 kB / 0.5039 GB, free: 10.02 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/0.3566, allocations: 5.312 kB / 0.5039 GB, free: 10.01 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003601/0.357, allocations: 260.9 kB / 0.5042 GB, free: 9.738 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006537/0.3576, allocations: 109 kB / 0.5043 GB, free: 9.633 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001813/0.3594, allocations: 1.014 MB / 0.5053 GB, free: 8.574 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003422/0.3598, allocations: 280.2 kB / 0.5055 GB, free: 8.277 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002855/0.3601, allocations: 92.31 kB / 0.5056 GB, free: 8.184 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001024/0.3602, allocations: 40.5 kB / 0.5056 GB, free: 8.145 MB / 414.1 MB Notification: Performance of SimCode: time 4.1e-07/0.3602, allocations: 0 / 0.5056 GB, free: 8.145 MB / 414.1 MB Notification: Performance of Templates: time 0.01048/0.3707, allocations: 4.332 MB / 0.5099 GB, free: 3.898 MB / 414.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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC1ph_DC.Elementary.Transformer.mat","/var/lib/jenkins/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.286269715055823]