Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Electrical.Analog.Examples.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.InvertingAmp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Analog.Examples.InvertingAmp") translateModel(Modelica.Electrical.Analog.Examples.InvertingAmp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Analog.Examples.InvertingAmp") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009817/0.0009818, allocations: 91.38 kB / 15.36 MB, free: 0.7344 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.00833/0.00833, allocations: 169.2 kB / 16.26 MB, free: 6.68 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.01/2.01, allocations: 205.4 MB / 222.5 MB, free: 5.789 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.0005165/0.0005168, allocations: 12 kB / 279.5 MB, free: 12.74 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3511/0.3516, allocations: 47.58 MB / 327 MB, free: 1.211 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.InvertingAmp): time 0.003542/0.3552, allocations: 2.425 MB / 329.5 MB, free: 15.28 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002044/0.3573, allocations: 0.679 MB / 330.1 MB, free: 14.72 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002264/0.3575, allocations: 5.281 kB / 330.1 MB, free: 14.72 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002037/0.3577, allocations: 31.36 kB / 330.2 MB, free: 14.7 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002924/0.358, allocations: 81.66 kB / 330.3 MB, free: 14.62 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003849/0.3584, allocations: 76.64 kB / 330.3 MB, free: 14.56 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005857/0.359, allocations: 349 kB / 330.7 MB, free: 14.36 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003313/0.3594, allocations: 105.3 kB / 330.8 MB, free: 14.3 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002465/0.3596, allocations: 121.9 kB / 330.9 MB, free: 14.23 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002593/0.3599, allocations: 144.1 kB / 331 MB, free: 14.13 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 6.609e-05/0.36, allocations: 21 kB / 331.1 MB, free: 14.13 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.362e-05/0.3601, allocations: 18.41 kB / 331.1 MB, free: 14.13 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 8.113e-05/0.3601, allocations: 59.48 kB / 331.1 MB, free: 14.08 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002344/0.3604, allocations: 164.6 kB / 331.3 MB, free: 13.96 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004202/0.3608, allocations: 355.8 kB / 331.6 MB, free: 13.69 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.169e-06/0.3608, allocations: 0 / 331.6 MB, free: 13.69 MB / 270.1 MB Notification: Performance of FrontEnd: time 2.504e-06/0.3608, allocations: 1.125 kB / 331.6 MB, free: 13.69 MB / 270.1 MB Notification: Performance of Transformations before backend: time 8.315e-06/0.3609, allocations: 7.938 kB / 331.7 MB, free: 13.68 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: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.001486/0.3623, allocations: 0.6121 MB / 332.3 MB, free: 13.14 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.601e-05/0.3624, allocations: 9.469 kB / 332.3 MB, free: 13.14 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000191/0.3626, allocations: 33.5 kB / 332.3 MB, free: 13.12 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003926/0.363, allocations: 275.4 kB / 332.6 MB, free: 12.84 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.159e-05/0.363, allocations: 15.25 kB / 332.6 MB, free: 12.84 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.519e-05/0.3631, allocations: 24.12 kB / 332.6 MB, free: 12.83 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007832/0.3639, allocations: 317.6 kB / 332.9 MB, free: 12.63 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.384e-05/0.3639, allocations: 0 / 332.9 MB, free: 12.63 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.542e-05/0.364, allocations: 14.09 kB / 332.9 MB, free: 12.62 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.332e-05/0.364, allocations: 6.562 kB / 332.9 MB, free: 12.62 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008985/0.3649, allocations: 277.6 kB / 333.2 MB, free: 12.5 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002204/0.3671, allocations: 1.118 MB / 334.3 MB, free: 11.52 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000896/0.368, allocations: 236.3 kB / 334.6 MB, free: 11.4 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003674/0.3684, allocations: 104 kB / 334.7 MB, free: 11.35 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.914e-05/0.3685, allocations: 5.953 kB / 334.7 MB, free: 11.34 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005669/0.369, allocations: 173.3 kB / 334.8 MB, free: 11.21 MB / 270.1 MB Notification: Performance of pre-optimization done (n=12): time 4.649e-06/0.369, allocations: 4 kB / 334.8 MB, free: 11.21 MB / 270.1 MB Notification: Performance of matching and sorting (n=12): time 0.002361/0.3714, allocations: 0.553 MB / 335.4 MB, free: 10.64 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001092/0.3715, allocations: 106.8 kB / 335.5 MB, free: 10.51 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000387/0.3719, allocations: 294.5 kB / 335.8 MB, free: 10.21 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 4.018e-05/0.372, allocations: 25.7 kB / 335.8 MB, free: 10.18 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002705/0.3723, allocations: 199.5 kB / 336 MB, free: 9.984 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.261e-05/0.3723, allocations: 31.56 kB / 336 MB, free: 9.953 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.596e-05/0.3724, allocations: 29.7 kB / 336.1 MB, free: 9.918 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001895/0.3726, allocations: 334.8 kB / 336.4 MB, free: 9.582 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003645/0.3729, allocations: 104.2 kB / 336.5 MB, free: 9.48 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005045/0.3735, allocations: 214.8 kB / 336.7 MB, free: 9.223 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008158/0.3743, allocations: 329.4 kB / 337 MB, free: 8.852 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.104e-06/0.3743, allocations: 3.938 kB / 337 MB, free: 8.848 MB / 270.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001362/0.3757, allocations: 443.7 kB / 337.5 MB, free: 8.398 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.674e-05/0.3758, allocations: 33.7 kB / 337.5 MB, free: 8.359 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.316e-05/0.3758, allocations: 4 kB / 337.5 MB, free: 8.355 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004456/0.3762, allocations: 88.77 kB / 337.6 MB, free: 8.266 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002444/0.3765, allocations: 47.97 kB / 337.6 MB, free: 8.219 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003223/0.3797, allocations: 1.605 MB / 339.2 MB, free: 6.48 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004276/0.3802, allocations: 59.72 kB / 339.3 MB, free: 6.422 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.832e-05/0.3802, allocations: 12 kB / 339.3 MB, free: 6.41 MB / 270.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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,5)} Notification: Performance of prepare postOptimizeDAE: time 0.0004294/0.3806, allocations: 145.7 kB / 339.5 MB, free: 6.258 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.197e-05/0.3807, allocations: 27.64 kB / 339.5 MB, free: 6.23 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.088e-05/0.3808, allocations: 25.72 kB / 339.5 MB, free: 6.207 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.917e-06/0.3808, allocations: 4 kB / 339.5 MB, free: 6.203 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.154e-06/0.3808, allocations: 7.938 kB / 339.5 MB, free: 6.195 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.162e-06/0.3808, allocations: 3.984 kB / 339.5 MB, free: 6.191 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006012/0.3814, allocations: 301.5 kB / 339.8 MB, free: 5.848 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.749e-06/0.3814, allocations: 4 kB / 339.8 MB, free: 5.844 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001259/0.3815, allocations: 23.97 kB / 339.8 MB, free: 5.82 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000273/0.3818, allocations: 72.8 kB / 339.9 MB, free: 5.746 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.877e-05/0.3819, allocations: 4 kB / 339.9 MB, free: 5.742 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002554/0.3844, allocations: 1.581 MB / 341.5 MB, free: 4.027 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.464e-06/0.3844, allocations: 0 / 341.5 MB, free: 4.027 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001117/0.3856, allocations: 333.5 kB / 341.8 MB, free: 3.68 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001443/0.3857, allocations: 112.7 kB / 341.9 MB, free: 3.551 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.457e-05/0.3858, allocations: 4 kB / 341.9 MB, free: 3.547 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002553/0.386, allocations: 39.95 kB / 342 MB, free: 3.508 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001018/0.3861, allocations: 27.91 kB / 342 MB, free: 3.48 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.05e-05/0.3861, allocations: 192 / 342 MB, free: 3.48 MB / 270.1 MB Notification: Performance of sorting global known variables: time 0.000238/0.3864, allocations: 206 kB / 342.2 MB, free: 3.277 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3864, allocations: 4 kB / 342.2 MB, free: 3.273 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0004323/0.3868, allocations: 75.84 kB / 342.3 MB, free: 3.199 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 (7): * Single equations (assignments): 4 * 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.0002234/0.3871, allocations: 111.1 kB / 342.4 MB, free: 3.078 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.001186/0.3883, allocations: 426.3 kB / 342.8 MB, free: 2.637 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.3883, allocations: 0 / 342.8 MB, free: 2.637 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004749/0.3888, allocations: 242.8 kB / 343 MB, free: 2.387 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004048/0.3892, allocations: 40.75 kB / 343.1 MB, free: 2.348 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001269/0.3905, allocations: 0.5647 MB / 343.7 MB, free: 1.762 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006662/0.3911, allocations: 0.7482 MB / 344.4 MB, free: 0.9883 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 0.0001441/0.3913, allocations: 26.28 kB / 344.4 MB, free: 0.9609 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.246e-05/0.3914, allocations: 23.44 kB / 344.4 MB, free: 0.9375 MB / 270.1 MB Notification: Performance of SimCode: time 6.91e-07/0.3914, allocations: 0 / 344.4 MB, free: 0.9375 MB / 270.1 MB Notification: Performance of Templates: time 0.00934/0.4007, allocations: 3.761 MB / 348.2 MB, free: 13.18 MB / 286.1 MB make -j1 -f Modelica_3.2.1_Modelica.Electrical.Analog.Examples.InvertingAmp.makefile (rm -f Modelica_3.2.1_Modelica.Electrical.Analog.Examples.InvertingAmp.pipe ; mkfifo Modelica_3.2.1_Modelica.Electrical.Analog.Examples.InvertingAmp.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Electrical.Analog.Examples.InvertingAmp.pipe >> ../files/Modelica_3.2.1_Modelica.Electrical.Analog.Examples.InvertingAmp.sim & ./Modelica_3.2.1_Modelica.Electrical.Analog.Examples.InvertingAmp -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Electrical.Analog.Examples.InvertingAmp.pipe 2>&1)