Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Electrical.Analog.Examples.HeatingResistor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.HeatingResistor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Analog.Examples.HeatingResistor") translateModel(Modelica.Electrical.Analog.Examples.HeatingResistor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Analog.Examples.HeatingResistor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.002018/0.002018, allocations: 164.4 kB / 7.635 MB, free: 1.418 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.247/1.247, allocations: 170.6 MB / 178.7 MB, free: 15.58 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001616/0.001616, allocations: 111.4 kB / 218 MB, free: 8.34 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 1.536e-05/1.54e-05, allocations: 0 / 262.2 MB, free: 26.39 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06782/0.06785, allocations: 38.77 MB / 301 MB, free: 3.633 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2575/0.3254, allocations: 67.06 MB / 368 MB, free: 1.363 MB / 250.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002333/0.3257, allocations: 64.34 kB / 368.1 MB, free: 1.332 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.006471/0.3322, allocations: 2.713 MB / 370.8 MB, free: 15.04 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.123e-06/0.3322, allocations: 0 / 370.8 MB, free: 15.04 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.124e-05/0.3322, allocations: 4 kB / 370.8 MB, free: 15.04 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.0004479/0.3327, allocations: 403 kB / 371.2 MB, free: 14.6 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.036e-05/0.3327, allocations: 8.031 kB / 371.2 MB, free: 14.59 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.553e-05/0.3328, allocations: 15.81 kB / 371.2 MB, free: 14.58 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002329/0.3331, allocations: 213.4 kB / 371.4 MB, free: 14.34 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.119e-05/0.3331, allocations: 3.984 kB / 371.4 MB, free: 14.34 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.877e-05/0.3331, allocations: 11.95 kB / 371.5 MB, free: 14.32 MB / 266.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001381/0.3332, allocations: 61.34 kB / 371.5 MB, free: 14.29 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001749/0.3334, allocations: 95.31 kB / 371.6 MB, free: 14.21 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.089e-05/0.3334, allocations: 0 / 371.6 MB, free: 14.21 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.623e-05/0.3335, allocations: 0 / 371.6 MB, free: 14.21 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.613e-06/0.3335, allocations: 8 kB / 371.6 MB, free: 14.2 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007366/0.3342, allocations: 0.4892 MB / 372.1 MB, free: 13.73 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002546/0.3345, allocations: 79.3 kB / 372.2 MB, free: 13.66 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.002e-05/0.3346, allocations: 28.89 kB / 372.2 MB, free: 13.63 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.322e-05/0.3346, allocations: 0 / 372.2 MB, free: 13.63 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.567e-05/0.3346, allocations: 34.56 kB / 372.2 MB, free: 13.59 MB / 266.7 MB Notification: Performance of pre-optimization done (n=6): time 8.02e-07/0.3346, allocations: 0 / 372.2 MB, free: 13.59 MB / 266.7 MB Notification: Performance of matching and sorting (n=6): time 0.0002942/0.3349, allocations: 109.6 kB / 372.4 MB, free: 13.49 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.377e-05/0.335, allocations: 53.05 kB / 372.4 MB, free: 13.43 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001072/0.3351, allocations: 133.8 kB / 372.5 MB, free: 13.3 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.418e-05/0.3351, allocations: 25.7 kB / 372.6 MB, free: 13.27 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.392e-05/0.3352, allocations: 130 kB / 372.7 MB, free: 13.15 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.492e-05/0.3352, allocations: 15.34 kB / 372.7 MB, free: 13.14 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.589e-06/0.3352, allocations: 0 / 372.7 MB, free: 13.14 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001261/0.3353, allocations: 325.8 kB / 373 MB, free: 12.81 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.062e-05/0.3354, allocations: 20.69 kB / 373 MB, free: 12.8 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.432e-05/0.3354, allocations: 35.95 kB / 373.1 MB, free: 12.76 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.088e-05/0.3355, allocations: 21.86 kB / 373.1 MB, free: 12.75 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.667e-06/0.3355, allocations: 4 kB / 373.1 MB, free: 12.75 MB / 266.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002153/0.3357, allocations: 114.6 kB / 373.2 MB, free: 12.64 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.221e-05/0.3357, allocations: 8 kB / 373.2 MB, free: 12.63 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.3357, allocations: 0 / 373.2 MB, free: 12.63 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001912/0.3359, allocations: 50.39 kB / 373.3 MB, free: 12.59 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.272e-05/0.336, allocations: 10.62 kB / 373.3 MB, free: 12.58 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001189/0.3372, allocations: 1.44 MB / 374.7 MB, free: 11.12 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.708e-05/0.3373, allocations: 4.031 kB / 374.7 MB, free: 11.12 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.044e-05/0.3373, allocations: 4 kB / 374.7 MB, free: 11.11 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 4 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 4} Notification: Performance of prepare postOptimizeDAE: time 8.208e-05/0.3374, allocations: 110.1 kB / 374.8 MB, free: 11 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.044e-05/0.3374, allocations: 15.86 kB / 374.9 MB, free: 10.98 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.251e-05/0.3375, allocations: 15.61 kB / 374.9 MB, free: 10.98 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.726e-06/0.3375, allocations: 4 kB / 374.9 MB, free: 10.97 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.052e-06/0.3375, allocations: 0 / 374.9 MB, free: 10.97 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.3375, allocations: 0 / 374.9 MB, free: 10.97 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001777/0.3377, allocations: 176.3 kB / 375 MB, free: 10.78 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.168e-06/0.3377, allocations: 7.984 kB / 375 MB, free: 10.77 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.571e-05/0.3377, allocations: 4 kB / 375.1 MB, free: 10.77 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001109/0.3378, allocations: 35.53 kB / 375.1 MB, free: 10.74 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.018e-05/0.3379, allocations: 3.953 kB / 375.1 MB, free: 10.73 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001071/0.3389, allocations: 1.437 MB / 376.5 MB, free: 9.273 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.3389, allocations: 0 / 376.5 MB, free: 9.273 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002336/0.3392, allocations: 206 kB / 376.7 MB, free: 9.074 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.848e-05/0.3393, allocations: 96.73 kB / 376.8 MB, free: 8.965 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.267e-05/0.3393, allocations: 0 / 376.8 MB, free: 8.965 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001018/0.3394, allocations: 16.23 kB / 376.8 MB, free: 8.949 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.456e-05/0.3394, allocations: 7.984 kB / 376.8 MB, free: 8.941 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.386e-05/0.3394, allocations: 4 kB / 376.9 MB, free: 8.938 MB / 266.7 MB Notification: Performance of sorting global known variables: time 6.324e-05/0.3395, allocations: 101.7 kB / 377 MB, free: 8.848 MB / 266.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.3395, allocations: 2.078 kB / 377 MB, free: 8.848 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003517/0.3399, allocations: 32 kB / 377 MB, free: 8.816 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 1 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001086/0.34, allocations: 107.2 kB / 377.1 MB, free: 8.703 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002929/0.3403, allocations: 165.4 kB / 377.3 MB, free: 8.551 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.3403, allocations: 0 / 377.3 MB, free: 8.551 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001545/0.3405, allocations: 142.2 kB / 377.4 MB, free: 8.414 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002109/0.3407, allocations: 16.97 kB / 377.4 MB, free: 8.402 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002981/0.341, allocations: 144.2 kB / 377.5 MB, free: 8.25 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002756/0.3413, allocations: 0.7118 MB / 378.3 MB, free: 7.512 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 5.341e-05/0.3413, allocations: 8.422 kB / 378.3 MB, free: 7.5 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.223e-05/0.3414, allocations: 14.19 kB / 378.3 MB, free: 7.492 MB / 266.7 MB Notification: Performance of SimCode: time 2.2e-07/0.3414, allocations: 4 kB / 378.3 MB, free: 7.488 MB / 266.7 MB Notification: Performance of Templates: time 0.003501/0.3449, allocations: 1.232 MB / 379.5 MB, free: 6.266 MB / 266.7 MB make -j1 -f Modelica_3.2.1_Modelica.Electrical.Analog.Examples.HeatingResistor.makefile (rm -f Modelica_3.2.1_Modelica.Electrical.Analog.Examples.HeatingResistor.pipe ; mkfifo Modelica_3.2.1_Modelica.Electrical.Analog.Examples.HeatingResistor.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Electrical.Analog.Examples.HeatingResistor.pipe >> ../files/Modelica_3.2.1_Modelica.Electrical.Analog.Examples.HeatingResistor.sim & ./Modelica_3.2.1_Modelica.Electrical.Analog.Examples.HeatingResistor -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Electrical.Analog.Examples.HeatingResistor.pipe 2>&1)