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.001081/0.001081, allocations: 99.7 kB / 15.05 MB, free: 1.105 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.000996/0.0009961, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.852/1.852, allocations: 205.4 MB / 222.1 MB, free: 5.652 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.0004689/0.0004692, allocations: 8 kB / 278.9 MB, free: 12.84 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3495/0.35, allocations: 47.59 MB / 326.5 MB, free: 1.617 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.InvertingAmp): time 0.003057/0.3531, allocations: 2.217 MB / 328.7 MB, free: 15.88 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001212/0.3544, allocations: 0.6736 MB / 329.3 MB, free: 15.33 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001249/0.3545, allocations: 7.906 kB / 329.4 MB, free: 15.33 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 6.081e-05/0.3546, allocations: 32.44 kB / 329.4 MB, free: 15.3 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002305/0.3548, allocations: 99.36 kB / 329.5 MB, free: 15.21 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002633/0.3551, allocations: 60.78 kB / 329.5 MB, free: 15.16 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003668/0.3555, allocations: 241.8 kB / 329.8 MB, free: 15.01 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002221/0.3557, allocations: 99.58 kB / 329.9 MB, free: 14.95 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001802/0.3559, allocations: 121.1 kB / 330 MB, free: 14.88 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001949/0.3561, allocations: 140.5 kB / 330.1 MB, free: 14.79 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 4.65e-05/0.3562, allocations: 17.09 kB / 330.1 MB, free: 14.79 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.86e-05/0.3562, allocations: 17.94 kB / 330.2 MB, free: 14.79 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 7.027e-05/0.3563, allocations: 47.61 kB / 330.2 MB, free: 14.75 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001137/0.3564, allocations: 81.2 kB / 330.3 MB, free: 14.69 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003348/0.3568, allocations: 275.4 kB / 330.6 MB, free: 14.48 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.3568, allocations: 4 kB / 330.6 MB, free: 14.48 MB / 270.1 MB Notification: Performance of FrontEnd: time 3.036e-06/0.3568, allocations: 0 / 330.6 MB, free: 14.48 MB / 270.1 MB Notification: Performance of Transformations before backend: time 7.034e-06/0.3568, allocations: 1.031 kB / 330.6 MB, free: 14.48 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.001493/0.3583, allocations: 0.619 MB / 331.2 MB, free: 13.93 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.25e-05/0.3584, allocations: 8.312 kB / 331.2 MB, free: 13.93 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001033/0.3585, allocations: 33.41 kB / 331.2 MB, free: 13.91 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004053/0.3589, allocations: 265.5 kB / 331.5 MB, free: 13.64 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.14e-05/0.359, allocations: 26.67 kB / 331.5 MB, free: 13.62 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.508e-05/0.359, allocations: 28.64 kB / 331.5 MB, free: 13.61 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008381/0.3599, allocations: 307.9 kB / 331.8 MB, free: 13.42 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.242e-05/0.3599, allocations: 1.031 kB / 331.8 MB, free: 13.42 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.162e-05/0.3599, allocations: 10.19 kB / 331.8 MB, free: 13.41 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.172e-05/0.3599, allocations: 6.219 kB / 331.9 MB, free: 13.41 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008422/0.3608, allocations: 276.1 kB / 332.1 MB, free: 13.29 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001987/0.3628, allocations: 1.109 MB / 333.2 MB, free: 12.32 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009782/0.3638, allocations: 247.6 kB / 333.5 MB, free: 12.2 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.882e-05/0.3638, allocations: 4.984 kB / 333.5 MB, free: 12.2 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005835/0.3644, allocations: 180.9 kB / 333.7 MB, free: 12.06 MB / 270.1 MB Notification: Performance of pre-optimization done (n=12): time 2.244e-06/0.3644, allocations: 0 / 333.7 MB, free: 12.06 MB / 270.1 MB Notification: Performance of matching and sorting (n=12): time 0.002271/0.3667, allocations: 0.5512 MB / 334.2 MB, free: 11.63 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.945e-05/0.3668, allocations: 106.8 kB / 334.3 MB, free: 11.5 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003453/0.3672, allocations: 278.7 kB / 334.6 MB, free: 11.22 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 4.865e-05/0.3672, allocations: 29.7 kB / 334.6 MB, free: 11.18 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001625/0.3674, allocations: 199.5 kB / 334.8 MB, free: 10.98 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.103e-05/0.3675, allocations: 39.45 kB / 334.8 MB, free: 10.95 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.316e-05/0.3675, allocations: 4 kB / 334.8 MB, free: 10.94 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001665/0.3677, allocations: 338.8 kB / 335.2 MB, free: 10.6 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003482/0.368, allocations: 104.2 kB / 335.3 MB, free: 10.5 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004391/0.3685, allocations: 214.8 kB / 335.5 MB, free: 10.24 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000372/0.3688, allocations: 141.6 kB / 335.6 MB, free: 10.1 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.076e-06/0.3689, allocations: 0 / 335.6 MB, free: 10.1 MB / 270.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001231/0.3701, allocations: 455.6 kB / 336.1 MB, free: 9.637 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.229e-05/0.3702, allocations: 37.64 kB / 336.1 MB, free: 9.594 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.046e-06/0.3702, allocations: 0 / 336.1 MB, free: 9.594 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000413/0.3706, allocations: 72.81 kB / 336.2 MB, free: 9.52 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000204/0.3708, allocations: 59.98 kB / 336.2 MB, free: 9.461 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002366/0.3732, allocations: 1.609 MB / 337.8 MB, free: 7.719 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003762/0.3736, allocations: 67.64 kB / 337.9 MB, free: 7.652 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.396e-05/0.3736, allocations: 12 kB / 337.9 MB, free: 7.641 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 ($whenCondition1,$PRE.vIn.signalSource.T_start,vIn.signalSource.T_start,$PRE.vIn.signalSource.count,vIn.signalSource.count) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 5} Notification: Performance of prepare postOptimizeDAE: time 0.0001584/0.3738, allocations: 145.8 kB / 338.1 MB, free: 7.488 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.705e-05/0.3738, allocations: 23.72 kB / 338.1 MB, free: 7.465 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.006e-05/0.3739, allocations: 29.7 kB / 338.1 MB, free: 7.438 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.3739, allocations: 4 kB / 338.1 MB, free: 7.434 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.503e-06/0.3739, allocations: 0 / 338.1 MB, free: 7.434 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.332e-06/0.3739, allocations: 8.328 kB / 338.1 MB, free: 7.426 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002789/0.3742, allocations: 305.3 kB / 338.4 MB, free: 7.078 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.266e-06/0.3742, allocations: 4 kB / 338.4 MB, free: 7.074 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001374/0.3743, allocations: 19.98 kB / 338.5 MB, free: 7.055 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002548/0.3746, allocations: 68.8 kB / 338.5 MB, free: 6.984 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.727e-05/0.3746, allocations: 4 kB / 338.5 MB, free: 6.98 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002326/0.377, allocations: 1.589 MB / 340.1 MB, free: 5.258 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.447e-06/0.377, allocations: 4.031 kB / 340.1 MB, free: 5.254 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00101/0.378, allocations: 341.8 kB / 340.5 MB, free: 4.898 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001164/0.3781, allocations: 120.7 kB / 340.6 MB, free: 4.762 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.828e-05/0.3782, allocations: 8 kB / 340.6 MB, free: 4.754 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002605/0.3784, allocations: 31.97 kB / 340.6 MB, free: 4.723 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.926e-05/0.3785, allocations: 32.27 kB / 340.6 MB, free: 4.691 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.253e-05/0.3786, allocations: 4 kB / 340.6 MB, free: 4.688 MB / 270.1 MB Notification: Performance of sorting global known variables: time 0.0002101/0.3788, allocations: 202 kB / 340.8 MB, free: 4.492 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3788, allocations: 0 / 340.8 MB, free: 4.492 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.000393/0.3792, allocations: 79.84 kB / 340.9 MB, free: 4.414 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001373/0.3793, allocations: 99.19 kB / 341 MB, free: 4.305 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.0009873/0.3803, allocations: 433.9 kB / 341.4 MB, free: 3.855 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/0.3803, allocations: 0 / 341.4 MB, free: 3.855 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004648/0.3808, allocations: 235.2 kB / 341.7 MB, free: 3.613 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002705/0.3811, allocations: 36.86 kB / 341.7 MB, free: 3.574 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009798/0.3821, allocations: 0.5355 MB / 342.2 MB, free: 3.016 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003557/0.3824, allocations: 0.7638 MB / 343 MB, free: 2.227 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 0.0001072/0.3826, allocations: 30.27 kB / 343 MB, free: 2.199 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.622e-05/0.3826, allocations: 19.44 kB / 343.1 MB, free: 2.18 MB / 270.1 MB Notification: Performance of SimCode: time 4.71e-07/0.3826, allocations: 4 kB / 343.1 MB, free: 2.176 MB / 270.1 MB Notification: Performance of Templates: time 0.007468/0.3901, allocations: 3.643 MB / 346.7 MB, free: 14.53 MB / 286.1 MB make -j1 -f Modelica_3.2.1_Modelica.Electrical.Analog.Examples.InvertingAmp.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: