Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.1_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.1_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.1_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.001552/0.001552, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001699/0.0017, allocations: 195.6 kB / 16.53 MB, free: 6.391 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.728/1.728, allocations: 205.1 MB / 222.4 MB, free: 4.617 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.001531/0.001531, allocations: 59.92 kB / 278.7 MB, free: 12.36 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2283/0.2298, allocations: 46.63 MB / 325.3 MB, free: 1.996 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Differentiator): time 0.004461/0.2343, allocations: 2.608 MB / 327.9 MB, free: 15.93 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001422/0.2358, allocations: 0.7108 MB / 328.6 MB, free: 15.35 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001575/0.236, allocations: 3.188 kB / 328.6 MB, free: 15.35 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001543/0.2362, allocations: 30.91 kB / 328.7 MB, free: 15.32 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001704/0.2363, allocations: 87.83 kB / 328.8 MB, free: 15.24 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002858/0.2366, allocations: 91.06 kB / 328.8 MB, free: 15.16 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.00039/0.237, allocations: 329.4 kB / 329.2 MB, free: 14.97 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001959/0.2372, allocations: 76.41 kB / 329.2 MB, free: 14.93 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002267/0.2375, allocations: 123.3 kB / 329.4 MB, free: 14.86 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002028/0.2377, allocations: 141.7 kB / 329.5 MB, free: 14.76 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 6.225e-05/0.2378, allocations: 27.41 kB / 329.5 MB, free: 14.76 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.903e-05/0.2378, allocations: 31.97 kB / 329.6 MB, free: 14.75 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 8.186e-05/0.2379, allocations: 65.92 kB / 329.6 MB, free: 14.7 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001836/0.2381, allocations: 132.7 kB / 329.8 MB, free: 14.6 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003631/0.2385, allocations: 303.3 kB / 330 MB, free: 14.38 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.302e-06/0.2385, allocations: 0 / 330 MB, free: 14.38 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.2385, allocations: 0 / 330 MB, free: 14.38 MB / 270.1 MB Notification: Performance of Transformations before backend: time 1.213e-05/0.2385, allocations: 1.156 kB / 330 MB, free: 14.38 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.001323/0.2399, allocations: 0.6118 MB / 330.7 MB, free: 13.82 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.953e-05/0.2399, allocations: 9.156 kB / 330.7 MB, free: 13.82 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.217e-05/0.24, allocations: 30.84 kB / 330.7 MB, free: 13.8 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000329/0.2403, allocations: 265.4 kB / 331 MB, free: 13.53 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.77e-05/0.2404, allocations: 13.16 kB / 331 MB, free: 13.53 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.832e-05/0.2404, allocations: 25.44 kB / 331 MB, free: 13.52 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006904/0.2411, allocations: 246.2 kB / 331.2 MB, free: 13.37 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.002e-05/0.2412, allocations: 0 / 331.2 MB, free: 13.37 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.131e-05/0.2412, allocations: 10.41 kB / 331.2 MB, free: 13.36 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.148e-05/0.2412, allocations: 4.312 kB / 331.3 MB, free: 13.36 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007779/0.242, allocations: 246.2 kB / 331.5 MB, free: 13.25 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001584/0.2436, allocations: 0.8262 MB / 332.3 MB, free: 12.53 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009483/0.2446, allocations: 233.8 kB / 332.5 MB, free: 12.41 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003202/0.2449, allocations: 92.41 kB / 332.6 MB, free: 12.36 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.293e-05/0.2449, allocations: 1.062 kB / 332.6 MB, free: 12.36 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006481/0.2456, allocations: 163.5 kB / 332.8 MB, free: 12.23 MB / 270.1 MB Notification: Performance of pre-optimization done (n=13): time 1.623e-06/0.2456, allocations: 0 / 332.8 MB, free: 12.23 MB / 270.1 MB Notification: Performance of matching and sorting (n=13): time 0.001103/0.2467, allocations: 287.6 kB / 333.1 MB, free: 12.07 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.255e-05/0.2468, allocations: 85.11 kB / 333.2 MB, free: 11.96 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003017/0.2471, allocations: 233 kB / 333.4 MB, free: 11.72 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 3.353e-05/0.2472, allocations: 29.7 kB / 333.4 MB, free: 11.69 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001701/0.2473, allocations: 168 kB / 333.6 MB, free: 11.52 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.52e-05/0.2474, allocations: 47.3 kB / 333.6 MB, free: 11.47 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.45e-05/0.2475, allocations: 45.7 kB / 333.7 MB, free: 11.42 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001556/0.2477, allocations: 326.8 kB / 334 MB, free: 11.09 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003398/0.248, allocations: 92.78 kB / 334.1 MB, free: 11 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000342/0.2484, allocations: 146.8 kB / 334.2 MB, free: 10.83 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006263/0.249, allocations: 246.5 kB / 334.5 MB, free: 10.57 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/0.249, allocations: 0 / 334.5 MB, free: 10.57 MB / 270.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0007324/0.2498, allocations: 306.8 kB / 334.8 MB, free: 10.25 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.17e-05/0.2498, allocations: 41.64 kB / 334.8 MB, free: 10.21 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.885e-06/0.2498, allocations: 0 / 334.8 MB, free: 10.21 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.137e-05/0.2499, allocations: 7.984 kB / 334.8 MB, free: 10.2 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002587/0.2501, allocations: 64.06 kB / 334.9 MB, free: 10.14 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.029e-05/0.2502, allocations: 7.984 kB / 334.9 MB, free: 10.13 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002798/0.2504, allocations: 39.72 kB / 334.9 MB, free: 10.09 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.517e-05/0.2505, allocations: 8 kB / 334.9 MB, free: 10.08 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003244/0.2508, allocations: 176.1 kB / 335.1 MB, free: 9.906 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002748/0.2511, allocations: 134.8 kB / 335.2 MB, free: 9.75 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005013/0.2516, allocations: 219.5 kB / 335.5 MB, free: 9.508 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.688e-06/0.2516, allocations: 3.938 kB / 335.5 MB, free: 9.504 MB / 270.1 MB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.0007679/0.2524, allocations: 289.2 kB / 335.7 MB, free: 9.211 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.21e-05/0.2524, allocations: 33.7 kB / 335.8 MB, free: 9.172 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.695e-06/0.2524, allocations: 0 / 335.8 MB, free: 9.172 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.721e-06/0.2525, allocations: 4 kB / 335.8 MB, free: 9.168 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002249/0.2527, allocations: 60.08 kB / 335.8 MB, free: 9.109 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.531e-06/0.2527, allocations: 4 kB / 335.8 MB, free: 9.105 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003286/0.253, allocations: 31.81 kB / 335.9 MB, free: 9.074 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.257e-05/0.2531, allocations: 16 kB / 335.9 MB, free: 9.059 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 (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.000151/0.2532, allocations: 192.1 kB / 336.1 MB, free: 8.863 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.907e-05/0.2533, allocations: 23.8 kB / 336.1 MB, free: 8.84 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.099e-05/0.2533, allocations: 21.84 kB / 336.1 MB, free: 8.82 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.437e-06/0.2534, allocations: 7.938 kB / 336.1 MB, free: 8.812 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.035e-06/0.2534, allocations: 0 / 336.1 MB, free: 8.812 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.044e-06/0.2534, allocations: 3.984 kB / 336.1 MB, free: 8.809 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004913/0.2539, allocations: 289.3 kB / 336.4 MB, free: 8.477 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.334e-06/0.2539, allocations: 0 / 336.4 MB, free: 8.477 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002298/0.2541, allocations: 51.89 kB / 336.5 MB, free: 8.426 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.417e-06/0.2541, allocations: 0 / 336.5 MB, free: 8.426 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.699e-05/0.2542, allocations: 0 / 336.5 MB, free: 8.426 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/0.2542, allocations: 0 / 336.5 MB, free: 8.426 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.883e-06/0.2542, allocations: 4 kB / 336.5 MB, free: 8.422 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009436/0.2551, allocations: 337.2 kB / 336.8 MB, free: 8.074 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.843e-05/0.2552, allocations: 104.8 kB / 336.9 MB, free: 7.953 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.122e-05/0.2553, allocations: 0 / 336.9 MB, free: 7.953 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002276/0.2555, allocations: 27.97 kB / 336.9 MB, free: 7.926 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.086e-05/0.2556, allocations: 19.92 kB / 336.9 MB, free: 7.906 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.313e-05/0.2556, allocations: 3.984 kB / 336.9 MB, free: 7.902 MB / 270.1 MB Notification: Performance of sorting global known variables: time 0.0001715/0.2558, allocations: 172.5 kB / 337.1 MB, free: 7.734 MB / 270.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2558, allocations: 0 / 337.1 MB, free: 7.734 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.000448/0.2563, allocations: 99.84 kB / 337.2 MB, free: 7.637 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 (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.0001603/0.2564, allocations: 115.2 kB / 337.3 MB, free: 7.516 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.00117/0.2576, allocations: 435.2 kB / 337.7 MB, free: 7.066 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/0.2576, allocations: 0 / 337.7 MB, free: 7.066 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003271/0.258, allocations: 95.88 kB / 337.8 MB, free: 6.973 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003989/0.2584, allocations: 48.72 kB / 337.9 MB, free: 6.926 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001335/0.2597, allocations: 486.7 kB / 338.4 MB, free: 6.422 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004407/0.2602, allocations: 0.7363 MB / 339.1 MB, free: 5.66 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 0.0001552/0.2603, allocations: 33.88 kB / 339.1 MB, free: 5.629 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.018e-05/0.2604, allocations: 19.44 kB / 339.2 MB, free: 5.609 MB / 270.1 MB Notification: Performance of SimCode: time 5.31e-07/0.2604, allocations: 0 / 339.2 MB, free: 5.609 MB / 270.1 MB Notification: Performance of Templates: time 0.00769/0.2681, allocations: 2.959 MB / 342.1 MB, free: 2.648 MB / 270.1 MB make -j1 -f Modelica_3.2.1_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.makefile (rm -f Modelica_3.2.1_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.pipe ; mkfifo Modelica_3.2.1_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.pipe >> ../files/Modelica_3.2.1_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.sim & ./Modelica_3.2.1_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.pipe 2>&1)