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.008698/0.008698, allocations: 101.1 kB / 15.73 MB, free: 6.047 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.001567/0.001567, allocations: 190.6 kB / 16.67 MB, free: 5.977 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.605/1.605, allocations: 205.1 MB / 222.5 MB, free: 4.496 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.001127/0.001127, allocations: 54.89 kB / 326.6 MB, free: 14.34 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09858/0.09971, allocations: 46.61 MB / 373.2 MB, free: 1.328 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed): time 0.004096/0.1039, allocations: 3.179 MB / 376.4 MB, free: 14.13 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001731/0.1056, allocations: 1.006 MB / 377.4 MB, free: 13.11 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001517/0.1058, allocations: 4 kB / 377.4 MB, free: 13.11 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001815/0.106, allocations: 63.36 kB / 377.4 MB, free: 13.04 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000345/0.1063, allocations: 123 kB / 377.5 MB, free: 12.92 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003081/0.1067, allocations: 151.6 kB / 377.7 MB, free: 12.77 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004263/0.1071, allocations: 493.8 kB / 378.2 MB, free: 12.29 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002394/0.1073, allocations: 142.9 kB / 378.3 MB, free: 12.15 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002214/0.1076, allocations: 179.4 kB / 378.5 MB, free: 11.97 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002692/0.1079, allocations: 215 kB / 378.7 MB, free: 11.76 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 7.208e-05/0.1079, allocations: 40 kB / 378.7 MB, free: 11.72 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001487/0.1081, allocations: 71.97 kB / 378.8 MB, free: 11.65 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 8.595e-05/0.1082, allocations: 99.66 kB / 378.9 MB, free: 11.55 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001948/0.1084, allocations: 210.9 kB / 379.1 MB, free: 11.35 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005578/0.1089, allocations: 0.4983 MB / 379.6 MB, free: 10.85 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.053e-06/0.109, allocations: 0 / 379.6 MB, free: 10.85 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.966e-06/0.109, allocations: 4 kB / 379.6 MB, free: 10.84 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.04e-05/0.109, allocations: 0 / 379.6 MB, free: 10.84 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.001454/0.1105, allocations: 0.7287 MB / 380.3 MB, free: 10.07 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.64e-05/0.1105, allocations: 12.03 kB / 380.4 MB, free: 10.05 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001/0.1106, allocations: 44.38 kB / 380.4 MB, free: 10.01 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005066/0.1111, allocations: 307.4 kB / 380.7 MB, free: 9.668 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.417e-05/0.1112, allocations: 25.03 kB / 380.7 MB, free: 9.645 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.673e-05/0.1113, allocations: 40.27 kB / 380.8 MB, free: 9.605 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006339/0.1119, allocations: 357.3 kB / 381.1 MB, free: 9.242 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.352e-05/0.1119, allocations: 0 / 381.1 MB, free: 9.242 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.485e-05/0.112, allocations: 15.98 kB / 381.1 MB, free: 9.227 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.05e-05/0.112, allocations: 8 kB / 381.1 MB, free: 9.219 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004946/0.1125, allocations: 238.5 kB / 381.4 MB, free: 8.984 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001831/0.1143, allocations: 1.162 MB / 382.5 MB, free: 7.746 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000665/0.115, allocations: 279.5 kB / 382.8 MB, free: 7.465 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000512/0.1155, allocations: 221.2 kB / 383 MB, free: 7.246 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009927/0.1165, allocations: 1.117 MB / 384.1 MB, free: 5.871 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.435e-05/0.1166, allocations: 42.78 kB / 384.2 MB, free: 5.82 MB / 318.1 MB Notification: Performance of pre-optimization done (n=27): time 2.365e-06/0.1166, allocations: 0 / 384.2 MB, free: 5.82 MB / 318.1 MB Notification: Performance of matching and sorting (n=27): time 0.001375/0.118, allocations: 0.5203 MB / 384.7 MB, free: 5.273 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.07e-05/0.1181, allocations: 81.11 kB / 384.8 MB, free: 5.176 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003643/0.1184, allocations: 341.6 kB / 385.1 MB, free: 4.832 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.701e-05/0.1185, allocations: 29.7 kB / 385.1 MB, free: 4.797 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001443/0.1186, allocations: 216.1 kB / 385.3 MB, free: 4.582 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.061e-05/0.1187, allocations: 106.5 kB / 385.5 MB, free: 4.477 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000104/0.1188, allocations: 69.98 kB / 385.5 MB, free: 4.398 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001571/0.119, allocations: 350.7 kB / 385.9 MB, free: 4.047 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002402/0.1192, allocations: 108.6 kB / 386 MB, free: 3.941 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000271/0.1195, allocations: 181.8 kB / 386.1 MB, free: 3.734 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004751/0.12, allocations: 292.2 kB / 386.4 MB, free: 3.422 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.587e-06/0.12, allocations: 0 / 386.4 MB, free: 3.422 MB / 318.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.000802/0.1208, allocations: 429 kB / 386.9 MB, free: 2.992 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.248e-05/0.1208, allocations: 7.984 kB / 386.9 MB, free: 2.984 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.184e-06/0.1209, allocations: 4 kB / 386.9 MB, free: 2.98 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002904/0.1212, allocations: 69.02 kB / 386.9 MB, free: 2.91 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003193/0.1215, allocations: 79.89 kB / 387 MB, free: 2.832 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0019/0.1234, allocations: 1.947 MB / 389 MB, free: 0.7461 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002689/0.1237, allocations: 47.58 kB / 389 MB, free: 0.6992 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.57e-05/0.1237, allocations: 16 kB / 389 MB, free: 0.6836 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.0001757/0.1239, allocations: 153.7 kB / 389.2 MB, free: 0.5234 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.531e-05/0.124, allocations: 31.62 kB / 389.2 MB, free: 0.4922 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006964/0.1247, allocations: 338.2 kB / 389.5 MB, free: 156 kB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.29e-06/0.1247, allocations: 4 kB / 389.5 MB, free: 152 kB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.382e-06/0.1247, allocations: 11.92 kB / 389.5 MB, free: 140 kB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.458e-06/0.1247, allocations: 0 / 389.5 MB, free: 140 kB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004478/0.1252, allocations: 389.2 kB / 389.9 MB, free: 15.71 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/0.1252, allocations: 3.938 kB / 389.9 MB, free: 15.7 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000323/0.1255, allocations: 51.95 kB / 390 MB, free: 15.65 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001987/0.1257, allocations: 64.81 kB / 390 MB, free: 15.59 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.993e-05/0.1258, allocations: 8 kB / 390.1 MB, free: 15.58 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004488/0.1262, allocations: 0.6147 MB / 390.7 MB, free: 14.94 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.1262, allocations: 0 / 390.7 MB, free: 14.94 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008528/0.1271, allocations: 0.521 MB / 391.2 MB, free: 14.4 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001569/0.1273, allocations: 136.5 kB / 391.3 MB, free: 14.25 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.372e-05/0.1273, allocations: 8 kB / 391.3 MB, free: 14.24 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002502/0.1276, allocations: 19.98 kB / 391.3 MB, free: 14.22 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.069e-05/0.1276, allocations: 15.97 kB / 391.4 MB, free: 14.2 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.993e-05/0.1277, allocations: 12 kB / 391.4 MB, free: 14.19 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002474/0.1279, allocations: 239.2 kB / 391.6 MB, free: 13.96 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.1279, allocations: 0 / 391.6 MB, free: 13.96 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004761/0.1284, allocations: 115.8 kB / 391.7 MB, free: 13.84 MB / 334.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.0002611/0.1287, allocations: 123.4 kB / 391.8 MB, free: 13.71 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0009596/0.1296, allocations: 430.5 kB / 392.3 MB, free: 13.28 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.1297, allocations: 3.938 kB / 392.3 MB, free: 13.28 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003301/0.13, allocations: 135.9 kB / 392.4 MB, free: 13.14 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003657/0.1304, allocations: 45.83 kB / 392.4 MB, free: 13.1 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001248/0.1316, allocations: 0.8581 MB / 393.3 MB, free: 12.21 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002979/0.1319, allocations: 0.7912 MB / 394.1 MB, free: 11.39 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001269/0.1321, allocations: 42.94 kB / 394.1 MB, free: 11.35 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.992e-05/0.1321, allocations: 27.44 kB / 394.2 MB, free: 11.32 MB / 334.1 MB Notification: Performance of SimCode: time 2.11e-07/0.1322, allocations: 0 / 394.2 MB, free: 11.32 MB / 334.1 MB Notification: Performance of Templates: time 0.008653/0.1408, allocations: 4.013 MB / 398.2 MB, free: 7.305 MB / 334.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)