Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.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.OpAmps.Differentiator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.Differentiator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008849/0.0008849, allocations: 93.8 kB / 16.3 MB, free: 5.996 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.001039/0.001039, allocations: 184 kB / 17.2 MB, free: 5.914 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.788/1.788, allocations: 205.4 MB / 223.4 MB, free: 5.555 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.0004669/0.0004671, allocations: 12 kB / 280.1 MB, free: 12.84 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3427/0.3432, allocations: 47.59 MB / 327.7 MB, free: 1.422 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Differentiator): time 0.002987/0.3463, allocations: 2.126 MB / 329.8 MB, free: 15.76 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001323/0.3476, allocations: 0.6807 MB / 330.5 MB, free: 15.21 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001425/0.3478, allocations: 4.188 kB / 330.5 MB, free: 15.21 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 6.938e-05/0.3479, allocations: 26.17 kB / 330.5 MB, free: 15.18 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002486/0.3482, allocations: 90.23 kB / 330.6 MB, free: 15.11 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003072/0.3485, allocations: 62.97 kB / 330.7 MB, free: 15.05 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004353/0.3489, allocations: 207.7 kB / 330.9 MB, free: 14.92 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002179/0.3492, allocations: 68.23 kB / 331 MB, free: 14.88 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000214/0.3494, allocations: 111.9 kB / 331.1 MB, free: 14.82 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000183/0.3496, allocations: 121.2 kB / 331.2 MB, free: 14.73 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 4.118e-05/0.3496, allocations: 14.53 kB / 331.2 MB, free: 14.73 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.716e-05/0.3497, allocations: 13.94 kB / 331.2 MB, free: 14.73 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 5.315e-05/0.3497, allocations: 45.88 kB / 331.3 MB, free: 14.7 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 8.086e-05/0.3498, allocations: 67.36 kB / 331.3 MB, free: 14.64 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00025/0.3501, allocations: 219.3 kB / 331.5 MB, free: 14.48 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.795e-06/0.3501, allocations: 0 / 331.5 MB, free: 14.48 MB / 270.1 MB Notification: Performance of FrontEnd: time 2.795e-06/0.3501, allocations: 0 / 331.5 MB, free: 14.48 MB / 270.1 MB Notification: Performance of Transformations before backend: time 7.784e-06/0.3501, allocations: 0.9375 kB / 331.5 MB, free: 14.48 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: 46 * Number of variables: 46 Notification: Performance of Generate backend data structure: time 0.001248/0.3514, allocations: 0.5921 MB / 332.1 MB, free: 13.95 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.742e-05/0.3514, allocations: 8.75 kB / 332.1 MB, free: 13.95 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001033/0.3515, allocations: 33.91 kB / 332.2 MB, free: 13.93 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003702/0.3519, allocations: 260.7 kB / 332.4 MB, free: 13.66 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.624e-05/0.352, allocations: 16.03 kB / 332.5 MB, free: 13.65 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.518e-05/0.352, allocations: 21.08 kB / 332.5 MB, free: 13.64 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006353/0.3527, allocations: 249.2 kB / 332.7 MB, free: 13.5 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.197e-05/0.3527, allocations: 0 / 332.7 MB, free: 13.5 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.88e-05/0.3527, allocations: 5.125 kB / 332.7 MB, free: 13.5 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.176e-05/0.3527, allocations: 5.188 kB / 332.7 MB, free: 13.5 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007836/0.3535, allocations: 280.8 kB / 333 MB, free: 13.38 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00153/0.3551, allocations: 0.8492 MB / 333.8 MB, free: 12.66 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008906/0.356, allocations: 278.2 kB / 334.1 MB, free: 12.53 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.528e-05/0.356, allocations: 1.312 kB / 334.1 MB, free: 12.53 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005209/0.3565, allocations: 181.5 kB / 334.3 MB, free: 12.4 MB / 270.1 MB Notification: Performance of pre-optimization done (n=13): time 1.693e-06/0.3565, allocations: 0 / 334.3 MB, free: 12.4 MB / 270.1 MB Notification: Performance of matching and sorting (n=13): time 0.001072/0.3576, allocations: 333.9 kB / 334.6 MB, free: 12.25 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.297e-05/0.3577, allocations: 83.61 kB / 334.7 MB, free: 12.15 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002642/0.358, allocations: 233.3 kB / 334.9 MB, free: 11.98 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 2.672e-05/0.358, allocations: 32.02 kB / 335 MB, free: 11.95 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001275/0.3581, allocations: 164.7 kB / 335.1 MB, free: 11.8 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.672e-05/0.3582, allocations: 48.7 kB / 335.2 MB, free: 11.75 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.036e-05/0.3582, allocations: 5.062 kB / 335.2 MB, free: 11.75 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001376/0.3584, allocations: 332.3 kB / 335.5 MB, free: 11.42 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003162/0.3587, allocations: 106 kB / 335.6 MB, free: 11.35 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003411/0.359, allocations: 159.2 kB / 335.8 MB, free: 11.17 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003221/0.3594, allocations: 133.6 kB / 335.9 MB, free: 11.03 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.913e-06/0.3594, allocations: 3.984 kB / 335.9 MB, free: 11.03 MB / 270.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0008166/0.3602, allocations: 337.8 kB / 336.2 MB, free: 10.69 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003879/0.3606, allocations: 0.6413 MB / 336.9 MB, free: 9.992 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.046e-05/0.3606, allocations: 7.984 kB / 336.9 MB, free: 9.984 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.037e-05/0.3606, allocations: 4 kB / 336.9 MB, free: 9.98 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002663/0.3609, allocations: 63.89 kB / 336.9 MB, free: 9.918 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.052e-05/0.3609, allocations: 4 kB / 336.9 MB, free: 9.914 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002859/0.3612, allocations: 47.81 kB / 337 MB, free: 9.867 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.226e-05/0.3613, allocations: 8 kB / 337 MB, free: 9.859 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.467e-06/0.3613, allocations: 4 kB / 337 MB, free: 9.855 MB / 270.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006123/0.3619, allocations: 277.4 kB / 337.3 MB, free: 9.578 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.478e-06/0.3619, allocations: 8.031 kB / 337.3 MB, free: 9.57 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.785e-06/0.3619, allocations: 0 / 337.3 MB, free: 9.57 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002062/0.3621, allocations: 55.97 kB / 337.3 MB, free: 9.516 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.067e-06/0.3622, allocations: 12.14 kB / 337.4 MB, free: 9.504 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000226/0.3624, allocations: 39.78 kB / 337.4 MB, free: 9.465 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.695e-05/0.3624, allocations: 15.94 kB / 337.4 MB, free: 9.449 MB / 270.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.vIn.signalSource.T_start,vIn.signalSource.T_start,$PRE.vIn.signalSource.count,vIn.signalSource.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (22): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001998/0.3626, allocations: 209.1 kB / 337.6 MB, free: 9.234 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.016e-05/0.3627, allocations: 15.81 kB / 337.6 MB, free: 9.219 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.685e-05/0.3627, allocations: 21.84 kB / 337.6 MB, free: 9.199 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.66e-06/0.3627, allocations: 7.984 kB / 337.7 MB, free: 9.191 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.225e-05/0.3628, allocations: 0 / 337.7 MB, free: 9.191 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.148e-05/0.3628, allocations: 3.953 kB / 337.7 MB, free: 9.188 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003319/0.3631, allocations: 289.3 kB / 337.9 MB, free: 8.855 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.3631, allocations: 4 kB / 337.9 MB, free: 8.852 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002233/0.3634, allocations: 55.95 kB / 338 MB, free: 8.797 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.284e-06/0.3634, allocations: 0 / 338 MB, free: 8.797 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.63e-05/0.3634, allocations: 0 / 338 MB, free: 8.797 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.979e-06/0.3634, allocations: 4 kB / 338 MB, free: 8.793 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.3634, allocations: 0 / 338 MB, free: 8.793 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009577/0.3644, allocations: 384.7 kB / 338.4 MB, free: 8.398 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.185e-05/0.3645, allocations: 104.8 kB / 338.5 MB, free: 8.277 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.981e-05/0.3645, allocations: 0 / 338.5 MB, free: 8.277 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002089/0.3647, allocations: 43.97 kB / 338.5 MB, free: 8.234 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.61e-05/0.3648, allocations: 23.95 kB / 338.5 MB, free: 8.211 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.769e-06/0.3648, allocations: 0 / 338.5 MB, free: 8.211 MB / 270.1 MB Notification: Performance of sorting global known variables: time 0.0001581/0.365, allocations: 172.5 kB / 338.7 MB, free: 8.043 MB / 270.1 MB Notification: Performance of sort global known variables: time 4.91e-07/0.365, allocations: 3.938 kB / 338.7 MB, free: 8.039 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0003909/0.3654, allocations: 103.7 kB / 338.8 MB, free: 7.938 MB / 270.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (c.v) * Number of discrete variables: 3 ($whenCondition1,vIn.signalSource.T_start,vIn.signalSource.count) * Number of discrete states: 1 (vIn.signalSource.count) * 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: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000147/0.3655, allocations: 99.2 kB / 338.9 MB, free: 7.832 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.001104/0.3667, allocations: 478.8 kB / 339.4 MB, free: 7.34 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.3667, allocations: 0 / 339.4 MB, free: 7.34 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002925/0.367, allocations: 112.2 kB / 339.5 MB, free: 7.23 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002677/0.3672, allocations: 36.42 kB / 339.5 MB, free: 7.195 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001057/0.3683, allocations: 0.5717 MB / 340.1 MB, free: 6.598 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003166/0.3686, allocations: 0.7404 MB / 340.8 MB, free: 5.832 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 0.0001179/0.3688, allocations: 25.94 kB / 340.9 MB, free: 5.809 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.182e-05/0.3688, allocations: 19.44 kB / 340.9 MB, free: 5.789 MB / 270.1 MB Notification: Performance of SimCode: time 5.51e-07/0.3688, allocations: 4 kB / 340.9 MB, free: 5.785 MB / 270.1 MB Notification: Performance of Templates: time 0.006195/0.375, allocations: 2.612 MB / 343.5 MB, free: 3.176 MB / 270.1 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.makefile Environment - environmentSimulation: (rm -f Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.pipe ; mkfifo Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.pipe >> ../files/Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.sim & ./Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.pipe 2>&1) Environment - environmentSimulation: