Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmp.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.InvertingAmp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmp") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmp") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001181/0.001181, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001565/0.001565, allocations: 194.3 kB / 16.14 MB, free: 6.664 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.682/1.682, allocations: 205.1 MB / 222 MB, free: 4.746 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.00129/0.00129, allocations: 59.91 kB / 278.1 MB, free: 12.76 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3592/0.3605, allocations: 46.62 MB / 324.7 MB, free: 1.941 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmp): time 0.004439/0.365, allocations: 2.756 MB / 327.4 MB, free: 15.77 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001509/0.3665, allocations: 0.7238 MB / 328.2 MB, free: 15.17 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001494/0.3667, allocations: 7.469 kB / 328.2 MB, free: 15.17 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001677/0.3669, allocations: 31.83 kB / 328.2 MB, free: 15.14 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000202/0.3671, allocations: 72.14 kB / 328.3 MB, free: 15.08 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003112/0.3674, allocations: 82.28 kB / 328.4 MB, free: 15.01 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004228/0.3678, allocations: 332.8 kB / 328.7 MB, free: 14.82 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002386/0.3681, allocations: 74.2 kB / 328.8 MB, free: 14.77 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001933/0.3683, allocations: 117.2 kB / 328.9 MB, free: 14.71 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002167/0.3685, allocations: 144 kB / 329 MB, free: 14.61 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 6.044e-05/0.3686, allocations: 17.75 kB / 329 MB, free: 14.61 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.673e-05/0.3686, allocations: 18.66 kB / 329 MB, free: 14.61 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 6.853e-05/0.3687, allocations: 49.52 kB / 329.1 MB, free: 14.56 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001914/0.3689, allocations: 137.9 kB / 329.2 MB, free: 14.47 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004322/0.3694, allocations: 305.9 kB / 329.5 MB, free: 14.24 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.677e-06/0.3694, allocations: 1.125 kB / 329.5 MB, free: 14.24 MB / 270.1 MB Notification: Performance of FrontEnd: time 9.72e-07/0.3694, allocations: 3.938 kB / 329.5 MB, free: 14.24 MB / 270.1 MB Notification: Performance of Transformations before backend: time 6.883e-06/0.3694, allocations: 0 / 329.5 MB, free: 14.24 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: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.001447/0.3709, allocations: 0.6444 MB / 330.2 MB, free: 13.66 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.298e-05/0.3709, allocations: 14.34 kB / 330.2 MB, free: 13.66 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001026/0.371, allocations: 26.78 kB / 330.2 MB, free: 13.64 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003629/0.3714, allocations: 272 kB / 330.5 MB, free: 13.37 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.29e-05/0.3714, allocations: 16.72 kB / 330.5 MB, free: 13.36 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.543e-05/0.3715, allocations: 18.12 kB / 330.5 MB, free: 13.36 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007819/0.3723, allocations: 251 kB / 330.8 MB, free: 13.21 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.69e-05/0.3723, allocations: 4 kB / 330.8 MB, free: 13.2 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.427e-05/0.3724, allocations: 6.062 kB / 330.8 MB, free: 13.2 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.311e-05/0.3724, allocations: 5.094 kB / 330.8 MB, free: 13.2 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008576/0.3732, allocations: 253.9 kB / 331 MB, free: 13.09 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00162/0.3749, allocations: 0.8662 MB / 331.9 MB, free: 12.34 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007471/0.3756, allocations: 222.6 kB / 332.1 MB, free: 12.23 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003026/0.376, allocations: 101 kB / 332.2 MB, free: 12.17 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.519e-05/0.376, allocations: 1.812 kB / 332.2 MB, free: 12.17 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005377/0.3765, allocations: 178.5 kB / 332.4 MB, free: 12.03 MB / 270.1 MB Notification: Performance of pre-optimization done (n=14): time 1.282e-06/0.3765, allocations: 0 / 332.4 MB, free: 12.03 MB / 270.1 MB Notification: Performance of matching and sorting (n=14): time 0.002009/0.3786, allocations: 0.5894 MB / 333 MB, free: 11.64 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.839e-05/0.3787, allocations: 110.8 kB / 333.1 MB, free: 11.51 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002965/0.379, allocations: 260.8 kB / 333.3 MB, free: 11.25 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 2.93e-05/0.379, allocations: 37.7 kB / 333.4 MB, free: 11.2 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001326/0.3791, allocations: 171.9 kB / 333.5 MB, free: 11.03 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.731e-05/0.3792, allocations: 43.36 kB / 333.6 MB, free: 10.99 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.602e-05/0.3793, allocations: 41.7 kB / 333.6 MB, free: 10.94 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001644/0.3795, allocations: 330.8 kB / 333.9 MB, free: 10.61 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000326/0.3798, allocations: 96.78 kB / 334 MB, free: 10.51 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003339/0.3801, allocations: 163.4 kB / 334.2 MB, free: 10.32 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000628/0.3808, allocations: 250.5 kB / 334.4 MB, free: 10.05 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.3808, allocations: 3.938 kB / 334.4 MB, free: 10.05 MB / 270.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.001045/0.3818, allocations: 419.5 kB / 334.9 MB, free: 9.625 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.496e-05/0.3819, allocations: 29.7 kB / 334.9 MB, free: 9.59 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.052e-05/0.3819, allocations: 4 kB / 334.9 MB, free: 9.586 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005008/0.3824, allocations: 112.7 kB / 335 MB, free: 9.473 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001814/0.3826, allocations: 31.97 kB / 335 MB, free: 9.441 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002198/0.3848, allocations: 1.701 MB / 336.7 MB, free: 7.602 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003172/0.3852, allocations: 43.72 kB / 336.8 MB, free: 7.559 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.339e-05/0.3852, allocations: 8 kB / 336.8 MB, free: 7.551 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003417/0.3855, allocations: 184.1 kB / 337 MB, free: 7.367 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000288/0.3858, allocations: 143.6 kB / 337.1 MB, free: 7.199 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004828/0.3863, allocations: 229.9 kB / 337.3 MB, free: 6.949 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.693e-06/0.3863, allocations: 0 / 337.3 MB, free: 6.949 MB / 270.1 MB Notification: Performance of matching and sorting (n=24) (initialization_lambda0): time 0.0007442/0.3871, allocations: 335.5 kB / 337.7 MB, free: 6.605 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.898e-05/0.3871, allocations: 37.89 kB / 337.7 MB, free: 6.562 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.675e-06/0.3871, allocations: 0 / 337.7 MB, free: 6.562 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001198/0.3873, allocations: 44.83 kB / 337.7 MB, free: 6.516 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001753/0.3874, allocations: 35.91 kB / 337.8 MB, free: 6.48 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001302/0.3888, allocations: 1.549 MB / 339.3 MB, free: 4.797 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002891/0.3891, allocations: 43.84 kB / 339.4 MB, free: 4.754 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.694e-05/0.3891, allocations: 12.06 kB / 339.4 MB, free: 4.742 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 (18): * Single equations (assignments): 16 * 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,5)} Notification: Performance of prepare postOptimizeDAE: time 0.0001982/0.3893, allocations: 192.8 kB / 339.6 MB, free: 4.547 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.178e-05/0.3893, allocations: 23.75 kB / 339.6 MB, free: 4.523 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.408e-05/0.3894, allocations: 25.83 kB / 339.6 MB, free: 4.5 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-06/0.3894, allocations: 4 kB / 339.6 MB, free: 4.496 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.997e-06/0.3894, allocations: 0 / 339.6 MB, free: 4.496 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/0.3894, allocations: 0 / 339.6 MB, free: 4.496 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003618/0.3898, allocations: 293.4 kB / 339.9 MB, free: 4.16 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.596e-06/0.3898, allocations: 3.984 kB / 339.9 MB, free: 4.156 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000133/0.3899, allocations: 19.98 kB / 339.9 MB, free: 4.137 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002577/0.3902, allocations: 72.73 kB / 340 MB, free: 4.062 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.901e-05/0.3902, allocations: 3.938 kB / 340 MB, free: 4.059 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002031/0.3923, allocations: 1.597 MB / 341.6 MB, free: 2.332 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.963e-06/0.3923, allocations: 8.016 kB / 341.6 MB, free: 2.324 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008591/0.3932, allocations: 318 kB / 341.9 MB, free: 1.992 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.87e-05/0.3933, allocations: 96.83 kB / 342 MB, free: 1.879 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.012e-05/0.3933, allocations: 15.88 kB / 342 MB, free: 1.863 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002268/0.3936, allocations: 31.95 kB / 342.1 MB, free: 1.832 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001006/0.3937, allocations: 23.91 kB / 342.1 MB, free: 1.809 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.366e-05/0.3937, allocations: 4 kB / 342.1 MB, free: 1.805 MB / 270.1 MB Notification: Performance of sorting global known variables: time 0.0001917/0.3939, allocations: 184.5 kB / 342.3 MB, free: 1.629 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3939, allocations: 0 / 342.3 MB, free: 1.629 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0005692/0.3945, allocations: 127.7 kB / 342.4 MB, free: 1.504 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: 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,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001817/0.3947, allocations: 99.23 kB / 342.5 MB, free: 1.395 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.001426/0.3961, allocations: 0.6915 MB / 343.2 MB, free: 0.6523 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 3.397e-06/0.3961, allocations: 0 / 343.2 MB, free: 0.6523 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000438/0.3966, allocations: 222.5 kB / 343.4 MB, free: 432 kB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003762/0.3969, allocations: 47.97 kB / 343.4 MB, free: 388 kB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001043/0.398, allocations: 0.522 MB / 344 MB, free: 15.83 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003333/0.3983, allocations: 0.7522 MB / 344.7 MB, free: 15.05 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0001258/0.3985, allocations: 26.28 kB / 344.7 MB, free: 15.03 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.738e-05/0.3985, allocations: 19.44 kB / 344.8 MB, free: 15.01 MB / 286.1 MB Notification: Performance of SimCode: time 3.01e-07/0.3985, allocations: 0 / 344.8 MB, free: 15.01 MB / 286.1 MB Notification: Performance of Templates: time 0.008745/0.4073, allocations: 3.933 MB / 348.7 MB, free: 11.07 MB / 286.1 MB make -j1 -f Modelica_3.2.1_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmp.makefile (rm -f Modelica_3.2.1_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmp.pipe ; mkfifo Modelica_3.2.1_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmp.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmp.pipe >> ../files/Modelica_3.2.1_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmp.sim & ./Modelica_3.2.1_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmp -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmp.pipe 2>&1)