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.001738/0.001738, allocations: 111.7 kB / 17.06 MB, free: 6 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.001924/0.001925, allocations: 194.9 kB / 18 MB, free: 5.078 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.618/1.618, allocations: 205.1 MB / 223.9 MB, free: 12.24 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.001402/0.001402, allocations: 51.94 kB / 327.9 MB, free: 3.266 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1223/0.1237, allocations: 46.61 MB / 374.5 MB, free: 4.543 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Differentiator): time 0.004416/0.1281, allocations: 2.601 MB / 377.1 MB, free: 1.926 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001649/0.1298, allocations: 0.7096 MB / 377.8 MB, free: 1.207 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001607/0.13, allocations: 0 / 377.8 MB, free: 1.207 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002038/0.1303, allocations: 39.58 kB / 377.9 MB, free: 1.168 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002139/0.1305, allocations: 83.33 kB / 377.9 MB, free: 1.086 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003263/0.1308, allocations: 95.81 kB / 378 MB, free: 0.9922 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004001/0.1312, allocations: 334.5 kB / 378.4 MB, free: 0.6641 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002338/0.1315, allocations: 84.69 kB / 378.4 MB, free: 0.582 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002253/0.1317, allocations: 127.5 kB / 378.6 MB, free: 468 kB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001909/0.1319, allocations: 139.4 kB / 378.7 MB, free: 328 kB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.805e-05/0.132, allocations: 32 kB / 378.7 MB, free: 296 kB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.584e-05/0.132, allocations: 28 kB / 378.8 MB, free: 268 kB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.793e-05/0.1321, allocations: 63.7 kB / 378.8 MB, free: 204 kB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001344/0.1322, allocations: 131.4 kB / 379 MB, free: 72 kB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2707/0.403, allocations: 295.5 kB / 379.2 MB, free: 10.46 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.734e-06/0.403, allocations: 0.8906 kB / 379.2 MB, free: 10.46 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.823e-06/0.403, allocations: 1.281 kB / 379.2 MB, free: 10.46 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.726e-06/0.4031, allocations: 0 / 379.2 MB, free: 10.46 MB / 318.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.001285/0.4043, allocations: 0.6143 MB / 379.9 MB, free: 9.996 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.294e-05/0.4044, allocations: 11.09 kB / 379.9 MB, free: 9.996 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.524e-05/0.4045, allocations: 32.53 kB / 379.9 MB, free: 9.984 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004164/0.4049, allocations: 264.2 kB / 380.2 MB, free: 9.766 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.032e-05/0.4049, allocations: 12.5 kB / 380.2 MB, free: 9.766 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.814e-05/0.405, allocations: 21.17 kB / 380.2 MB, free: 9.766 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00062/0.4056, allocations: 237.7 kB / 380.4 MB, free: 9.73 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.341e-05/0.4056, allocations: 7.094 kB / 380.4 MB, free: 9.727 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.088e-05/0.4057, allocations: 8.594 kB / 380.4 MB, free: 9.727 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.069e-05/0.4057, allocations: 4.781 kB / 380.4 MB, free: 9.727 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008639/0.4066, allocations: 241.7 kB / 380.7 MB, free: 9.723 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001687/0.4083, allocations: 0.8139 MB / 381.5 MB, free: 9.332 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001124/0.4094, allocations: 231.7 kB / 381.7 MB, free: 9.309 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003256/0.4097, allocations: 95.12 kB / 381.8 MB, free: 9.301 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.282e-05/0.4098, allocations: 1.375 kB / 381.8 MB, free: 9.301 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000565/0.4104, allocations: 161.6 kB / 382 MB, free: 9.238 MB / 318.1 MB Notification: Performance of pre-optimization done (n=13): time 2.204e-06/0.4104, allocations: 4.25 kB / 382 MB, free: 9.238 MB / 318.1 MB Notification: Performance of matching and sorting (n=13): time 0.001266/0.4116, allocations: 290.3 kB / 382.3 MB, free: 9.188 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.851e-05/0.4117, allocations: 81.17 kB / 382.3 MB, free: 9.094 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003383/0.4121, allocations: 241.2 kB / 382.6 MB, free: 8.988 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.922e-05/0.4121, allocations: 31.89 kB / 382.6 MB, free: 8.957 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000136/0.4122, allocations: 164.8 kB / 382.8 MB, free: 8.844 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.741e-05/0.4123, allocations: 39.61 kB / 382.8 MB, free: 8.82 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.721e-05/0.4124, allocations: 48.72 kB / 382.9 MB, free: 8.797 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 9.97e-05/0.4125, allocations: 331.9 kB / 383.2 MB, free: 8.484 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003599/0.4129, allocations: 92.61 kB / 383.3 MB, free: 8.477 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003584/0.4132, allocations: 146 kB / 383.4 MB, free: 8.41 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006437/0.4139, allocations: 246.2 kB / 383.6 MB, free: 8.316 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.099e-06/0.4139, allocations: 1.828 kB / 383.7 MB, free: 8.316 MB / 318.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0007945/0.4147, allocations: 313.2 kB / 384 MB, free: 8.234 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.353e-05/0.4147, allocations: 32.78 kB / 384 MB, free: 8.203 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.846e-06/0.4148, allocations: 3.094 kB / 384 MB, free: 8.203 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.99e-05/0.4148, allocations: 4.812 kB / 384 MB, free: 8.203 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002676/0.4151, allocations: 60.62 kB / 384.1 MB, free: 8.199 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.086e-05/0.4151, allocations: 2.156 kB / 384.1 MB, free: 8.199 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002957/0.4154, allocations: 39.38 kB / 384.1 MB, free: 8.191 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.65e-05/0.4154, allocations: 11.59 kB / 384.1 MB, free: 8.191 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003413/0.4158, allocations: 171.4 kB / 384.3 MB, free: 8.109 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003186/0.4161, allocations: 139 kB / 384.4 MB, free: 8.039 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005686/0.4167, allocations: 221.1 kB / 384.6 MB, free: 7.949 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.796e-06/0.4167, allocations: 2.219 kB / 384.6 MB, free: 7.949 MB / 318.1 MB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.0007995/0.4175, allocations: 292 kB / 384.9 MB, free: 7.867 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.045e-05/0.4175, allocations: 37.89 kB / 385 MB, free: 7.832 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.398e-06/0.4175, allocations: 4.75 kB / 385 MB, free: 7.832 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.033e-06/0.4176, allocations: 3.984 kB / 385 MB, free: 7.832 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002422/0.4178, allocations: 58.2 kB / 385 MB, free: 7.828 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.877e-06/0.4178, allocations: 1.875 kB / 385 MB, free: 7.828 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002664/0.4181, allocations: 35.72 kB / 385.1 MB, free: 7.82 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.818e-05/0.4181, allocations: 7.234 kB / 385.1 MB, free: 7.82 MB / 318.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 (vIn.signalSource.count,$PRE.vIn.signalSource.count,vIn.signalSource.T_start,$PRE.vIn.signalSource.T_start,$whenCondition1) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001247/0.4182, allocations: 199.7 kB / 385.3 MB, free: 7.633 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.247e-05/0.4183, allocations: 21.81 kB / 385.3 MB, free: 7.621 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.903e-05/0.4184, allocations: 23.88 kB / 385.3 MB, free: 7.613 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.033e-06/0.4184, allocations: 6.156 kB / 385.3 MB, free: 7.609 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.185e-05/0.4184, allocations: 3.047 kB / 385.3 MB, free: 7.609 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.332e-06/0.4184, allocations: 0.5156 kB / 385.3 MB, free: 7.609 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003598/0.4188, allocations: 288 kB / 385.6 MB, free: 7.414 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.4188, allocations: 2.531 kB / 385.6 MB, free: 7.414 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002468/0.4191, allocations: 40.8 kB / 385.6 MB, free: 7.414 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.4191, allocations: 3.938 kB / 385.6 MB, free: 7.41 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.871e-05/0.4191, allocations: 6.281 kB / 385.6 MB, free: 7.41 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.134e-06/0.4191, allocations: 1.281 kB / 385.6 MB, free: 7.41 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.524e-06/0.4191, allocations: 4.562 kB / 385.6 MB, free: 7.406 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00104/0.4202, allocations: 349.1 kB / 386 MB, free: 7.316 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.39e-05/0.4202, allocations: 92.8 kB / 386.1 MB, free: 7.215 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.344e-05/0.4203, allocations: 5.688 kB / 386.1 MB, free: 7.215 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002267/0.4205, allocations: 24.59 kB / 386.1 MB, free: 7.215 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.508e-05/0.4206, allocations: 20.19 kB / 386.1 MB, free: 7.215 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.463e-05/0.4206, allocations: 3.281 kB / 386.1 MB, free: 7.215 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001893/0.4208, allocations: 172.8 kB / 386.3 MB, free: 7.109 MB / 318.1 MB Notification: Performance of sort global known variables: time 2e-07/0.4208, allocations: 4.062 kB / 386.3 MB, free: 7.105 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0004622/0.4213, allocations: 103.6 kB / 386.4 MB, free: 7.082 MB / 318.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001597/0.4215, allocations: 112.2 kB / 386.5 MB, free: 6.988 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001094/0.4226, allocations: 430.5 kB / 386.9 MB, free: 6.789 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.965e-06/0.4226, allocations: 1.125 kB / 386.9 MB, free: 6.789 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003171/0.4229, allocations: 94.97 kB / 387 MB, free: 6.77 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003564/0.4233, allocations: 46.5 kB / 387.1 MB, free: 6.75 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001291/0.4246, allocations: 481.2 kB / 387.5 MB, free: 6.461 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002377/0.4248, allocations: 0.7413 MB / 388.3 MB, free: 5.762 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0001527/0.425, allocations: 24.23 kB / 388.3 MB, free: 5.758 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.361e-05/0.4251, allocations: 21.8 kB / 388.3 MB, free: 5.754 MB / 318.1 MB Notification: Performance of SimCode: time 1.402e-06/0.4251, allocations: 0 / 388.3 MB, free: 5.754 MB / 318.1 MB Notification: Performance of Templates: time 0.007393/0.4325, allocations: 3 MB / 391.3 MB, free: 5.547 MB / 318.1 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.makefile (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)