Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.1_Modelica.Electrical.Analog.Examples.ShowVariableResistor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/Modelica 3.2.3+maint.om/package.mo", uses=false) 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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.ShowVariableResistor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Electrical.Analog.Examples.ShowVariableResistor") translateModel(Modelica.Electrical.Analog.Examples.ShowVariableResistor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Electrical.Analog.Examples.ShowVariableResistor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001317/0.001317, allocations: 99.78 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001531/0.00153, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.662/1.662, allocations: 205.4 MB / 222.1 MB, free: 5.656 MB / 174.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0007193/0.0007199, allocations: 12 kB / 278.9 MB, free: 12.84 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3504/0.3512, allocations: 47.59 MB / 326.4 MB, free: 1.617 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ShowVariableResistor): time 0.003808/0.355, allocations: 2.358 MB / 328.8 MB, free: 15.77 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002317/0.3574, allocations: 0.7204 MB / 329.5 MB, free: 15.18 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006152/0.3581, allocations: 8.156 kB / 329.5 MB, free: 15.18 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002634/0.3584, allocations: 32.81 kB / 329.6 MB, free: 15.15 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007343/0.3591, allocations: 135 kB / 329.7 MB, free: 15.04 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004624/0.3596, allocations: 64.02 kB / 329.8 MB, free: 14.98 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008966/0.3605, allocations: 279.2 kB / 330 MB, free: 14.81 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003343/0.3609, allocations: 76.78 kB / 330.1 MB, free: 14.77 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004489/0.3613, allocations: 136.8 kB / 330.2 MB, free: 14.7 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003996/0.3617, allocations: 138 kB / 330.4 MB, free: 14.61 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001058/0.3619, allocations: 16.66 kB / 330.4 MB, free: 14.61 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001314/0.362, allocations: 16.59 kB / 330.4 MB, free: 14.61 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001068/0.3621, allocations: 52.44 kB / 330.5 MB, free: 14.56 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001686/0.3623, allocations: 91.05 kB / 330.5 MB, free: 14.5 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004529/0.3628, allocations: 275.2 kB / 330.8 MB, free: 14.3 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.583e-06/0.3628, allocations: 1.031 kB / 330.8 MB, free: 14.3 MB / 270.1 MB Notification: Performance of FrontEnd: time 2.475e-06/0.3628, allocations: 0 / 330.8 MB, free: 14.3 MB / 270.1 MB Notification: Performance of Transformations before backend: time 2.463e-05/0.3628, allocations: 0 / 330.8 MB, free: 14.3 MB / 270.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.00147/0.3643, allocations: 0.5891 MB / 331.4 MB, free: 13.79 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.398e-05/0.3644, allocations: 13.67 kB / 331.4 MB, free: 13.78 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000156/0.3645, allocations: 35.06 kB / 331.5 MB, free: 13.77 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004726/0.365, allocations: 265 kB / 331.7 MB, free: 13.5 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.768e-05/0.3651, allocations: 31.61 kB / 331.7 MB, free: 13.48 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.07e-05/0.3651, allocations: 25.12 kB / 331.8 MB, free: 13.47 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006336/0.3658, allocations: 261.4 kB / 332 MB, free: 13.31 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.17e-05/0.3658, allocations: 1.375 kB / 332 MB, free: 13.31 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.228e-05/0.3658, allocations: 10.94 kB / 332 MB, free: 13.3 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.406e-05/0.3659, allocations: 5.844 kB / 332 MB, free: 13.3 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007788/0.3667, allocations: 242.6 kB / 332.3 MB, free: 13.19 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002574/0.3692, allocations: 0.9879 MB / 333.3 MB, free: 12.4 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008094/0.3701, allocations: 300.9 kB / 333.6 MB, free: 12.19 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.391e-05/0.3701, allocations: 2.281 kB / 333.6 MB, free: 12.19 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.595e-05/0.3702, allocations: 40.73 kB / 333.6 MB, free: 12.14 MB / 270.1 MB Notification: Performance of pre-optimization done (n=21): time 2.966e-06/0.3702, allocations: 4 kB / 333.6 MB, free: 12.14 MB / 270.1 MB Notification: Performance of matching and sorting (n=21): time 0.001871/0.3721, allocations: 0.5772 MB / 334.2 MB, free: 11.66 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.689e-05/0.3722, allocations: 55.39 kB / 334.2 MB, free: 11.59 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004226/0.3726, allocations: 258.5 kB / 334.5 MB, free: 11.33 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 4.417e-05/0.3726, allocations: 29.7 kB / 334.5 MB, free: 11.29 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001943/0.3729, allocations: 183.9 kB / 334.7 MB, free: 11.11 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.929e-05/0.3729, allocations: 71 kB / 334.8 MB, free: 11.04 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.828e-05/0.373, allocations: 8 kB / 334.8 MB, free: 11.03 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001766/0.3732, allocations: 330.8 kB / 335.1 MB, free: 10.7 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002799/0.3735, allocations: 84.42 kB / 335.2 MB, free: 10.61 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003412/0.3738, allocations: 120.1 kB / 335.3 MB, free: 10.49 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003246/0.3741, allocations: 95.86 kB / 335.4 MB, free: 10.39 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.76e-06/0.3742, allocations: 3.953 kB / 335.4 MB, free: 10.39 MB / 270.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0008874/0.3751, allocations: 338.8 kB / 335.7 MB, free: 10.05 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.409e-05/0.3751, allocations: 7.984 kB / 335.7 MB, free: 10.04 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.327e-06/0.3751, allocations: 7.938 kB / 335.7 MB, free: 10.03 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003721/0.3755, allocations: 69.67 kB / 335.8 MB, free: 9.957 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002666/0.3758, allocations: 47.91 kB / 335.9 MB, free: 9.91 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002842/0.3786, allocations: 2.854 MB / 338.7 MB, free: 6.793 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003103/0.379, allocations: 31.8 kB / 338.7 MB, free: 6.762 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.244e-05/0.379, allocations: 7.938 kB / 338.7 MB, free: 6.754 MB / 270.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 () * Number of clocked 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 0.0002133/0.3792, allocations: 137.8 kB / 338.9 MB, free: 6.609 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.996e-05/0.3793, allocations: 27.72 kB / 338.9 MB, free: 6.582 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.139e-05/0.3794, allocations: 34.23 kB / 338.9 MB, free: 6.547 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.508e-06/0.3794, allocations: 4 kB / 338.9 MB, free: 6.543 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.631e-05/0.3794, allocations: 0 / 338.9 MB, free: 6.543 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.478e-06/0.3794, allocations: 3.938 kB / 339 MB, free: 6.539 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001434/0.3809, allocations: 0.7027 MB / 339.7 MB, free: 5.773 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.918e-06/0.3809, allocations: 0 / 339.7 MB, free: 5.773 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001791/0.3811, allocations: 27.98 kB / 339.7 MB, free: 5.746 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002598/0.3813, allocations: 77.59 kB / 339.8 MB, free: 5.664 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.394e-05/0.3814, allocations: 8 kB / 339.8 MB, free: 5.656 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00277/0.3842, allocations: 2.851 MB / 342.6 MB, free: 2.543 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.155e-06/0.3842, allocations: 0 / 342.6 MB, free: 2.543 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008158/0.385, allocations: 397.6 kB / 343 MB, free: 2.133 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001054/0.3851, allocations: 104.8 kB / 343.1 MB, free: 2.012 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.156e-05/0.3852, allocations: 8 kB / 343.1 MB, free: 2.004 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003498/0.3855, allocations: 35.97 kB / 343.2 MB, free: 1.969 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.002e-05/0.3856, allocations: 19.97 kB / 343.2 MB, free: 1.949 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.346e-05/0.3857, allocations: 8 kB / 343.2 MB, free: 1.941 MB / 270.1 MB Notification: Performance of sorting global known variables: time 0.0002465/0.3859, allocations: 186 kB / 343.4 MB, free: 1.762 MB / 270.1 MB Notification: Performance of sort global known variables: time 2.71e-07/0.3859, allocations: 4 kB / 343.4 MB, free: 1.758 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0006234/0.3866, allocations: 95.7 kB / 343.5 MB, free: 1.664 MB / 270.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 () * Number of clocked 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.0001908/0.3868, allocations: 115.2 kB / 343.6 MB, free: 1.539 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.001035/0.3878, allocations: 449.2 kB / 344 MB, free: 1.074 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 3.486e-06/0.3878, allocations: 0 / 344 MB, free: 1.074 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005748/0.3884, allocations: 369.2 kB / 344.4 MB, free: 0.6875 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004647/0.3889, allocations: 44.48 kB / 344.4 MB, free: 0.6445 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001191/0.3901, allocations: 0.5944 MB / 345 MB, free: 24 kB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000416/0.3905, allocations: 0.7717 MB / 345.8 MB, free: 15.22 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0001664/0.3907, allocations: 26.28 kB / 345.8 MB, free: 15.2 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.582e-05/0.3908, allocations: 15.44 kB / 345.8 MB, free: 15.18 MB / 286.1 MB Notification: Performance of SimCode: time 6.41e-07/0.3908, allocations: 0 / 345.8 MB, free: 15.18 MB / 286.1 MB Notification: Performance of Templates: time 0.009609/0.4004, allocations: 3.297 MB / 349.1 MB, free: 11.89 MB / 286.1 MB make -j1 -f Modelica_3.1_Modelica.Electrical.Analog.Examples.ShowVariableResistor.makefile Environment - environmentSimulation: (rm -f Modelica_3.1_Modelica.Electrical.Analog.Examples.ShowVariableResistor.pipe ; mkfifo Modelica_3.1_Modelica.Electrical.Analog.Examples.ShowVariableResistor.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Electrical.Analog.Examples.ShowVariableResistor.pipe >> ../files/Modelica_3.1_Modelica.Electrical.Analog.Examples.ShowVariableResistor.sim & ./Modelica_3.1_Modelica.Electrical.Analog.Examples.ShowVariableResistor -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Electrical.Analog.Examples.ShowVariableResistor.pipe 2>&1) Environment - environmentSimulation: