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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001396/0.001395, allocations: 96.52 kB / 16.5 MB, free: 6.648 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.001282/0.001282, allocations: 194.4 kB / 17.42 MB, free: 6.066 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.578/1.578, allocations: 205.1 MB / 223.3 MB, free: 12.46 MB / 190.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.001085/0.001085, allocations: 47.94 kB / 279.3 MB, free: 3.594 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09529/0.09639, allocations: 46.63 MB / 326 MB, free: 4.891 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ShowVariableResistor): time 0.004471/0.1009, allocations: 3.001 MB / 329 MB, free: 1.863 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001144/0.1021, allocations: 0.7176 MB / 329.7 MB, free: 1.137 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001373/0.1023, allocations: 4 kB / 329.7 MB, free: 1.133 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001958/0.1025, allocations: 43.69 kB / 329.7 MB, free: 1.09 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001751/0.1027, allocations: 91.22 kB / 329.8 MB, free: 1 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002992/0.103, allocations: 79.92 kB / 329.9 MB, free: 0.9219 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.00038/0.1034, allocations: 390.2 kB / 330.3 MB, free: 0.5391 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001926/0.1036, allocations: 95.64 kB / 330.4 MB, free: 460 kB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001728/0.1037, allocations: 135.5 kB / 330.5 MB, free: 324 kB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001584/0.1039, allocations: 147.3 kB / 330.6 MB, free: 176 kB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 4.225e-05/0.104, allocations: 28 kB / 330.7 MB, free: 148 kB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.172e-05/0.104, allocations: 20 kB / 330.7 MB, free: 128 kB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 6.537e-05/0.1041, allocations: 67.69 kB / 330.8 MB, free: 60 kB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000159/0.1042, allocations: 163.2 kB / 330.9 MB, free: 15.9 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000323/0.1046, allocations: 362.9 kB / 331.3 MB, free: 15.54 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.1046, allocations: 3.938 kB / 331.3 MB, free: 15.54 MB / 286.1 MB Notification: Performance of FrontEnd: time 9.21e-07/0.1046, allocations: 0 / 331.3 MB, free: 15.54 MB / 286.1 MB Notification: Performance of Transformations before backend: time 7.975e-06/0.1046, allocations: 4 kB / 331.3 MB, free: 15.54 MB / 286.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.0009836/0.1056, allocations: 0.6275 MB / 331.9 MB, free: 14.86 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.868e-05/0.1056, allocations: 15.95 kB / 331.9 MB, free: 14.84 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.068e-05/0.1057, allocations: 36.56 kB / 332 MB, free: 14.81 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002981/0.106, allocations: 279.5 kB / 332.2 MB, free: 14.5 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.132e-05/0.1061, allocations: 24.94 kB / 332.3 MB, free: 14.47 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.966e-05/0.1061, allocations: 28.38 kB / 332.3 MB, free: 14.45 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004978/0.1066, allocations: 265.1 kB / 332.5 MB, free: 14.18 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.558e-06/0.1066, allocations: 0 / 332.5 MB, free: 14.18 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.082e-05/0.1067, allocations: 16 kB / 332.6 MB, free: 14.16 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.194e-06/0.1067, allocations: 4 kB / 332.6 MB, free: 14.16 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004648/0.1071, allocations: 214.1 kB / 332.8 MB, free: 13.95 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001576/0.1087, allocations: 0.9794 MB / 333.7 MB, free: 12.9 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005288/0.1093, allocations: 299.8 kB / 334 MB, free: 12.58 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002186/0.1095, allocations: 108.8 kB / 334.1 MB, free: 12.47 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.423e-05/0.1095, allocations: 7.938 kB / 334.2 MB, free: 12.46 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.459e-05/0.1096, allocations: 34.56 kB / 334.2 MB, free: 12.42 MB / 286.1 MB Notification: Performance of pre-optimization done (n=21): time 1.242e-06/0.1096, allocations: 0 / 334.2 MB, free: 12.42 MB / 286.1 MB Notification: Performance of matching and sorting (n=21): time 0.001273/0.1108, allocations: 0.5559 MB / 334.7 MB, free: 11.82 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.263e-05/0.1109, allocations: 51.41 kB / 334.8 MB, free: 11.75 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002517/0.1111, allocations: 262.6 kB / 335 MB, free: 11.48 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.239e-05/0.1112, allocations: 37.64 kB / 335.1 MB, free: 11.44 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001034/0.1113, allocations: 179.9 kB / 335.3 MB, free: 11.26 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.41e-05/0.1114, allocations: 70.98 kB / 335.3 MB, free: 11.19 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.647e-05/0.1114, allocations: 49.84 kB / 335.4 MB, free: 11.13 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001144/0.1116, allocations: 330.8 kB / 335.7 MB, free: 10.8 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001999/0.1118, allocations: 76.42 kB / 335.8 MB, free: 10.73 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002073/0.112, allocations: 111.4 kB / 335.9 MB, free: 10.61 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000386/0.1124, allocations: 194.3 kB / 336.1 MB, free: 10.41 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.1124, allocations: 0 / 336.1 MB, free: 10.41 MB / 286.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.000636/0.113, allocations: 322.7 kB / 336.4 MB, free: 10.08 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.58e-05/0.1131, allocations: 4 kB / 336.4 MB, free: 10.08 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/0.1131, allocations: 0 / 336.4 MB, free: 10.08 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002651/0.1133, allocations: 81.72 kB / 336.5 MB, free: 9.992 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001863/0.1135, allocations: 31.98 kB / 336.5 MB, free: 9.961 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002247/0.1158, allocations: 2.838 MB / 339.3 MB, free: 6.855 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001896/0.116, allocations: 27.86 kB / 339.4 MB, free: 6.828 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.949e-05/0.116, allocations: 8 kB / 339.4 MB, free: 6.82 MB / 286.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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,4,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001559/0.1162, allocations: 138 kB / 339.5 MB, free: 6.676 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.072e-05/0.1162, allocations: 23.72 kB / 339.5 MB, free: 6.652 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.612e-05/0.1163, allocations: 34.17 kB / 339.6 MB, free: 6.621 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.845e-06/0.1163, allocations: 8.062 kB / 339.6 MB, free: 6.613 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.036e-05/0.1163, allocations: 11.88 kB / 339.6 MB, free: 6.602 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/0.1163, allocations: 3.984 kB / 339.6 MB, free: 6.598 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009888/0.1173, allocations: 0.6754 MB / 340.3 MB, free: 5.859 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.958e-06/0.1173, allocations: 4 kB / 340.3 MB, free: 5.855 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001388/0.1175, allocations: 23.97 kB / 340.3 MB, free: 5.832 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000185/0.1177, allocations: 77.61 kB / 340.4 MB, free: 5.75 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.52e-05/0.1177, allocations: 4 kB / 340.4 MB, free: 5.746 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002128/0.1198, allocations: 2.827 MB / 343.2 MB, free: 2.656 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.976e-06/0.1198, allocations: 0 / 343.2 MB, free: 2.656 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007518/0.1206, allocations: 385.5 kB / 343.6 MB, free: 2.258 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001116/0.1207, allocations: 112.7 kB / 343.7 MB, free: 2.129 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.27e-05/0.1208, allocations: 8 kB / 343.7 MB, free: 2.121 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002397/0.121, allocations: 27.97 kB / 343.7 MB, free: 2.094 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.505e-05/0.1211, allocations: 27.91 kB / 343.8 MB, free: 2.066 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.696e-05/0.1211, allocations: 8 kB / 343.8 MB, free: 2.059 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001974/0.1213, allocations: 186 kB / 343.9 MB, free: 1.875 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1213, allocations: 0 / 343.9 MB, free: 1.875 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0003794/0.1217, allocations: 87.84 kB / 344 MB, free: 1.789 MB / 286.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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,4,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001285/0.1218, allocations: 107.2 kB / 344.1 MB, free: 1.672 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0007005/0.1225, allocations: 445.1 kB / 344.6 MB, free: 1.211 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.1226, allocations: 0 / 344.6 MB, free: 1.211 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003868/0.123, allocations: 349.2 kB / 344.9 MB, free: 0.8438 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004423/0.1234, allocations: 52.47 kB / 345 MB, free: 0.793 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007973/0.1242, allocations: 0.6011 MB / 345.6 MB, free: 172 kB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003215/0.1245, allocations: 0.7639 MB / 346.3 MB, free: 15.38 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001103/0.1247, allocations: 26.23 kB / 346.3 MB, free: 15.35 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.694e-05/0.1247, allocations: 19.44 kB / 346.4 MB, free: 15.33 MB / 302.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1247, allocations: 0 / 346.4 MB, free: 15.33 MB / 302.1 MB Notification: Performance of Templates: time 0.006398/0.1311, allocations: 3.463 MB / 349.8 MB, free: 11.88 MB / 302.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)