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.001402/0.001402, allocations: 97.92 kB / 16.3 MB, free: 5.992 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.001684/0.001684, allocations: 181.6 kB / 17.19 MB, free: 5.906 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.654/1.654, allocations: 205.4 MB / 223.4 MB, free: 5.527 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.0004646/0.0004646, allocations: 14.81 kB / 280.1 MB, free: 12.86 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3296/0.3301, allocations: 47.58 MB / 327.7 MB, free: 1.434 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ShowVariableResistor): time 0.003047/0.3332, allocations: 2.367 MB / 330.1 MB, free: 15.58 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001275/0.3346, allocations: 0.7194 MB / 330.8 MB, free: 14.99 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001614/0.3347, allocations: 5.969 kB / 330.8 MB, free: 14.99 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 8.373e-05/0.3348, allocations: 35.19 kB / 330.8 MB, free: 14.96 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002831/0.3351, allocations: 130.9 kB / 330.9 MB, free: 14.85 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002895/0.3354, allocations: 72.69 kB / 331 MB, free: 14.79 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004755/0.3359, allocations: 275.5 kB / 331.3 MB, free: 14.62 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002525/0.3362, allocations: 72.36 kB / 331.4 MB, free: 14.58 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002891/0.3365, allocations: 132.3 kB / 331.5 MB, free: 14.51 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001968/0.3367, allocations: 139.4 kB / 331.6 MB, free: 14.42 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 4.813e-05/0.3367, allocations: 16.72 kB / 331.6 MB, free: 14.42 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.717e-05/0.3368, allocations: 17.16 kB / 331.7 MB, free: 14.42 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 6.712e-05/0.3369, allocations: 59.78 kB / 331.7 MB, free: 14.37 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 8.701e-05/0.337, allocations: 82.17 kB / 331.8 MB, free: 14.32 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003176/0.3373, allocations: 275.8 kB / 332.1 MB, free: 14.11 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.537e-06/0.3373, allocations: 0 / 332.1 MB, free: 14.11 MB / 270.1 MB Notification: Performance of FrontEnd: time 2.464e-06/0.3373, allocations: 1 kB / 332.1 MB, free: 14.11 MB / 270.1 MB Notification: Performance of Transformations before backend: time 7.333e-06/0.3373, allocations: 0 / 332.1 MB, free: 14.11 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.001138/0.3385, allocations: 0.5972 MB / 332.7 MB, free: 13.59 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.232e-05/0.3385, allocations: 12.19 kB / 332.7 MB, free: 13.59 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001129/0.3386, allocations: 35.81 kB / 332.7 MB, free: 13.57 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004291/0.3391, allocations: 268.7 kB / 333 MB, free: 13.3 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.668e-05/0.3391, allocations: 23.27 kB / 333 MB, free: 13.29 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.573e-05/0.3392, allocations: 33.42 kB / 333 MB, free: 13.27 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006013/0.3398, allocations: 258.7 kB / 333.3 MB, free: 13.12 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.347e-05/0.3398, allocations: 0 / 333.3 MB, free: 13.12 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.197e-05/0.3399, allocations: 15.03 kB / 333.3 MB, free: 13.11 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.766e-05/0.3399, allocations: 6.469 kB / 333.3 MB, free: 13.11 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005593/0.3405, allocations: 229.8 kB / 333.5 MB, free: 13.01 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00185/0.3423, allocations: 0.9922 MB / 334.5 MB, free: 12.21 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006007/0.3429, allocations: 300.8 kB / 334.8 MB, free: 12 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.478e-05/0.343, allocations: 3.25 kB / 334.8 MB, free: 12 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.821e-05/0.343, allocations: 41.28 kB / 334.9 MB, free: 11.96 MB / 270.1 MB Notification: Performance of pre-optimization done (n=21): time 1.523e-06/0.343, allocations: 4 kB / 334.9 MB, free: 11.95 MB / 270.1 MB Notification: Performance of matching and sorting (n=21): time 0.001473/0.3445, allocations: 0.576 MB / 335.4 MB, free: 11.53 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.145e-05/0.3446, allocations: 51.41 kB / 335.5 MB, free: 11.47 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002746/0.3448, allocations: 266.5 kB / 335.7 MB, free: 11.2 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 3.176e-05/0.3449, allocations: 25.7 kB / 335.8 MB, free: 11.17 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000136/0.345, allocations: 187.9 kB / 335.9 MB, free: 10.98 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.584e-05/0.3451, allocations: 70.98 kB / 336 MB, free: 10.91 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.377e-05/0.3451, allocations: 8 kB / 336 MB, free: 10.9 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.000126/0.3452, allocations: 330.8 kB / 336.3 MB, free: 10.57 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001974/0.3454, allocations: 88.36 kB / 336.4 MB, free: 10.48 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002179/0.3457, allocations: 115.5 kB / 336.5 MB, free: 10.36 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002075/0.3459, allocations: 91.91 kB / 336.6 MB, free: 10.27 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.448e-06/0.3459, allocations: 7.953 kB / 336.6 MB, free: 10.26 MB / 270.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0006295/0.3465, allocations: 334.8 kB / 337 MB, free: 9.922 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.618e-05/0.3466, allocations: 4 kB / 337 MB, free: 9.918 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.314e-06/0.3466, allocations: 4 kB / 337 MB, free: 9.914 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002933/0.3469, allocations: 77.66 kB / 337.1 MB, free: 9.832 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001954/0.3471, allocations: 39.92 kB / 337.1 MB, free: 9.793 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002421/0.3495, allocations: 2.858 MB / 340 MB, free: 6.672 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002355/0.3498, allocations: 32.56 kB / 340 MB, free: 6.641 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.207e-05/0.3498, allocations: 7.984 kB / 340 MB, free: 6.633 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.0001796/0.35, allocations: 137.8 kB / 340.1 MB, free: 6.488 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.473e-05/0.35, allocations: 27.72 kB / 340.2 MB, free: 6.461 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.605e-05/0.3501, allocations: 34.11 kB / 340.2 MB, free: 6.426 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.827e-06/0.3501, allocations: 8 kB / 340.2 MB, free: 6.418 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.378e-05/0.3501, allocations: 4 kB / 340.2 MB, free: 6.414 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.547e-06/0.3501, allocations: 3.938 kB / 340.2 MB, free: 6.41 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00111/0.3513, allocations: 0.7027 MB / 340.9 MB, free: 5.645 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.3513, allocations: 0 / 340.9 MB, free: 5.645 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000134/0.3514, allocations: 31.92 kB / 340.9 MB, free: 5.613 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001968/0.3516, allocations: 73.67 kB / 341 MB, free: 5.535 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.73e-05/0.3517, allocations: 4 kB / 341 MB, free: 5.531 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002231/0.3539, allocations: 2.854 MB / 343.9 MB, free: 2.414 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.3539, allocations: 0 / 343.9 MB, free: 2.414 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000644/0.3546, allocations: 393.6 kB / 344.3 MB, free: 2.008 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001167/0.3547, allocations: 104.8 kB / 344.4 MB, free: 1.887 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.429e-05/0.3547, allocations: 8 kB / 344.4 MB, free: 1.879 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002616/0.355, allocations: 39.97 kB / 344.4 MB, free: 1.84 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.683e-05/0.3551, allocations: 15.97 kB / 344.4 MB, free: 1.824 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.706e-05/0.3551, allocations: 8 kB / 344.4 MB, free: 1.816 MB / 270.1 MB Notification: Performance of sorting global known variables: time 0.0001848/0.3553, allocations: 189.9 kB / 344.6 MB, free: 1.633 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3553, allocations: 0 / 344.6 MB, free: 1.633 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0004439/0.3558, allocations: 99.7 kB / 344.7 MB, free: 1.535 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.0002071/0.356, allocations: 107.4 kB / 344.8 MB, free: 1.418 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.0007892/0.3568, allocations: 457.2 kB / 345.3 MB, free: 0.9453 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 2.846e-06/0.3568, allocations: 0 / 345.3 MB, free: 0.9453 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004356/0.3572, allocations: 369.2 kB / 345.6 MB, free: 0.5586 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003393/0.3576, allocations: 44.53 kB / 345.7 MB, free: 0.5156 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008994/0.3585, allocations: 0.5867 MB / 346.2 MB, free: 15.9 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003452/0.3588, allocations: 0.7717 MB / 347 MB, free: 15.1 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0001097/0.359, allocations: 26.28 kB / 347 MB, free: 15.08 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.835e-05/0.359, allocations: 19.38 kB / 347.1 MB, free: 15.06 MB / 286.1 MB Notification: Performance of SimCode: time 2.4e-07/0.359, allocations: 3.938 kB / 347.1 MB, free: 15.05 MB / 286.1 MB Notification: Performance of Templates: time 0.006994/0.366, allocations: 3.297 MB / 350.4 MB, free: 11.76 MB / 286.1 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.Analog.Examples.ShowVariableResistor.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: