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.00673/0.00673, allocations: 94.69 kB / 15.73 MB, free: 6.039 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.00147/0.00147, allocations: 202.5 kB / 16.68 MB, free: 5.969 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.488/1.488, allocations: 205.1 MB / 222.5 MB, free: 4.547 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.001247/0.001247, allocations: 50.03 kB / 326.6 MB, free: 14.43 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1018/0.103, allocations: 46.62 MB / 373.2 MB, free: 1.324 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed): time 0.004547/0.1076, allocations: 3.183 MB / 376.4 MB, free: 14.12 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001848/0.1095, allocations: 1.006 MB / 377.4 MB, free: 13.1 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001821/0.1097, allocations: 4 kB / 377.4 MB, free: 13.1 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001887/0.1099, allocations: 55.42 kB / 377.4 MB, free: 13.04 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003699/0.1103, allocations: 130.9 kB / 377.5 MB, free: 12.91 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003464/0.1107, allocations: 147.7 kB / 377.7 MB, free: 12.77 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004718/0.1112, allocations: 493.8 kB / 378.2 MB, free: 12.29 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002482/0.1114, allocations: 135 kB / 378.3 MB, free: 12.15 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002217/0.1116, allocations: 187.3 kB / 378.5 MB, free: 11.97 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002383/0.1119, allocations: 211.1 kB / 378.7 MB, free: 11.76 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.829e-05/0.112, allocations: 40 kB / 378.7 MB, free: 11.72 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001512/0.1121, allocations: 75.97 kB / 378.8 MB, free: 11.65 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 8.754e-05/0.1122, allocations: 99.59 kB / 378.9 MB, free: 11.55 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001986/0.1124, allocations: 203 kB / 379.1 MB, free: 11.35 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005716/0.113, allocations: 0.5018 MB / 379.6 MB, free: 10.85 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.113, allocations: 0 / 379.6 MB, free: 10.85 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.884e-06/0.113, allocations: 0 / 379.6 MB, free: 10.85 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.934e-06/0.113, allocations: 4 kB / 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.001367/0.1144, allocations: 0.7477 MB / 380.4 MB, free: 10.05 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.189e-05/0.1145, allocations: 8.031 kB / 380.4 MB, free: 10.04 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.735e-05/0.1146, allocations: 52.59 kB / 380.4 MB, free: 9.988 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004673/0.115, allocations: 307.5 kB / 380.7 MB, free: 9.645 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.461e-05/0.1151, allocations: 25.03 kB / 380.7 MB, free: 9.621 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.789e-05/0.1152, allocations: 40.31 kB / 380.8 MB, free: 9.582 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006635/0.1158, allocations: 353.3 kB / 381.1 MB, free: 9.223 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.408e-05/0.1158, allocations: 0 / 381.1 MB, free: 9.223 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.328e-05/0.1159, allocations: 12 kB / 381.1 MB, free: 9.211 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.034e-05/0.1159, allocations: 8 kB / 381.1 MB, free: 9.203 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004956/0.1164, allocations: 238.5 kB / 381.4 MB, free: 8.969 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001969/0.1184, allocations: 1.171 MB / 382.6 MB, free: 7.723 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006589/0.1191, allocations: 271.5 kB / 382.8 MB, free: 7.449 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005259/0.1196, allocations: 225.1 kB / 383 MB, free: 7.227 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009839/0.1206, allocations: 1.113 MB / 384.1 MB, free: 5.855 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.765e-05/0.1206, allocations: 38.73 kB / 384.2 MB, free: 5.809 MB / 318.1 MB Notification: Performance of pre-optimization done (n=27): time 1.432e-06/0.1206, allocations: 0 / 384.2 MB, free: 5.809 MB / 318.1 MB Notification: Performance of matching and sorting (n=27): time 0.001349/0.122, allocations: 0.5361 MB / 384.7 MB, free: 5.246 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.664e-05/0.1221, allocations: 85.11 kB / 384.8 MB, free: 5.145 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000348/0.1224, allocations: 337.6 kB / 385.1 MB, free: 4.805 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.902e-05/0.1225, allocations: 33.7 kB / 385.2 MB, free: 4.766 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001545/0.1226, allocations: 212.5 kB / 385.4 MB, free: 4.555 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.075e-05/0.1227, allocations: 111.1 kB / 385.5 MB, free: 4.445 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001101/0.1228, allocations: 66.03 kB / 385.5 MB, free: 4.371 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001663/0.123, allocations: 350.7 kB / 385.9 MB, free: 4.02 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002216/0.1232, allocations: 104.7 kB / 386 MB, free: 3.918 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002867/0.1235, allocations: 189.7 kB / 386.2 MB, free: 3.703 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005019/0.124, allocations: 288.2 kB / 386.5 MB, free: 3.395 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.1241, allocations: 0 / 386.5 MB, free: 3.395 MB / 318.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0007742/0.1248, allocations: 437.1 kB / 386.9 MB, free: 2.957 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.263e-05/0.1249, allocations: 8 kB / 386.9 MB, free: 2.949 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.454e-06/0.1249, allocations: 0 / 386.9 MB, free: 2.949 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000266/0.1252, allocations: 73.06 kB / 387 MB, free: 2.875 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003075/0.1255, allocations: 71.89 kB / 387 MB, free: 2.805 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001802/0.1273, allocations: 1.955 MB / 389 MB, free: 0.7109 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002708/0.1276, allocations: 47.78 kB / 389 MB, free: 0.6641 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.744e-05/0.1276, allocations: 12 kB / 389 MB, free: 0.6523 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.0001838/0.1278, allocations: 153.7 kB / 389.2 MB, free: 0.4922 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.843e-05/0.1279, allocations: 39.77 kB / 389.2 MB, free: 464 kB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006899/0.1286, allocations: 326.3 kB / 389.6 MB, free: 128 kB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.428e-06/0.1286, allocations: 8 kB / 389.6 MB, free: 120 kB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.1286, allocations: 7.938 kB / 389.6 MB, free: 112 kB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.573e-06/0.1286, allocations: 3.984 kB / 389.6 MB, free: 108 kB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004463/0.1291, allocations: 397.2 kB / 390 MB, free: 15.67 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.1291, allocations: 0 / 390 MB, free: 15.67 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003234/0.1294, allocations: 59.89 kB / 390 MB, free: 15.61 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001961/0.1296, allocations: 64.81 kB / 390.1 MB, free: 15.54 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.288e-05/0.1297, allocations: 4 kB / 390.1 MB, free: 15.54 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000395/0.1301, allocations: 0.6071 MB / 390.7 MB, free: 14.91 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.1301, allocations: 3.938 kB / 390.7 MB, free: 14.9 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008651/0.1309, allocations: 0.5251 MB / 391.2 MB, free: 14.36 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001336/0.1311, allocations: 132.8 kB / 391.4 MB, free: 14.21 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.269e-05/0.1311, allocations: 8 kB / 391.4 MB, free: 14.2 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002537/0.1314, allocations: 19.98 kB / 391.4 MB, free: 14.18 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.124e-05/0.1315, allocations: 15.97 kB / 391.4 MB, free: 14.17 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.964e-05/0.1315, allocations: 12 kB / 391.4 MB, free: 14.16 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002321/0.1317, allocations: 247.1 kB / 391.7 MB, free: 13.91 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1317, allocations: 0 / 391.7 MB, free: 13.91 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004474/0.1322, allocations: 107.8 kB / 391.8 MB, free: 13.81 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.0001967/0.1324, allocations: 127.2 kB / 391.9 MB, free: 13.68 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0008334/0.1332, allocations: 426.5 kB / 392.3 MB, free: 13.25 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.1332, allocations: 192 / 392.3 MB, free: 13.25 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003584/0.1336, allocations: 139.9 kB / 392.4 MB, free: 13.11 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003582/0.134, allocations: 53.7 kB / 392.5 MB, free: 13.05 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001289/0.1353, allocations: 0.8649 MB / 393.4 MB, free: 12.16 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003335/0.1356, allocations: 0.795 MB / 394.1 MB, free: 11.34 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001296/0.1358, allocations: 42.89 kB / 394.2 MB, free: 11.29 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.184e-05/0.1358, allocations: 27.42 kB / 394.2 MB, free: 11.27 MB / 334.1 MB Notification: Performance of SimCode: time 2.01e-07/0.1358, allocations: 0 / 394.2 MB, free: 11.27 MB / 334.1 MB Notification: Performance of Templates: time 0.008905/0.1447, allocations: 4.013 MB / 398.2 MB, free: 7.25 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)