Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_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.2_Modelica.Electrical.Analog.Examples.InvertingAmp") translateModel(Modelica.Electrical.Analog.Examples.InvertingAmp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.2_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.001046/0.001046, allocations: 87.69 kB / 16.32 MB, free: 6.449 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.001602/0.001603, allocations: 178 kB / 17.21 MB, free: 6.32 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.958/1.958, allocations: 205.4 MB / 223.4 MB, free: 5.602 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.0004926/0.0004928, allocations: 12 kB / 280.1 MB, free: 12.83 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2838/0.2843, allocations: 47.59 MB / 327.7 MB, free: 1.398 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.InvertingAmp): time 0.002537/0.2869, allocations: 2.333 MB / 330.1 MB, free: 15.55 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001214/0.2881, allocations: 0.6558 MB / 330.7 MB, free: 15.02 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001353/0.2883, allocations: 4.812 kB / 330.7 MB, free: 15.02 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001281/0.2884, allocations: 36.12 kB / 330.8 MB, free: 14.98 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001659/0.2886, allocations: 73.56 kB / 330.8 MB, free: 14.92 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002506/0.2888, allocations: 60.53 kB / 330.9 MB, free: 14.87 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.000368/0.2892, allocations: 343.3 kB / 331.2 MB, free: 14.66 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002153/0.2894, allocations: 91.34 kB / 331.3 MB, free: 14.61 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001756/0.2896, allocations: 118.6 kB / 331.4 MB, free: 14.55 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001987/0.2898, allocations: 151 kB / 331.6 MB, free: 14.44 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 4.943e-05/0.2899, allocations: 18.56 kB / 331.6 MB, free: 14.44 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.817e-05/0.2899, allocations: 20.81 kB / 331.6 MB, free: 14.44 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 6.337e-05/0.29, allocations: 51.92 kB / 331.7 MB, free: 14.39 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 8.685e-05/0.2901, allocations: 77.39 kB / 331.7 MB, free: 14.34 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002737/0.2904, allocations: 268 kB / 332 MB, free: 14.14 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.071e-06/0.2904, allocations: 1.062 kB / 332 MB, free: 14.14 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.2904, allocations: 0 / 332 MB, free: 14.14 MB / 270.1 MB Notification: Performance of Transformations before backend: time 5.911e-06/0.2904, allocations: 0 / 332 MB, free: 14.14 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.001173/0.2916, allocations: 0.6194 MB / 332.6 MB, free: 13.59 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.025e-05/0.2916, allocations: 13.56 kB / 332.6 MB, free: 13.59 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.767e-05/0.2917, allocations: 35.56 kB / 332.7 MB, free: 13.57 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003297/0.2921, allocations: 270.4 kB / 332.9 MB, free: 13.29 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.729e-05/0.2921, allocations: 23.17 kB / 333 MB, free: 13.28 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.291e-05/0.2921, allocations: 24 kB / 333 MB, free: 13.27 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006436/0.2928, allocations: 310.9 kB / 333.3 MB, free: 13.08 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.165e-05/0.2928, allocations: 3.938 kB / 333.3 MB, free: 13.07 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.286e-05/0.2929, allocations: 10.97 kB / 333.3 MB, free: 13.07 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.187e-06/0.2929, allocations: 5.219 kB / 333.3 MB, free: 13.07 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007355/0.2936, allocations: 277.1 kB / 333.6 MB, free: 12.95 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001636/0.2953, allocations: 1.11 MB / 334.7 MB, free: 11.97 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007078/0.296, allocations: 239.8 kB / 334.9 MB, free: 11.85 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002904/0.2963, allocations: 104.4 kB / 335 MB, free: 11.8 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.05e-05/0.2963, allocations: 2.219 kB / 335 MB, free: 11.8 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004714/0.2968, allocations: 184.7 kB / 335.2 MB, free: 11.66 MB / 270.1 MB Notification: Performance of pre-optimization done (n=12): time 1.883e-06/0.2968, allocations: 0 / 335.2 MB, free: 11.66 MB / 270.1 MB Notification: Performance of matching and sorting (n=12): time 0.00191/0.2987, allocations: 0.5458 MB / 335.8 MB, free: 11.19 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.874e-05/0.2988, allocations: 106.8 kB / 335.9 MB, free: 11.06 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003061/0.2991, allocations: 278.7 kB / 336.1 MB, free: 10.78 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 2.633e-05/0.2992, allocations: 29.7 kB / 336.2 MB, free: 10.74 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00013/0.2993, allocations: 199.5 kB / 336.4 MB, free: 10.54 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.773e-05/0.2993, allocations: 43.45 kB / 336.4 MB, free: 10.5 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.434e-05/0.2994, allocations: 4 kB / 336.4 MB, free: 10.5 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001165/0.2995, allocations: 334.8 kB / 336.7 MB, free: 10.16 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003086/0.2998, allocations: 108.2 kB / 336.8 MB, free: 10.05 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003652/0.3002, allocations: 210.8 kB / 337 MB, free: 9.801 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003234/0.3005, allocations: 145.6 kB / 337.2 MB, free: 9.652 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.316e-06/0.3005, allocations: 3.938 kB / 337.2 MB, free: 9.648 MB / 270.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001076/0.3016, allocations: 455.6 kB / 337.6 MB, free: 9.188 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.922e-05/0.3017, allocations: 33.7 kB / 337.7 MB, free: 9.148 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.043e-06/0.3017, allocations: 3.938 kB / 337.7 MB, free: 9.145 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003102/0.302, allocations: 76.89 kB / 337.7 MB, free: 9.066 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001979/0.3022, allocations: 51.91 kB / 337.8 MB, free: 9.016 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002036/0.3042, allocations: 1.589 MB / 339.4 MB, free: 7.293 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003527/0.3046, allocations: 63.7 kB / 339.4 MB, free: 7.23 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.742e-05/0.3046, allocations: 12 kB / 339.5 MB, free: 7.219 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.0001505/0.3048, allocations: 141.9 kB / 339.6 MB, free: 7.07 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.502e-05/0.3048, allocations: 23.72 kB / 339.6 MB, free: 7.047 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.922e-05/0.3049, allocations: 33.7 kB / 339.7 MB, free: 7.016 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.753e-06/0.3049, allocations: 0 / 339.7 MB, free: 7.016 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.569e-06/0.3049, allocations: 192 / 339.7 MB, free: 7.016 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.714e-06/0.3049, allocations: 15.88 kB / 339.7 MB, free: 7 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002806/0.3052, allocations: 309.3 kB / 340 MB, free: 6.648 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.315e-06/0.3052, allocations: 0 / 340 MB, free: 6.648 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001151/0.3053, allocations: 23.97 kB / 340 MB, free: 6.625 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002372/0.3056, allocations: 68.81 kB / 340.1 MB, free: 6.555 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.351e-05/0.3056, allocations: 0 / 340.1 MB, free: 6.555 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00187/0.3075, allocations: 1.57 MB / 341.6 MB, free: 4.852 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.497e-06/0.3075, allocations: 4.031 kB / 341.6 MB, free: 4.848 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009009/0.3084, allocations: 341.8 kB / 342 MB, free: 4.492 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001163/0.3085, allocations: 116.7 kB / 342.1 MB, free: 4.359 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.783e-05/0.3086, allocations: 8 kB / 342.1 MB, free: 4.352 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002206/0.3088, allocations: 32.16 kB / 342.1 MB, free: 4.32 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.232e-05/0.3089, allocations: 23.95 kB / 342.1 MB, free: 4.297 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.494e-05/0.3089, allocations: 12 kB / 342.2 MB, free: 4.285 MB / 270.1 MB Notification: Performance of sorting global known variables: time 0.0001924/0.3091, allocations: 198 kB / 342.4 MB, free: 4.094 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.3091, allocations: 4 kB / 342.4 MB, free: 4.09 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0003558/0.3095, allocations: 75.84 kB / 342.4 MB, free: 4.016 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.0001183/0.3096, allocations: 99.25 kB / 342.5 MB, free: 3.906 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.0009027/0.3105, allocations: 442 kB / 343 MB, free: 3.449 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 5.55e-06/0.3105, allocations: 0 / 343 MB, free: 3.449 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004203/0.311, allocations: 239.1 kB / 343.2 MB, free: 3.203 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003082/0.3113, allocations: 40.81 kB / 343.2 MB, free: 3.16 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009366/0.3122, allocations: 0.5431 MB / 343.8 MB, free: 2.594 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003156/0.3126, allocations: 0.7521 MB / 344.5 MB, free: 1.816 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 0.0001079/0.3127, allocations: 30.27 kB / 344.6 MB, free: 1.789 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.406e-05/0.3128, allocations: 19.44 kB / 344.6 MB, free: 1.77 MB / 270.1 MB Notification: Performance of SimCode: time 3e-07/0.3128, allocations: 7.938 kB / 344.6 MB, free: 1.762 MB / 270.1 MB Notification: Performance of Templates: time 0.007274/0.32, allocations: 3.636 MB / 348.2 MB, free: 14.12 MB / 286.1 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.Analog.Examples.InvertingAmp.makefile (rm -f Modelica_3.2.2_Modelica.Electrical.Analog.Examples.InvertingAmp.pipe ; mkfifo Modelica_3.2.2_Modelica.Electrical.Analog.Examples.InvertingAmp.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Electrical.Analog.Examples.InvertingAmp.pipe >> ../files/Modelica_3.2.2_Modelica.Electrical.Analog.Examples.InvertingAmp.sim & ./Modelica_3.2.2_Modelica.Electrical.Analog.Examples.InvertingAmp -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Electrical.Analog.Examples.InvertingAmp.pipe 2>&1)