Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.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.VoltageFollower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001549/0.00155, allocations: 106.1 kB / 17.06 MB, free: 6.027 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.001522/0.001522, allocations: 195 kB / 18 MB, free: 5.105 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.588/1.588, allocations: 205.1 MB / 223.9 MB, free: 12.25 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.001679/0.001679, allocations: 56.23 kB / 327.9 MB, free: 3.262 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1717/0.1734, allocations: 46.6 MB / 374.5 MB, free: 4.547 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower): time 0.005728/0.1792, allocations: 2.699 MB / 377.2 MB, free: 1.832 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002264/0.1816, allocations: 0.7173 MB / 377.9 MB, free: 1.105 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004576/0.1821, allocations: 7.938 kB / 377.9 MB, free: 1.098 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002574/0.1824, allocations: 39.58 kB / 378 MB, free: 1.059 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000439/0.1828, allocations: 91.25 kB / 378.1 MB, free: 0.9688 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005287/0.1834, allocations: 103.8 kB / 378.2 MB, free: 0.8672 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007759/0.1842, allocations: 350.5 kB / 378.5 MB, free: 0.5234 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002694/0.1845, allocations: 84.69 kB / 378.6 MB, free: 452 kB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003012/0.1848, allocations: 127.5 kB / 378.7 MB, free: 324 kB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002775/0.1851, allocations: 151.3 kB / 378.9 MB, free: 172 kB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 7.36e-05/0.1851, allocations: 36 kB / 378.9 MB, free: 136 kB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.454e-05/0.1852, allocations: 28 kB / 378.9 MB, free: 108 kB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.975e-05/0.1853, allocations: 59.83 kB / 379 MB, free: 48 kB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.3369/0.5222, allocations: 143.3 kB / 379.1 MB, free: 10.11 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009826/0.5233, allocations: 322.7 kB / 379.4 MB, free: 10.1 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.264e-05/0.5233, allocations: 0 / 379.4 MB, free: 10.1 MB / 318.1 MB Notification: Performance of FrontEnd: time 5.571e-06/0.5233, allocations: 0.7812 kB / 379.4 MB, free: 10.1 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.463e-05/0.5233, allocations: 0 / 379.4 MB, free: 10.1 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: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.001952/0.5253, allocations: 0.632 MB / 380.1 MB, free: 9.641 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 8.479e-05/0.5254, allocations: 11.88 kB / 380.1 MB, free: 9.641 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001698/0.5256, allocations: 35.78 kB / 380.1 MB, free: 9.625 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007329/0.5263, allocations: 278.3 kB / 380.4 MB, free: 9.402 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.788e-05/0.5264, allocations: 16.3 kB / 380.4 MB, free: 9.402 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.021e-05/0.5264, allocations: 19.44 kB / 380.4 MB, free: 9.402 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009894/0.5274, allocations: 249.3 kB / 380.7 MB, free: 9.363 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.426e-05/0.5275, allocations: 7.094 kB / 380.7 MB, free: 9.359 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.319e-05/0.5275, allocations: 4.625 kB / 380.7 MB, free: 9.359 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.201e-05/0.5275, allocations: 6.062 kB / 380.7 MB, free: 9.359 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009941/0.5285, allocations: 255.8 kB / 380.9 MB, free: 9.359 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002206/0.5308, allocations: 0.8102 MB / 381.7 MB, free: 8.996 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008884/0.5317, allocations: 271.6 kB / 382 MB, free: 8.879 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003882/0.5321, allocations: 82.61 kB / 382.1 MB, free: 8.871 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.321e-05/0.5321, allocations: 1.031 kB / 382.1 MB, free: 8.871 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007133/0.5329, allocations: 174.4 kB / 382.3 MB, free: 8.797 MB / 318.1 MB Notification: Performance of pre-optimization done (n=11): time 1.843e-06/0.5329, allocations: 0 / 382.3 MB, free: 8.797 MB / 318.1 MB Notification: Performance of matching and sorting (n=11): time 0.002178/0.5351, allocations: 0.5289 MB / 382.8 MB, free: 8.645 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.88e-05/0.5351, allocations: 106.1 kB / 382.9 MB, free: 8.52 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003457/0.5355, allocations: 271.1 kB / 383.2 MB, free: 8.406 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.484e-05/0.5355, allocations: 30.86 kB / 383.2 MB, free: 8.375 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001146/0.5356, allocations: 182 kB / 383.4 MB, free: 8.25 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.013e-05/0.5357, allocations: 35.23 kB / 383.4 MB, free: 8.23 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.527e-05/0.5358, allocations: 50.61 kB / 383.4 MB, free: 8.211 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 7.577e-05/0.5359, allocations: 337 kB / 383.8 MB, free: 7.895 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003342/0.5362, allocations: 99.8 kB / 383.9 MB, free: 7.883 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004083/0.5366, allocations: 191.7 kB / 384.1 MB, free: 7.758 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000664/0.5373, allocations: 284.5 kB / 384.3 MB, free: 7.613 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.599e-06/0.5373, allocations: 1.125 kB / 384.3 MB, free: 7.613 MB / 318.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.001531/0.5388, allocations: 413.5 kB / 384.7 MB, free: 7.523 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.601e-05/0.5389, allocations: 34.88 kB / 384.8 MB, free: 7.492 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.191e-05/0.539, allocations: 5.469 kB / 384.8 MB, free: 7.492 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007313/0.5397, allocations: 92.88 kB / 384.9 MB, free: 7.484 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003144/0.54, allocations: 57.03 kB / 384.9 MB, free: 7.48 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001789/0.5418, allocations: 1.568 MB / 386.5 MB, free: 6.109 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003812/0.5422, allocations: 47.77 kB / 386.5 MB, free: 6.098 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.886e-05/0.5423, allocations: 9.938 kB / 386.6 MB, free: 6.098 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003741/0.5426, allocations: 175.2 kB / 386.7 MB, free: 6.016 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003822/0.543, allocations: 175 kB / 386.9 MB, free: 5.895 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000651/0.5437, allocations: 264.9 kB / 387.2 MB, free: 5.754 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.436e-06/0.5437, allocations: 1.219 kB / 387.2 MB, free: 5.754 MB / 318.1 MB Notification: Performance of matching and sorting (n=26) (initialization_lambda0): time 0.0009834/0.5447, allocations: 337.2 kB / 387.5 MB, free: 5.648 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.509e-05/0.5448, allocations: 34.31 kB / 387.5 MB, free: 5.617 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.969e-06/0.5448, allocations: 9.875 kB / 387.5 MB, free: 5.613 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.335e-05/0.5449, allocations: 25.98 kB / 387.6 MB, free: 5.602 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002467/0.5451, allocations: 48.25 kB / 387.6 MB, free: 5.602 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00101/0.5462, allocations: 1.557 MB / 389.2 MB, free: 4.047 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003688/0.5465, allocations: 44.42 kB / 389.2 MB, free: 4.035 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.636e-05/0.5466, allocations: 12.5 kB / 389.2 MB, free: 4.031 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (23): * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0001586/0.5467, allocations: 203.2 kB / 389.4 MB, free: 3.836 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.767e-05/0.5468, allocations: 24.69 kB / 389.4 MB, free: 3.824 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.217e-05/0.5469, allocations: 25.19 kB / 389.5 MB, free: 3.809 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.835e-06/0.5469, allocations: 2.281 kB / 389.5 MB, free: 3.809 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.831e-06/0.5469, allocations: 3.359 kB / 389.5 MB, free: 3.809 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.672e-06/0.5469, allocations: 1.078 kB / 389.5 MB, free: 3.809 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001335/0.5482, allocations: 0.603 MB / 390.1 MB, free: 3.414 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.5482, allocations: 0 / 390.1 MB, free: 3.414 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001481/0.5484, allocations: 28.27 kB / 390.1 MB, free: 3.41 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002088/0.5486, allocations: 49.59 kB / 390.1 MB, free: 3.395 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.611e-05/0.5486, allocations: 5.625 kB / 390.1 MB, free: 3.391 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001449/0.5501, allocations: 1.545 MB / 391.7 MB, free: 1.965 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.5501, allocations: 1.188 kB / 391.7 MB, free: 1.965 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009387/0.5511, allocations: 359.9 kB / 392 MB, free: 1.773 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.337e-05/0.5512, allocations: 104.7 kB / 392.1 MB, free: 1.66 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.857e-05/0.5512, allocations: 2.281 kB / 392.2 MB, free: 1.66 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002625/0.5515, allocations: 35.83 kB / 392.2 MB, free: 1.652 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001086/0.5516, allocations: 25.38 kB / 392.2 MB, free: 1.645 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.523e-05/0.5516, allocations: 3.375 kB / 392.2 MB, free: 1.645 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0002374/0.5518, allocations: 189.2 kB / 392.4 MB, free: 1.535 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5519, allocations: 1.031 kB / 392.4 MB, free: 1.535 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0006824/0.5525, allocations: 112.5 kB / 392.5 MB, free: 1.516 MB / 318.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: 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 (9): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.000182/0.5527, allocations: 106.5 kB / 392.6 MB, free: 1.422 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001569/0.5543, allocations: 0.6608 MB / 393.3 MB, free: 0.9961 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.288e-06/0.5543, allocations: 0 / 393.3 MB, free: 0.9961 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004573/0.5548, allocations: 215 kB / 393.5 MB, free: 0.8594 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004735/0.5553, allocations: 54.02 kB / 393.5 MB, free: 0.8398 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001295/0.5566, allocations: 440.9 kB / 394 MB, free: 0.582 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003777/0.557, allocations: 0.7441 MB / 394.7 MB, free: 15.88 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001622/0.5571, allocations: 36.08 kB / 394.7 MB, free: 15.87 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.402e-05/0.5572, allocations: 20.09 kB / 394.8 MB, free: 15.86 MB / 334.1 MB Notification: Performance of SimCode: time 7.31e-07/0.5572, allocations: 0 / 394.8 MB, free: 15.86 MB / 334.1 MB Notification: Performance of Templates: time 0.01266/0.5699, allocations: 4.013 MB / 398.8 MB, free: 15.39 MB / 334.1 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.makefile (rm -f Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.pipe ; mkfifo Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.pipe >> ../files/Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.sim & ./Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.pipe 2>&1)