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.001207/0.001207, allocations: 100.1 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.001337/0.001338, 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.559/1.559, 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.0004962/0.0004963, allocations: 12 kB / 278.9 MB, free: 12.83 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3955/0.396, allocations: 47.58 MB / 326.5 MB, free: 1.41 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed): time 0.003522/0.3997, allocations: 2.559 MB / 329 MB, free: 15.4 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002284/0.402, allocations: 0.9476 MB / 330 MB, free: 14.63 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002402/0.4023, allocations: 5.062 kB / 330 MB, free: 14.63 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000104/0.4024, allocations: 43.19 kB / 330 MB, free: 14.59 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005281/0.4029, allocations: 138.6 kB / 330.1 MB, free: 14.48 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003634/0.4033, allocations: 112.3 kB / 330.2 MB, free: 14.38 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004827/0.4038, allocations: 313 kB / 330.6 MB, free: 14.19 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003084/0.4041, allocations: 100.2 kB / 330.7 MB, free: 14.12 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002835/0.4044, allocations: 169.5 kB / 330.8 MB, free: 14.03 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003213/0.4047, allocations: 178.7 kB / 331 MB, free: 13.91 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 6.114e-05/0.4048, allocations: 20.75 kB / 331 MB, free: 13.91 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001948/0.405, allocations: 54.34 kB / 331.1 MB, free: 13.9 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 7.841e-05/0.4051, allocations: 67.73 kB / 331.1 MB, free: 13.84 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001135/0.4052, allocations: 98.98 kB / 331.2 MB, free: 13.78 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004654/0.4057, allocations: 371.5 kB / 331.6 MB, free: 13.51 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.536e-06/0.4057, allocations: 0 / 331.6 MB, free: 13.51 MB / 270.1 MB Notification: Performance of FrontEnd: time 3.006e-06/0.4057, allocations: 0 / 331.6 MB, free: 13.51 MB / 270.1 MB Notification: Performance of Transformations before backend: time 7.394e-06/0.4057, allocations: 0 / 331.6 MB, free: 13.51 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.001522/0.4073, allocations: 0.6787 MB / 332.3 MB, free: 12.94 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.808e-05/0.4073, allocations: 13.36 kB / 332.3 MB, free: 12.93 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001148/0.4075, allocations: 46.19 kB / 332.3 MB, free: 12.91 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004682/0.4079, allocations: 289.3 kB / 332.6 MB, free: 12.62 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.81e-05/0.408, allocations: 30.2 kB / 332.6 MB, free: 12.61 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.677e-05/0.4081, allocations: 46.92 kB / 332.7 MB, free: 12.58 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007988/0.4089, allocations: 344 kB / 333 MB, free: 12.37 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.444e-05/0.4089, allocations: 0 / 333 MB, free: 12.37 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.652e-05/0.409, allocations: 15.41 kB / 333 MB, free: 12.36 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.649e-05/0.409, allocations: 7.594 kB / 333 MB, free: 12.36 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006051/0.4096, allocations: 237.8 kB / 333.3 MB, free: 12.25 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002486/0.4121, allocations: 1.186 MB / 334.5 MB, free: 11.29 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007424/0.4129, allocations: 299.7 kB / 334.8 MB, free: 10.99 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001011/0.4139, allocations: 1.125 MB / 335.9 MB, free: 9.605 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.212e-05/0.4139, allocations: 38.73 kB / 335.9 MB, free: 9.559 MB / 270.1 MB Notification: Performance of pre-optimization done (n=27): time 2.756e-06/0.4139, allocations: 4 kB / 335.9 MB, free: 9.555 MB / 270.1 MB Notification: Performance of matching and sorting (n=27): time 0.001366/0.4153, allocations: 0.4974 MB / 336.4 MB, free: 9.031 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.831e-05/0.4154, allocations: 77.11 kB / 336.5 MB, free: 8.938 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004121/0.4158, allocations: 341.6 kB / 336.8 MB, free: 8.598 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 4.006e-05/0.4159, allocations: 29.7 kB / 336.9 MB, free: 8.562 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001655/0.416, allocations: 220 kB / 337.1 MB, free: 8.344 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.337e-05/0.4161, allocations: 94.56 kB / 337.2 MB, free: 8.25 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.75e-05/0.4161, allocations: 8 kB / 337.2 MB, free: 8.242 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.000174/0.4163, allocations: 346.8 kB / 337.5 MB, free: 7.895 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002368/0.4166, allocations: 108.7 kB / 337.6 MB, free: 7.785 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002896/0.4169, allocations: 182 kB / 337.8 MB, free: 7.578 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002782/0.4172, allocations: 140.1 kB / 337.9 MB, free: 7.441 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/0.4172, allocations: 0 / 337.9 MB, free: 7.441 MB / 270.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0006765/0.4179, allocations: 372.8 kB / 338.3 MB, free: 7.07 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.091e-05/0.4179, allocations: 8 kB / 338.3 MB, free: 7.062 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.919e-06/0.4179, allocations: 3.953 kB / 338.3 MB, free: 7.059 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.931e-05/0.4179, allocations: 4.25 kB / 338.3 MB, free: 7.055 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004333/0.4184, allocations: 107.9 kB / 338.4 MB, free: 6.949 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.531e-05/0.4184, allocations: 11.92 kB / 338.4 MB, free: 6.938 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000305/0.4187, allocations: 43.53 kB / 338.5 MB, free: 6.895 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.123e-05/0.4187, allocations: 15.98 kB / 338.5 MB, free: 6.879 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 (45): * Single equations (assignments): 45 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001977/0.419, allocations: 153.7 kB / 338.6 MB, free: 6.719 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.304e-05/0.419, allocations: 35.62 kB / 338.7 MB, free: 6.684 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007697/0.4198, allocations: 338.2 kB / 339 MB, free: 6.34 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.981e-06/0.4198, allocations: 4 kB / 339 MB, free: 6.336 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.542e-06/0.4198, allocations: 0 / 339 MB, free: 6.336 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.871e-06/0.4198, allocations: 4 kB / 339 MB, free: 6.332 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000594/0.4204, allocations: 385.2 kB / 339.4 MB, free: 5.906 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.815e-06/0.4205, allocations: 7.938 kB / 339.4 MB, free: 5.898 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003755/0.4208, allocations: 71.89 kB / 339.5 MB, free: 5.828 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002948/0.4212, allocations: 32.84 kB / 339.5 MB, free: 5.793 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.561e-05/0.4212, allocations: 11.98 kB / 339.5 MB, free: 5.781 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004417/0.4216, allocations: 0.568 MB / 340.1 MB, free: 5.188 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.933e-06/0.4217, allocations: 0 / 340.1 MB, free: 5.188 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000933/0.4226, allocations: 0.5288 MB / 340.6 MB, free: 4.641 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001738/0.4228, allocations: 136.5 kB / 340.7 MB, free: 4.488 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.851e-05/0.4229, allocations: 12 kB / 340.7 MB, free: 4.477 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002643/0.4231, allocations: 23.98 kB / 340.8 MB, free: 4.453 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.678e-05/0.4232, allocations: 19.92 kB / 340.8 MB, free: 4.434 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.928e-05/0.4232, allocations: 7.938 kB / 340.8 MB, free: 4.426 MB / 270.1 MB Notification: Performance of sorting global known variables: time 0.0002514/0.4235, allocations: 243.2 kB / 341 MB, free: 4.195 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.4235, allocations: 0 / 341 MB, free: 4.195 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0004735/0.424, allocations: 107.8 kB / 341.1 MB, free: 4.09 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 (23): * Single equations (assignments): 22 * 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 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002881/0.4243, allocations: 135.2 kB / 341.3 MB, free: 3.949 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.0006212/0.4249, allocations: 263.8 kB / 341.5 MB, free: 3.691 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 4.99e-06/0.4249, allocations: 0 / 341.5 MB, free: 3.691 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003637/0.4253, allocations: 147.8 kB / 341.7 MB, free: 3.547 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003742/0.4257, allocations: 33.94 kB / 341.7 MB, free: 3.512 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001689/0.4274, allocations: 1.042 MB / 342.8 MB, free: 2.445 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004503/0.4278, allocations: 0.7955 MB / 343.5 MB, free: 1.621 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 0.0001991/0.428, allocations: 46.88 kB / 343.6 MB, free: 1.574 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.347e-05/0.4281, allocations: 23.44 kB / 343.6 MB, free: 1.551 MB / 270.1 MB Notification: Performance of SimCode: time 7.81e-07/0.4281, allocations: 7.875 kB / 343.6 MB, free: 1.543 MB / 270.1 MB Notification: Performance of Templates: time 0.008331/0.4365, allocations: 3.188 MB / 346.8 MB, free: 14.35 MB / 286.1 MB make -j1 -f Modelica_3.2.1_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: