Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.2_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.2_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed") translateModel(Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed,tolerance=2e-07,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_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.001147/0.001147, allocations: 113.7 kB / 17.07 MB, free: 5.961 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.001761/0.001761, allocations: 198.8 kB / 18 MB, free: 5.051 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.569/1.569, allocations: 205.1 MB / 223.9 MB, free: 12.21 MB / 190.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.00144/0.00144, allocations: 47.94 kB / 327.9 MB, free: 3.285 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1232/0.1247, allocations: 46.61 MB / 374.5 MB, free: 4.57 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed): time 0.005387/0.1301, allocations: 3.186 MB / 377.7 MB, free: 1.367 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002486/0.1327, allocations: 1.006 MB / 378.7 MB, free: 356 kB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004656/0.1332, allocations: 4 kB / 378.7 MB, free: 352 kB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003604/0.1336, allocations: 55.42 kB / 378.7 MB, free: 296 kB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007311/0.1344, allocations: 130.9 kB / 378.9 MB, free: 164 kB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006902/0.1351, allocations: 147.7 kB / 379 MB, free: 16 kB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.2899/0.4249, allocations: 488.4 kB / 379.5 MB, free: 9.832 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004031/0.4254, allocations: 140.4 kB / 379.6 MB, free: 9.812 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003895/0.4258, allocations: 186.2 kB / 379.8 MB, free: 9.805 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003345/0.4262, allocations: 207 kB / 380 MB, free: 9.758 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 7.98e-05/0.4262, allocations: 39.41 kB / 380 MB, free: 9.758 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002488/0.4265, allocations: 75.14 kB / 380.1 MB, free: 9.758 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001023/0.4266, allocations: 95.77 kB / 380.2 MB, free: 9.742 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002197/0.4268, allocations: 213.8 kB / 380.4 MB, free: 9.684 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008258/0.4277, allocations: 0.4941 MB / 380.9 MB, free: 9.613 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.03e-06/0.4277, allocations: 0.5938 kB / 380.9 MB, free: 9.613 MB / 318.1 MB Notification: Performance of FrontEnd: time 4.188e-06/0.4277, allocations: 2.562 kB / 380.9 MB, free: 9.613 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.052e-05/0.4277, allocations: 4.031 kB / 380.9 MB, free: 9.613 MB / 318.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.0015/0.4292, allocations: 0.7314 MB / 381.7 MB, free: 9.121 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.602e-05/0.4293, allocations: 9.25 kB / 381.7 MB, free: 9.121 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001427/0.4294, allocations: 49.44 kB / 381.7 MB, free: 9.098 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004745/0.4299, allocations: 305.4 kB / 382 MB, free: 8.867 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.763e-05/0.43, allocations: 24.78 kB / 382 MB, free: 8.867 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.016e-05/0.4301, allocations: 41.39 kB / 382.1 MB, free: 8.863 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000695/0.4308, allocations: 349.2 kB / 382.4 MB, free: 8.801 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.695e-05/0.4308, allocations: 7.125 kB / 382.4 MB, free: 8.797 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.854e-05/0.4308, allocations: 15.38 kB / 382.4 MB, free: 8.797 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.918e-05/0.4309, allocations: 7.812 kB / 382.4 MB, free: 8.797 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005024/0.4314, allocations: 233 kB / 382.7 MB, free: 8.793 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002144/0.4335, allocations: 1.167 MB / 383.8 MB, free: 8.328 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007439/0.4343, allocations: 288 kB / 384.1 MB, free: 8.262 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005729/0.4349, allocations: 212.4 kB / 384.3 MB, free: 8.199 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000695/0.4356, allocations: 1.113 MB / 385.4 MB, free: 6.883 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.57e-05/0.4356, allocations: 38.73 kB / 385.5 MB, free: 6.84 MB / 318.1 MB Notification: Performance of pre-optimization done (n=27): time 1.873e-06/0.4356, allocations: 0 / 385.5 MB, free: 6.84 MB / 318.1 MB Notification: Performance of matching and sorting (n=27): time 0.0014/0.437, allocations: 0.5314 MB / 386 MB, free: 6.574 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.954e-05/0.4371, allocations: 81.12 kB / 386.1 MB, free: 6.48 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004455/0.4375, allocations: 340.7 kB / 386.4 MB, free: 6.297 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.467e-05/0.4376, allocations: 30.83 kB / 386.4 MB, free: 6.262 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001429/0.4377, allocations: 214.2 kB / 386.7 MB, free: 6.086 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.331e-05/0.4378, allocations: 99.58 kB / 386.8 MB, free: 6.012 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001285/0.4379, allocations: 74.72 kB / 386.8 MB, free: 5.961 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001085/0.4381, allocations: 350.3 kB / 387.2 MB, free: 5.629 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002641/0.4383, allocations: 106.9 kB / 387.3 MB, free: 5.594 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000288/0.4386, allocations: 185.2 kB / 387.5 MB, free: 5.469 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004917/0.4391, allocations: 292.5 kB / 387.7 MB, free: 5.301 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.567e-06/0.4391, allocations: 1.281 kB / 387.7 MB, free: 5.301 MB / 318.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0008396/0.44, allocations: 429.9 kB / 388.2 MB, free: 5.125 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.842e-05/0.44, allocations: 9.625 kB / 388.2 MB, free: 5.125 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.526e-06/0.44, allocations: 2.562 kB / 388.2 MB, free: 5.125 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002861/0.4403, allocations: 69 kB / 388.2 MB, free: 5.102 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003343/0.4407, allocations: 76.31 kB / 388.3 MB, free: 5.102 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00171/0.4424, allocations: 1.956 MB / 390.3 MB, free: 3.352 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002633/0.4427, allocations: 46.39 kB / 390.3 MB, free: 3.324 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.097e-05/0.4427, allocations: 16.28 kB / 390.3 MB, free: 3.32 MB / 318.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 (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): 1 system {(1,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001484/0.4428, allocations: 157.6 kB / 390.5 MB, free: 3.176 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.721e-05/0.4429, allocations: 33.16 kB / 390.5 MB, free: 3.16 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007297/0.4437, allocations: 333.5 kB / 390.8 MB, free: 3.004 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.579e-06/0.4437, allocations: 3.781 kB / 390.8 MB, free: 3.004 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.513e-06/0.4437, allocations: 4 kB / 390.9 MB, free: 3 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.005e-06/0.4437, allocations: 5.672 kB / 390.9 MB, free: 2.996 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005119/0.4442, allocations: 392.8 kB / 391.2 MB, free: 2.723 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.874e-06/0.4442, allocations: 0 / 391.2 MB, free: 2.723 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003282/0.4446, allocations: 53.12 kB / 391.3 MB, free: 2.723 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002348/0.4448, allocations: 63.66 kB / 391.4 MB, free: 2.703 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.899e-05/0.4448, allocations: 12.89 kB / 391.4 MB, free: 2.695 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003485/0.4452, allocations: 0.5991 MB / 392 MB, free: 2.137 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.537e-06/0.4452, allocations: 1.906 kB / 392 MB, free: 2.137 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009225/0.4461, allocations: 0.5231 MB / 392.5 MB, free: 1.848 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001226/0.4463, allocations: 132.2 kB / 392.6 MB, free: 1.723 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.491e-05/0.4463, allocations: 7.656 kB / 392.6 MB, free: 1.719 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002443/0.4466, allocations: 20.95 kB / 392.6 MB, free: 1.715 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.212e-05/0.4467, allocations: 19.69 kB / 392.7 MB, free: 1.715 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.742e-05/0.4467, allocations: 14.92 kB / 392.7 MB, free: 1.711 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0002879/0.447, allocations: 245.7 kB / 392.9 MB, free: 1.574 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.447, allocations: 0 / 392.9 MB, free: 1.574 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0005153/0.4475, allocations: 110.9 kB / 393 MB, free: 1.551 MB / 318.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 (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,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002144/0.4477, allocations: 126.2 kB / 393.2 MB, free: 1.453 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0008375/0.4486, allocations: 418.8 kB / 393.6 MB, free: 1.246 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.4486, allocations: 0.8125 kB / 393.6 MB, free: 1.246 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003456/0.4489, allocations: 140.7 kB / 393.7 MB, free: 1.207 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003789/0.4493, allocations: 48.52 kB / 393.7 MB, free: 1.184 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001393/0.4507, allocations: 0.8714 MB / 394.6 MB, free: 0.6328 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000391/0.4511, allocations: 0.7984 MB / 395.4 MB, free: 15.92 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001371/0.4513, allocations: 36.05 kB / 395.5 MB, free: 15.91 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.242e-05/0.4514, allocations: 27.23 kB / 395.5 MB, free: 15.91 MB / 334.1 MB Notification: Performance of SimCode: time 2e-07/0.4514, allocations: 0 / 395.5 MB, free: 15.91 MB / 334.1 MB Notification: Performance of Templates: time 0.01038/0.4617, allocations: 4.012 MB / 399.5 MB, free: 15.52 MB / 334.1 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.makefile (rm -f Modelica_3.2.2_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.pipe ; mkfifo Modelica_3.2.2_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.pipe >> ../files/Modelica_3.2.2_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.sim & ./Modelica_3.2.2_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.pipe 2>&1)