Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Electrical.Analog.Examples.ShowVariableResistor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.ShowVariableResistor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Analog.Examples.ShowVariableResistor") translateModel(Modelica.Electrical.Analog.Examples.ShowVariableResistor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Analog.Examples.ShowVariableResistor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001519/0.00152, allocations: 188.6 kB / 8.353 MB, free: 0.707 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.369/1.369, allocations: 194.3 MB / 203.1 MB, free: 9.32 MB / 171.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001706/0.001706, allocations: 120.4 kB / 248.1 MB, free: 6.332 MB / 203.1 MB Notification: Performance of FrontEnd - loaded program: time 2.062e-05/2.066e-05, allocations: 4 kB / 298.1 MB, free: 8.254 MB / 251.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1088/0.1088, allocations: 44.49 MB / 342.6 MB, free: 11.66 MB / 299.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.33/0.4388, allocations: 72.45 MB / 415 MB, free: 23.37 MB / 315.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000214/0.4391, allocations: 73.56 kB / 415.1 MB, free: 23.34 MB / 315.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.01185/0.451, allocations: 4.866 MB / 420 MB, free: 19.25 MB / 315.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.451, allocations: 0 / 420 MB, free: 19.25 MB / 315.1 MB Notification: Performance of Transformations before backend: time 2.003e-05/0.451, allocations: 8 kB / 420 MB, free: 19.25 MB / 315.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 67 * Number of variables: 67 Notification: Performance of Generate backend data structure: time 0.0007205/0.4518, allocations: 0.5561 MB / 420.5 MB, free: 18.67 MB / 315.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.043e-05/0.4518, allocations: 12.03 kB / 420.5 MB, free: 18.66 MB / 315.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.667e-05/0.4519, allocations: 37.25 kB / 420.6 MB, free: 18.62 MB / 315.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003238/0.4523, allocations: 264.3 kB / 420.8 MB, free: 18.34 MB / 315.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.835e-05/0.4523, allocations: 11.27 kB / 420.8 MB, free: 18.34 MB / 315.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.284e-05/0.4523, allocations: 16 kB / 420.9 MB, free: 18.32 MB / 315.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000292/0.4526, allocations: 163.3 kB / 421 MB, free: 18.22 MB / 315.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000331/0.453, allocations: 198 kB / 421.2 MB, free: 18.07 MB / 315.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.223e-05/0.453, allocations: 0 / 421.2 MB, free: 18.07 MB / 315.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.898e-05/0.453, allocations: 0 / 421.2 MB, free: 18.07 MB / 315.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.556e-06/0.453, allocations: 5.688 kB / 421.2 MB, free: 18.07 MB / 315.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001425/0.4545, allocations: 0.9335 MB / 422.1 MB, free: 17.23 MB / 315.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003277/0.4548, allocations: 192.8 kB / 422.3 MB, free: 17.11 MB / 315.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000155/0.455, allocations: 94.16 kB / 422.4 MB, free: 17.04 MB / 315.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.182e-05/0.455, allocations: 4.188 kB / 422.4 MB, free: 17.04 MB / 315.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.669e-05/0.455, allocations: 42.3 kB / 422.5 MB, free: 16.99 MB / 315.1 MB Notification: Performance of pre-optimization done (n=21): time 1.643e-06/0.455, allocations: 0 / 422.5 MB, free: 16.99 MB / 315.1 MB Notification: Performance of matching and sorting (n=21): time 0.0004657/0.4555, allocations: 219.4 kB / 422.7 MB, free: 16.81 MB / 315.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.94e-05/0.4556, allocations: 55.41 kB / 422.7 MB, free: 16.74 MB / 315.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001645/0.4557, allocations: 202.6 kB / 422.9 MB, free: 16.58 MB / 315.1 MB Notification: Performance of collectPreVariables (initialization): time 2.026e-05/0.4558, allocations: 29.7 kB / 423 MB, free: 16.55 MB / 315.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.59e-05/0.4558, allocations: 189.2 kB / 423.2 MB, free: 16.39 MB / 315.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.503e-05/0.4559, allocations: 69.25 kB / 423.2 MB, free: 16.33 MB / 315.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.162e-05/0.4559, allocations: 4 kB / 423.2 MB, free: 16.32 MB / 315.1 MB Notification: Performance of setup shared object (initialization): time 6.619e-05/0.456, allocations: 340 kB / 423.6 MB, free: 16 MB / 315.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.203e-05/0.4561, allocations: 54.72 kB / 423.6 MB, free: 15.96 MB / 315.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.223e-05/0.4562, allocations: 72.78 kB / 423.7 MB, free: 15.91 MB / 315.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.936e-05/0.4563, allocations: 65.97 kB / 423.7 MB, free: 15.87 MB / 315.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.4563, allocations: 0 / 423.7 MB, free: 15.87 MB / 315.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0003801/0.4567, allocations: 266.7 kB / 424 MB, free: 15.65 MB / 315.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.777e-05/0.4567, allocations: 5.688 kB / 424 MB, free: 15.64 MB / 315.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.793e-06/0.4567, allocations: 4 kB / 424 MB, free: 15.64 MB / 315.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002653/0.457, allocations: 75.48 kB / 424.1 MB, free: 15.58 MB / 315.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001905/0.4572, allocations: 39.92 kB / 424.1 MB, free: 15.54 MB / 315.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00154/0.4587, allocations: 2.713 MB / 426.8 MB, free: 12.79 MB / 315.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001951/0.4589, allocations: 26.09 kB / 426.9 MB, free: 12.77 MB / 315.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.93e-05/0.459, allocations: 11.98 kB / 426.9 MB, free: 12.75 MB / 315.1 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 (20): * Single equations (assignments): 18 * 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%) 4,(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.027e-05/0.459, allocations: 108.7 kB / 427 MB, free: 12.64 MB / 315.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.683e-05/0.4591, allocations: 24.44 kB / 427 MB, free: 12.62 MB / 315.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.576e-05/0.4592, allocations: 33.22 kB / 427 MB, free: 12.61 MB / 315.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.176e-06/0.4592, allocations: 3.984 kB / 427 MB, free: 12.6 MB / 315.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.576e-06/0.4592, allocations: 4 kB / 427 MB, free: 12.6 MB / 315.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.4592, allocations: 3.938 kB / 427.1 MB, free: 12.59 MB / 315.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006274/0.4598, allocations: 0.5808 MB / 427.6 MB, free: 12.07 MB / 315.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.985e-06/0.4598, allocations: 4 kB / 427.6 MB, free: 12.07 MB / 315.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001278/0.46, allocations: 29.28 kB / 427.7 MB, free: 12.04 MB / 315.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001601/0.4601, allocations: 69.31 kB / 427.7 MB, free: 11.98 MB / 315.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.379e-05/0.4602, allocations: 3.812 kB / 427.7 MB, free: 11.98 MB / 315.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001354/0.4615, allocations: 2.703 MB / 430.4 MB, free: 9.227 MB / 315.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/0.4615, allocations: 0 / 430.4 MB, free: 9.227 MB / 315.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003594/0.4619, allocations: 330.1 kB / 430.8 MB, free: 8.934 MB / 315.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.052e-05/0.462, allocations: 100.8 kB / 430.9 MB, free: 8.816 MB / 315.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.841e-05/0.462, allocations: 0 / 430.9 MB, free: 8.816 MB / 315.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002468/0.4623, allocations: 35.97 kB / 430.9 MB, free: 8.781 MB / 315.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.37e-05/0.4623, allocations: 19.91 kB / 430.9 MB, free: 8.766 MB / 315.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.38e-05/0.4623, allocations: 13.31 kB / 430.9 MB, free: 8.754 MB / 315.1 MB Notification: Performance of sorting global known variables: time 0.0001026/0.4625, allocations: 163.3 kB / 431.1 MB, free: 8.621 MB / 315.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.4625, allocations: 0 / 431.1 MB, free: 8.621 MB / 315.1 MB Notification: Performance of remove unused functions: time 0.0003623/0.4628, allocations: 83.75 kB / 431.2 MB, free: 8.539 MB / 315.1 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 (13): * Single equations (assignments): 11 * 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%) 4,(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001102/0.4629, allocations: 107.5 kB / 431.3 MB, free: 8.43 MB / 315.1 MB Notification: Performance of simCode: created initialization part: time 0.0004434/0.4634, allocations: 373 kB / 431.6 MB, free: 8.102 MB / 315.1 MB Notification: Performance of simCode: created event and clocks part: time 3.447e-06/0.4634, allocations: 4 kB / 431.6 MB, free: 8.098 MB / 315.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002418/0.4637, allocations: 314 kB / 431.9 MB, free: 7.809 MB / 315.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002865/0.464, allocations: 34.92 kB / 432 MB, free: 7.785 MB / 315.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006104/0.4646, allocations: 300.4 kB / 432.3 MB, free: 7.504 MB / 315.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001659/0.4648, allocations: 0.7717 MB / 433 MB, free: 6.707 MB / 315.1 MB Notification: Performance of simCode: alias equations: time 0.0001218/0.4649, allocations: 22.06 kB / 433.1 MB, free: 6.684 MB / 315.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.378e-05/0.4649, allocations: 19.42 kB / 433.1 MB, free: 6.664 MB / 315.1 MB Notification: Performance of SimCode: time 4.01e-07/0.4649, allocations: 0 / 433.1 MB, free: 6.664 MB / 315.1 MB Notification: Performance of Templates: time 0.006306/0.4712, allocations: 2.801 MB / 435.9 MB, free: 3.941 MB / 315.1 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.Analog.Examples.ShowVariableResistor.makefile (rm -f Modelica_3.2.2_Modelica.Electrical.Analog.Examples.ShowVariableResistor.pipe ; mkfifo Modelica_3.2.2_Modelica.Electrical.Analog.Examples.ShowVariableResistor.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Electrical.Analog.Examples.ShowVariableResistor.pipe >> ../files/Modelica_3.2.2_Modelica.Electrical.Analog.Examples.ShowVariableResistor.sim & ./Modelica_3.2.2_Modelica.Electrical.Analog.Examples.ShowVariableResistor -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Electrical.Analog.Examples.ShowVariableResistor.pipe 2>&1)