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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 1.1.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package HanserModelica with version 1.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 1.1.1-master/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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 3.2.3+maint.om/package.mo): time 0.001038/0.001038, allocations: 173.1 kB / 16.11 MB, free: 5.582 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 1.1.1-master/package.mo): time 0.04013/0.04013, allocations: 8.767 MB / 25.64 MB, free: 3.469 MB / 18.57 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.527/1.527, allocations: 205.4 MB / 233.9 MB, free: 12.47 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008257/0.0008483, allocations: 100.9 kB / 284.4 MB, free: 14.32 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004977/0.0004977, allocations: 12 kB / 344.8 MB, free: 1.852 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2919/0.2924, allocations: 49.7 MB / 394.5 MB, free: 36.76 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1111/0.4036, allocations: 81.79 MB / 476.3 MB, free: 2.852 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002517/0.4039, allocations: 75.91 kB / 476.4 MB, free: 2.777 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02657/0.4305, allocations: 10.11 MB / 486.5 MB, free: 8.633 MB / 362.7 MB Notification: Performance of FrontEnd: time 3.286e-06/0.4305, allocations: 3.938 kB / 486.5 MB, free: 8.629 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.383e-05/0.4306, allocations: 12 kB / 486.5 MB, free: 8.617 MB / 362.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.001217/0.4318, allocations: 0.7447 MB / 487.2 MB, free: 7.82 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.889e-05/0.4318, allocations: 8.031 kB / 487.2 MB, free: 7.812 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001035/0.4319, allocations: 60.28 kB / 487.3 MB, free: 7.754 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005007/0.4324, allocations: 363.6 kB / 487.7 MB, free: 7.359 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.459e-05/0.4325, allocations: 41.62 kB / 487.7 MB, free: 7.32 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.323e-05/0.4326, allocations: 56.38 kB / 487.8 MB, free: 7.266 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009266/0.4335, allocations: 0.5152 MB / 488.3 MB, free: 6.734 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.841e-05/0.4336, allocations: 192 / 488.3 MB, free: 6.734 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.096e-05/0.4336, allocations: 23.94 kB / 488.3 MB, free: 6.711 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.307e-05/0.4336, allocations: 19.94 kB / 488.3 MB, free: 6.691 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008096/0.4345, allocations: 395.8 kB / 488.7 MB, free: 6.305 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002827/0.4373, allocations: 1.948 MB / 490.6 MB, free: 4.238 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006816/0.438, allocations: 323.4 kB / 491 MB, free: 3.914 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004652/0.4385, allocations: 218 kB / 491.2 MB, free: 3.699 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.694e-05/0.4385, allocations: 4.281 kB / 491.2 MB, free: 3.695 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.439e-05/0.4386, allocations: 42.84 kB / 491.2 MB, free: 3.645 MB / 362.7 MB Notification: Performance of pre-optimization done (n=33): time 1.834e-06/0.4386, allocations: 0 / 491.2 MB, free: 3.645 MB / 362.7 MB Notification: Performance of matching and sorting (n=49): time 0.004627/0.4432, allocations: 1.842 MB / 493.1 MB, free: 1.727 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.541e-05/0.4433, allocations: 59.78 kB / 493.1 MB, free: 1.656 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003665/0.4436, allocations: 295.3 kB / 493.4 MB, free: 1.355 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.902e-05/0.4437, allocations: 33.7 kB / 493.4 MB, free: 1.316 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001758/0.4439, allocations: 260.3 kB / 493.7 MB, free: 1.059 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001074/0.444, allocations: 165.6 kB / 493.9 MB, free: 0.8945 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.094e-05/0.444, allocations: 16 kB / 493.9 MB, free: 0.8789 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 9.866e-05/0.4441, allocations: 338.8 kB / 494.2 MB, free: 0.5391 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000318/0.4444, allocations: 161 kB / 494.4 MB, free: 392 kB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000378/0.4448, allocations: 240.8 kB / 494.6 MB, free: 120 kB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007522/0.4456, allocations: 407.5 kB / 495 MB, free: 15.7 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.4456, allocations: 7.938 kB / 495 MB, free: 15.69 MB / 378.7 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.001134/0.4468, allocations: 0.5714 MB / 495.6 MB, free: 15.1 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.449e-05/0.4468, allocations: 7.938 kB / 495.6 MB, free: 15.09 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.268e-06/0.4468, allocations: 4 kB / 495.6 MB, free: 15.09 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003207/0.4471, allocations: 105.6 kB / 495.7 MB, free: 14.98 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004715/0.4476, allocations: 107.9 kB / 495.8 MB, free: 14.88 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002777/0.4504, allocations: 3.294 MB / 499.1 MB, free: 11.31 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003923/0.4508, allocations: 27.92 kB / 499.1 MB, free: 11.29 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.415e-05/0.4509, allocations: 16 kB / 499.1 MB, free: 11.27 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 () * Number of clocked 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.0003271/0.4512, allocations: 185.7 kB / 499.3 MB, free: 11.08 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.338e-05/0.4513, allocations: 35.62 kB / 499.3 MB, free: 11.04 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.413e-05/0.4514, allocations: 51.73 kB / 499.4 MB, free: 10.98 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.372e-06/0.4514, allocations: 8.031 kB / 499.4 MB, free: 10.98 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.374e-05/0.4514, allocations: 4 kB / 499.4 MB, free: 10.97 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.333e-06/0.4514, allocations: 3.984 kB / 499.4 MB, free: 10.97 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001831/0.4533, allocations: 1.204 MB / 0.4889 GB, free: 9.699 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.06e-06/0.4533, allocations: 4 kB / 0.4889 GB, free: 9.695 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003633/0.4537, allocations: 87.94 kB / 0.489 GB, free: 9.609 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002585/0.4539, allocations: 101.6 kB / 0.4891 GB, free: 9.504 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.129e-05/0.454, allocations: 15.94 kB / 0.4891 GB, free: 9.488 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002656/0.4566, allocations: 3.28 MB / 0.4923 GB, free: 5.945 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/0.4567, allocations: 3.984 kB / 0.4923 GB, free: 5.941 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001481/0.4581, allocations: 0.8186 MB / 0.4931 GB, free: 5.094 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002065/0.4584, allocations: 148.6 kB / 0.4932 GB, free: 4.93 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.439e-05/0.4584, allocations: 8 kB / 0.4932 GB, free: 4.922 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003192/0.4587, allocations: 36.05 kB / 0.4933 GB, free: 4.887 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.758e-05/0.4588, allocations: 36.42 kB / 0.4933 GB, free: 4.852 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.225e-05/0.4589, allocations: 15.98 kB / 0.4933 GB, free: 4.836 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002252/0.4591, allocations: 209.9 kB / 0.4935 GB, free: 4.629 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4591, allocations: 0 / 0.4935 GB, free: 4.629 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0006481/0.4598, allocations: 123.9 kB / 0.4936 GB, free: 4.508 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 () * Number of clocked 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.0001639/0.4599, allocations: 119.1 kB / 0.4938 GB, free: 4.383 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.00128/0.4612, allocations: 0.6896 MB / 0.4944 GB, free: 3.664 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.4613, allocations: 0 / 0.4944 GB, free: 3.664 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007365/0.462, allocations: 0.5001 MB / 0.4949 GB, free: 3.141 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004886/0.4625, allocations: 52.56 kB / 0.495 GB, free: 3.09 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002067/0.4646, allocations: 1.282 MB / 0.4962 GB, free: 1.773 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004042/0.465, allocations: 0.8392 MB / 0.497 GB, free: 0.9102 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.000232/0.4652, allocations: 43.2 kB / 0.4971 GB, free: 0.8633 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.738e-05/0.4653, allocations: 35.42 kB / 0.4971 GB, free: 0.8281 MB / 378.7 MB Notification: Performance of SimCode: time 3.21e-07/0.4653, allocations: 0 / 0.4971 GB, free: 0.8281 MB / 378.7 MB Notification: Performance of Templates: time 0.206/0.6714, allocations: 4.542 MB / 0.5016 GB, free: 101.9 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)