Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.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.AmplifierWithOpAmpDetailed,tolerance=2e-07,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed") translateModel(Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed,tolerance=2e-07,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009366/0.0009368, allocations: 86.95 kB / 15.06 MB, free: 1.09 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.001251/0.001251, allocations: 168.7 kB / 15.95 MB, free: 204 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.633/1.633, allocations: 205.4 MB / 222.1 MB, free: 5.645 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.0005743/0.0005744, allocations: 16 kB / 278.9 MB, free: 12.82 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3293/0.3299, allocations: 47.6 MB / 326.5 MB, free: 1.402 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed): time 0.003185/0.3331, allocations: 2.71 MB / 329.2 MB, free: 15.25 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001795/0.3349, allocations: 0.9403 MB / 330.1 MB, free: 14.48 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001635/0.3351, allocations: 4.156 kB / 330.1 MB, free: 14.48 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001454/0.3353, allocations: 44.58 kB / 330.2 MB, free: 14.45 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003594/0.3357, allocations: 111.8 kB / 330.3 MB, free: 14.35 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002831/0.3359, allocations: 103.9 kB / 330.4 MB, free: 14.27 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004662/0.3364, allocations: 443 kB / 330.8 MB, free: 14 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002328/0.3367, allocations: 97.02 kB / 330.9 MB, free: 13.94 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000248/0.3369, allocations: 154 kB / 331.1 MB, free: 13.86 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002693/0.3372, allocations: 186.4 kB / 331.3 MB, free: 13.74 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 5.8e-05/0.3373, allocations: 21.62 kB / 331.3 MB, free: 13.74 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001491/0.3374, allocations: 53.22 kB / 331.3 MB, free: 13.72 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 8.427e-05/0.3375, allocations: 79.06 kB / 331.4 MB, free: 13.66 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001274/0.3376, allocations: 99.52 kB / 331.5 MB, free: 13.59 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004801/0.3381, allocations: 359.8 kB / 331.9 MB, free: 13.33 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.678e-06/0.3382, allocations: 0 / 331.9 MB, free: 13.33 MB / 270.1 MB Notification: Performance of FrontEnd: time 4.739e-06/0.3382, allocations: 1.062 kB / 331.9 MB, free: 13.33 MB / 270.1 MB Notification: Performance of Transformations before backend: time 1.867e-05/0.3382, allocations: 0 / 331.9 MB, free: 13.33 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: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.001401/0.3396, allocations: 0.6831 MB / 332.5 MB, free: 12.76 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.252e-05/0.3397, allocations: 8.5 kB / 332.5 MB, free: 12.76 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001142/0.3398, allocations: 47.09 kB / 332.6 MB, free: 12.73 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004426/0.3402, allocations: 296.3 kB / 332.9 MB, free: 12.44 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.672e-05/0.3403, allocations: 30.17 kB / 332.9 MB, free: 12.42 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.343e-05/0.3404, allocations: 34.91 kB / 332.9 MB, free: 12.41 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007583/0.3411, allocations: 351.5 kB / 333.3 MB, free: 12.2 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.402e-05/0.3412, allocations: 0 / 333.3 MB, free: 12.2 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.501e-05/0.3412, allocations: 15.25 kB / 333.3 MB, free: 12.18 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.188e-05/0.3412, allocations: 7.625 kB / 333.3 MB, free: 12.18 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005593/0.3418, allocations: 246.5 kB / 333.6 MB, free: 12.07 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001985/0.3438, allocations: 1.193 MB / 334.7 MB, free: 11.03 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006695/0.3445, allocations: 287.7 kB / 335 MB, free: 10.74 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004619/0.345, allocations: 217.2 kB / 335.2 MB, free: 10.53 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009209/0.3459, allocations: 1.125 MB / 336.4 MB, free: 9.145 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.679e-05/0.3459, allocations: 42.78 kB / 336.4 MB, free: 9.094 MB / 270.1 MB Notification: Performance of pre-optimization done (n=27): time 2.184e-06/0.3459, allocations: 4 kB / 336.4 MB, free: 9.09 MB / 270.1 MB Notification: Performance of matching and sorting (n=27): time 0.001385/0.3473, allocations: 0.5359 MB / 336.9 MB, free: 8.527 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.297e-05/0.3474, allocations: 85.09 kB / 337 MB, free: 8.426 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003691/0.3478, allocations: 333.7 kB / 337.4 MB, free: 8.094 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 3.522e-05/0.3478, allocations: 37.69 kB / 337.4 MB, free: 8.051 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001431/0.348, allocations: 212 kB / 337.6 MB, free: 7.84 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.57e-05/0.3481, allocations: 102.5 kB / 337.7 MB, free: 7.738 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.647e-05/0.3481, allocations: 8 kB / 337.7 MB, free: 7.73 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001266/0.3482, allocations: 346.8 kB / 338 MB, free: 7.383 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002258/0.3484, allocations: 104.7 kB / 338.1 MB, free: 7.277 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002811/0.3487, allocations: 194 kB / 338.3 MB, free: 7.059 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002725/0.349, allocations: 132.1 kB / 338.5 MB, free: 6.93 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.349, allocations: 0 / 338.5 MB, free: 6.93 MB / 270.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0008733/0.3499, allocations: 441.4 kB / 338.9 MB, free: 6.488 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.304e-05/0.3499, allocations: 12.25 kB / 338.9 MB, free: 6.477 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.847e-06/0.35, allocations: 0 / 338.9 MB, free: 6.477 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003069/0.3503, allocations: 64.81 kB / 339 MB, free: 6.41 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000338/0.3506, allocations: 79.89 kB / 339 MB, free: 6.332 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002064/0.3527, allocations: 1.764 MB / 340.8 MB, free: 4.438 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003054/0.353, allocations: 47.61 kB / 340.9 MB, free: 4.391 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.626e-05/0.3531, allocations: 16 kB / 340.9 MB, free: 4.375 MB / 270.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (37): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * 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: 1 {(1,100.0%) 8} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002359/0.3533, allocations: 149.7 kB / 341 MB, free: 4.219 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.959e-05/0.3534, allocations: 31.62 kB / 341.1 MB, free: 4.188 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007707/0.3542, allocations: 350.3 kB / 341.4 MB, free: 3.832 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.397e-06/0.3542, allocations: 0 / 341.4 MB, free: 3.832 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/0.3542, allocations: 3.953 kB / 341.4 MB, free: 3.828 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.244e-06/0.3542, allocations: 7.984 kB / 341.4 MB, free: 3.82 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004491/0.3547, allocations: 389.2 kB / 341.8 MB, free: 3.391 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.3547, allocations: 0 / 341.8 MB, free: 3.391 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003171/0.355, allocations: 59.95 kB / 341.8 MB, free: 3.332 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001804/0.3552, allocations: 60.75 kB / 341.9 MB, free: 3.27 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.719e-05/0.3552, allocations: 8 kB / 341.9 MB, free: 3.262 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003755/0.3556, allocations: 0.6033 MB / 342.5 MB, free: 2.633 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.316e-06/0.3556, allocations: 3.984 kB / 342.5 MB, free: 2.629 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008793/0.3565, allocations: 0.5444 MB / 343.1 MB, free: 2.066 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001657/0.3567, allocations: 140.5 kB / 343.2 MB, free: 1.91 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.637e-05/0.3567, allocations: 4 kB / 343.2 MB, free: 1.906 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002598/0.357, allocations: 27.98 kB / 343.2 MB, free: 1.879 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.698e-05/0.3571, allocations: 15.97 kB / 343.2 MB, free: 1.863 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.433e-05/0.3571, allocations: 15.94 kB / 343.3 MB, free: 1.848 MB / 270.1 MB Notification: Performance of sorting global known variables: time 0.0002821/0.3574, allocations: 235.2 kB / 343.5 MB, free: 1.625 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3574, allocations: 0 / 343.5 MB, free: 1.625 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.000582/0.358, allocations: 111.8 kB / 343.6 MB, free: 1.516 MB / 270.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 7 (opAmp.v_in,opAmp.q_fr1,opAmp.q_fr2,opAmp.q_fr3,opAmp.q_fp1,opAmp.v_source,opAmp.x) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * 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 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002884/0.3583, allocations: 127.2 kB / 343.7 MB, free: 1.379 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.0008859/0.3592, allocations: 418.4 kB / 344.1 MB, free: 0.957 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 2.945e-06/0.3592, allocations: 0 / 344.1 MB, free: 0.957 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003407/0.3596, allocations: 147.8 kB / 344.3 MB, free: 0.8125 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004487/0.36, allocations: 53.91 kB / 344.3 MB, free: 0.7578 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001527/0.3616, allocations: 1.043 MB / 345.4 MB, free: 15.68 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004154/0.362, allocations: 0.7913 MB / 346.2 MB, free: 14.86 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0001712/0.3622, allocations: 42.89 kB / 346.2 MB, free: 14.82 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.451e-05/0.3622, allocations: 27.42 kB / 346.2 MB, free: 14.79 MB / 286.1 MB Notification: Performance of SimCode: time 1.834e-06/0.3623, allocations: 4 kB / 346.2 MB, free: 14.79 MB / 286.1 MB Notification: Performance of Templates: time 0.008277/0.3705, allocations: 3.597 MB / 349.8 MB, free: 11.19 MB / 286.1 MB make -j1 -f Modelica_3.2.1_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.makefile (rm -f Modelica_3.2.1_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.pipe ; mkfifo Modelica_3.2.1_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.pipe >> ../files/Modelica_3.2.1_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.sim & ./Modelica_3.2.1_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.pipe 2>&1)