Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr HanserModelica_HanserModelica.Magnetic.TestTransformer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package HanserModelica with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(HanserModelica.Magnetic.TestTransformer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1600,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Magnetic.TestTransformer") translateModel(HanserModelica.Magnetic.TestTransformer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1600,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Magnetic.TestTransformer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001409/0.001409, allocations: 175 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.05759/0.05759, allocations: 8.707 MB / 21.97 MB, free: 3.707 MB / 18.57 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.363/1.363, allocations: 221.4 MB / 246 MB, free: 3.535 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008781/0.0008781, allocations: 86.86 kB / 299.1 MB, free: 2.977 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.803e-05/3.825e-05, allocations: 0 / 359.5 MB, free: 6.508 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2689/0.269, allocations: 52.54 MB / 412.1 MB, free: 22.55 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1075/0.3765, allocations: 83.33 MB / 495.4 MB, free: 3.109 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000326/0.3769, allocations: 63.97 kB / 495.4 MB, free: 3.047 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02706/0.404, allocations: 10.41 MB / 0.494 GB, free: 8.605 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.372e-06/0.404, allocations: 0 / 0.494 GB, free: 8.605 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.069e-05/0.4041, allocations: 12 kB / 0.494 GB, free: 8.594 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 128 * Number of variables: 128 Notification: Performance of Generate backend data structure: time 0.001063/0.4051, allocations: 0.7054 MB / 0.4947 GB, free: 7.84 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.639e-05/0.4052, allocations: 8.031 kB / 0.4947 GB, free: 7.832 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001022/0.4053, allocations: 59.25 kB / 0.4948 GB, free: 7.773 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004522/0.4057, allocations: 350.6 kB / 0.4951 GB, free: 7.395 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.515e-05/0.4058, allocations: 41.31 kB / 0.4951 GB, free: 7.355 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.267e-05/0.4059, allocations: 48 kB / 0.4952 GB, free: 7.309 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007842/0.4067, allocations: 495.1 kB / 0.4957 GB, free: 6.809 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.452e-05/0.4067, allocations: 7.953 kB / 0.4957 GB, free: 6.801 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.794e-05/0.4067, allocations: 24 kB / 0.4957 GB, free: 6.777 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.293e-05/0.4068, allocations: 15.94 kB / 0.4957 GB, free: 6.762 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005867/0.4074, allocations: 344 kB / 0.496 GB, free: 6.426 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002622/0.41, allocations: 1.948 MB / 0.4979 GB, free: 4.355 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005002/0.4105, allocations: 290.2 kB / 0.4982 GB, free: 4.066 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003639/0.4109, allocations: 209.3 kB / 0.4984 GB, free: 3.859 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.939e-05/0.4109, allocations: 4.266 kB / 0.4984 GB, free: 3.855 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.452e-05/0.411, allocations: 38.84 kB / 0.4984 GB, free: 3.809 MB / 378.7 MB Notification: Performance of pre-optimization done (n=33): time 1.954e-06/0.411, allocations: 0 / 0.4984 GB, free: 3.809 MB / 378.7 MB Notification: Performance of matching and sorting (n=49): time 0.003554/0.4145, allocations: 1.493 MB / 0.4999 GB, free: 2.258 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.701e-05/0.4146, allocations: 59.84 kB / 0.5 GB, free: 2.188 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000281/0.4149, allocations: 263.4 kB / 0.5002 GB, free: 1.922 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.617e-05/0.4149, allocations: 33.7 kB / 0.5002 GB, free: 1.883 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001378/0.4151, allocations: 260.3 kB / 0.5005 GB, free: 1.621 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001145/0.4152, allocations: 157.7 kB / 0.5006 GB, free: 1.465 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.319e-05/0.4152, allocations: 12 kB / 0.5007 GB, free: 1.453 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001234/0.4153, allocations: 346.8 kB / 0.501 GB, free: 1.105 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002185/0.4156, allocations: 133.1 kB / 0.5011 GB, free: 0.9766 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002763/0.4158, allocations: 212.9 kB / 0.5013 GB, free: 0.7422 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002815/0.4161, allocations: 173.6 kB / 0.5015 GB, free: 0.5742 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.4161, allocations: 0 / 0.5015 GB, free: 0.5742 MB / 378.7 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.0008365/0.417, allocations: 0.5166 MB / 0.502 GB, free: 48 kB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.795e-05/0.417, allocations: 11.94 kB / 0.502 GB, free: 36 kB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.384e-06/0.417, allocations: 224 / 0.502 GB, free: 36 kB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.2187/0.6358, allocations: 98.8 kB / 0.5021 GB, free: 90.81 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005259/0.6363, allocations: 102.2 kB / 0.5022 GB, free: 90.81 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002334/0.6387, allocations: 3.297 MB / 0.5054 GB, free: 88.18 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003767/0.6391, allocations: 22.2 kB / 0.5054 GB, free: 88.18 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.01e-05/0.6391, allocations: 16.89 kB / 0.5054 GB, free: 88.18 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 1 (booleanStep.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (50): * Single equations (assignments): 48 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 5,(2,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001633/0.6393, allocations: 130.8 kB / 0.5056 GB, free: 88.07 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.527e-05/0.6394, allocations: 36.62 kB / 0.5056 GB, free: 88.07 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001146/0.6395, allocations: 54.88 kB / 0.5057 GB, free: 88.06 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.534e-06/0.6395, allocations: 4.906 kB / 0.5057 GB, free: 88.06 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.349e-05/0.6395, allocations: 2.938 kB / 0.5057 GB, free: 88.06 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.024e-05/0.6395, allocations: 2.891 kB / 0.5057 GB, free: 88.06 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00191/0.6415, allocations: 1.165 MB / 0.5068 GB, free: 87.73 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.719e-06/0.6415, allocations: 1.312 kB / 0.5068 GB, free: 87.73 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004279/0.6419, allocations: 85.39 kB / 0.5069 GB, free: 87.73 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003137/0.6422, allocations: 101.7 kB / 0.507 GB, free: 87.71 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.758e-05/0.6423, allocations: 9.812 kB / 0.507 GB, free: 87.71 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002366/0.6447, allocations: 3.279 MB / 0.5102 GB, free: 85.07 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.845e-06/0.6447, allocations: 1.953 kB / 0.5102 GB, free: 85.07 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001082/0.6458, allocations: 0.7687 MB / 0.511 GB, free: 84.72 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001531/0.6459, allocations: 151.4 kB / 0.5111 GB, free: 84.58 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.624e-05/0.646, allocations: 12.95 kB / 0.5111 GB, free: 84.57 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002952/0.6463, allocations: 29.95 kB / 0.5111 GB, free: 84.57 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001029/0.6464, allocations: 34.84 kB / 0.5112 GB, free: 84.56 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.226e-05/0.6464, allocations: 19.16 kB / 0.5112 GB, free: 84.55 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002127/0.6467, allocations: 207.5 kB / 0.5114 GB, free: 84.43 MB / 378.7 MB Notification: Performance of sort global known variables: time 5.51e-07/0.6467, allocations: 0 / 0.5114 GB, free: 84.43 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000681/0.6474, allocations: 123.1 kB / 0.5115 GB, free: 84.42 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (transformer.converter1.i,transformer.converter1.Phi) * Number of discrete variables: 1 (booleanStep.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (38): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 5,(2,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001338/0.6475, allocations: 112.3 kB / 0.5116 GB, free: 84.32 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0008963/0.6484, allocations: 0.631 MB / 0.5122 GB, free: 83.94 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.807e-06/0.6484, allocations: 2.031 kB / 0.5122 GB, free: 83.94 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006023/0.649, allocations: 478.2 kB / 0.5127 GB, free: 83.61 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003319/0.6494, allocations: 49.52 kB / 0.5127 GB, free: 83.6 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001752/0.6511, allocations: 0.7408 MB / 0.5135 GB, free: 83.22 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005361/0.6517, allocations: 0.8582 MB / 0.5143 GB, free: 82.51 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002807/0.652, allocations: 44.91 kB / 0.5143 GB, free: 82.5 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001318/0.6521, allocations: 30.56 kB / 0.5144 GB, free: 82.5 MB / 378.7 MB Notification: Performance of SimCode: time 9.42e-07/0.6521, allocations: 0.5938 kB / 0.5144 GB, free: 82.5 MB / 378.7 MB Notification: Performance of Templates: time 0.00837/0.6605, allocations: 4.529 MB / 0.5188 GB, free: 82.28 MB / 378.7 MB make -j1 -f HanserModelica_HanserModelica.Magnetic.TestTransformer.makefile (rm -f HanserModelica_HanserModelica.Magnetic.TestTransformer.pipe ; mkfifo HanserModelica_HanserModelica.Magnetic.TestTransformer.pipe ; head -c 1048576 < HanserModelica_HanserModelica.Magnetic.TestTransformer.pipe >> ../files/HanserModelica_HanserModelica.Magnetic.TestTransformer.sim & ./HanserModelica_HanserModelica.Magnetic.TestTransformer -abortSlowSimulation -alarm=480 -lv LOG_STATS > HanserModelica_HanserModelica.Magnetic.TestTransformer.pipe 2>&1)