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.001667/0.001667, allocations: 107.4 kB / 16.51 MB, free: 6.707 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.001877/0.001877, allocations: 186.5 kB / 17.42 MB, free: 6.07 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.418/1.418, allocations: 205.1 MB / 223.3 MB, free: 12.39 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.001141/0.001141, allocations: 47.94 kB / 279.3 MB, free: 3.57 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09541/0.09656, allocations: 46.63 MB / 326 MB, free: 4.879 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed): time 0.004111/0.1007, allocations: 3.232 MB / 329.2 MB, free: 1.621 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001859/0.1026, allocations: 0.9984 MB / 330.2 MB, free: 0.6133 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002166/0.1028, allocations: 7.938 kB / 330.2 MB, free: 0.6055 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001783/0.1031, allocations: 39.67 kB / 330.2 MB, free: 0.5664 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003387/0.1034, allocations: 115.2 kB / 330.3 MB, free: 464 kB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003053/0.1037, allocations: 111.8 kB / 330.5 MB, free: 352 kB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003867/0.1041, allocations: 470 kB / 330.9 MB, free: 15.88 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000207/0.1043, allocations: 115.7 kB / 331 MB, free: 15.76 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001917/0.1045, allocations: 179.3 kB / 331.2 MB, free: 15.59 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002002/0.1048, allocations: 195.1 kB / 331.4 MB, free: 15.39 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 4.802e-05/0.1048, allocations: 24 kB / 331.4 MB, free: 15.37 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001409/0.105, allocations: 63.95 kB / 331.5 MB, free: 15.31 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 6.819e-05/0.105, allocations: 75.69 kB / 331.6 MB, free: 15.23 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001664/0.1052, allocations: 202.9 kB / 331.8 MB, free: 15.04 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004094/0.1056, allocations: 478.6 kB / 332.2 MB, free: 14.57 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.319e-06/0.1056, allocations: 0 / 332.2 MB, free: 14.57 MB / 286.1 MB Notification: Performance of FrontEnd: time 9.12e-07/0.1056, allocations: 0 / 332.2 MB, free: 14.57 MB / 286.1 MB Notification: Performance of Transformations before backend: time 8.346e-06/0.1057, allocations: 0 / 332.2 MB, free: 14.57 MB / 286.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.00126/0.1069, allocations: 0.7441 MB / 333 MB, free: 13.77 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.817e-05/0.107, allocations: 12.02 kB / 333 MB, free: 13.76 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.431e-05/0.1071, allocations: 44.47 kB / 333 MB, free: 13.72 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003039/0.1074, allocations: 303.3 kB / 333.3 MB, free: 13.38 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.591e-05/0.1074, allocations: 29.03 kB / 333.3 MB, free: 13.36 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.162e-05/0.1075, allocations: 40.36 kB / 333.4 MB, free: 13.32 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00062/0.1081, allocations: 349.3 kB / 333.7 MB, free: 12.96 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.23e-05/0.1081, allocations: 7.984 kB / 333.7 MB, free: 12.96 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.178e-05/0.1082, allocations: 12 kB / 333.7 MB, free: 12.95 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.706e-06/0.1082, allocations: 11.94 kB / 333.8 MB, free: 12.93 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004615/0.1086, allocations: 230.5 kB / 334 MB, free: 12.71 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001815/0.1105, allocations: 1.174 MB / 335.2 MB, free: 11.45 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006245/0.1111, allocations: 279.6 kB / 335.4 MB, free: 11.17 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004573/0.1116, allocations: 213.2 kB / 335.6 MB, free: 10.96 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007267/0.1123, allocations: 1.113 MB / 336.7 MB, free: 9.59 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.489e-05/0.1124, allocations: 34.8 kB / 336.8 MB, free: 9.547 MB / 286.1 MB Notification: Performance of pre-optimization done (n=27): time 2.374e-06/0.1124, allocations: 0 / 336.8 MB, free: 9.547 MB / 286.1 MB Notification: Performance of matching and sorting (n=27): time 0.001382/0.1138, allocations: 0.5358 MB / 337.3 MB, free: 8.984 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.82e-05/0.1138, allocations: 81.11 kB / 337.4 MB, free: 8.887 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003333/0.1142, allocations: 341.6 kB / 337.7 MB, free: 8.547 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.563e-05/0.1142, allocations: 29.7 kB / 337.8 MB, free: 8.512 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000126/0.1143, allocations: 224 kB / 338 MB, free: 8.289 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.053e-05/0.1144, allocations: 102.5 kB / 338.1 MB, free: 8.188 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001011/0.1145, allocations: 66.08 kB / 338.1 MB, free: 8.113 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001096/0.1146, allocations: 350.7 kB / 338.5 MB, free: 7.762 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002248/0.1149, allocations: 104.7 kB / 338.6 MB, free: 7.66 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002605/0.1151, allocations: 185.8 kB / 338.8 MB, free: 7.449 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004772/0.1156, allocations: 299.1 kB / 339.1 MB, free: 7.129 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/0.1156, allocations: 0 / 339.1 MB, free: 7.129 MB / 286.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0007863/0.1164, allocations: 441.1 kB / 339.5 MB, free: 6.688 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.666e-05/0.1164, allocations: 4 kB / 339.5 MB, free: 6.684 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.416e-06/0.1165, allocations: 4 kB / 339.5 MB, free: 6.68 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002615/0.1167, allocations: 69.06 kB / 339.6 MB, free: 6.609 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000315/0.117, allocations: 75.89 kB / 339.6 MB, free: 6.535 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001602/0.1187, allocations: 1.76 MB / 341.4 MB, free: 4.645 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002502/0.1189, allocations: 39.78 kB / 341.4 MB, free: 4.605 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.258e-05/0.119, allocations: 12 kB / 341.5 MB, free: 4.594 MB / 286.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.000171/0.1191, allocations: 157.7 kB / 341.6 MB, free: 4.43 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.01e-05/0.1192, allocations: 39.47 kB / 341.6 MB, free: 4.391 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007139/0.1199, allocations: 326.3 kB / 342 MB, free: 4.059 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.398e-06/0.1199, allocations: 8 kB / 342 MB, free: 4.051 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.092e-06/0.12, allocations: 0 / 342 MB, free: 4.051 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.408e-06/0.12, allocations: 0 / 342 MB, free: 4.051 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004384/0.1204, allocations: 397.2 kB / 342.4 MB, free: 3.613 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.607e-06/0.1204, allocations: 4 kB / 342.4 MB, free: 3.609 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003252/0.1208, allocations: 51.95 kB / 342.4 MB, free: 3.559 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001883/0.1209, allocations: 68.75 kB / 342.5 MB, free: 3.488 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.286e-05/0.121, allocations: 8 kB / 342.5 MB, free: 3.48 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003721/0.1214, allocations: 0.603 MB / 343.1 MB, free: 2.852 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.1214, allocations: 0 / 343.1 MB, free: 2.852 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008544/0.1222, allocations: 0.5249 MB / 343.6 MB, free: 2.309 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001207/0.1224, allocations: 128.6 kB / 343.7 MB, free: 2.164 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.713e-05/0.1224, allocations: 8 kB / 343.7 MB, free: 2.156 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002511/0.1227, allocations: 23.97 kB / 343.8 MB, free: 2.133 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.748e-05/0.1227, allocations: 11.98 kB / 343.8 MB, free: 2.121 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.981e-05/0.1228, allocations: 15.98 kB / 343.8 MB, free: 2.105 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0002483/0.123, allocations: 243.1 kB / 344 MB, free: 1.875 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.123, allocations: 0 / 344 MB, free: 1.875 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0004142/0.1234, allocations: 107.8 kB / 344.1 MB, free: 1.77 MB / 286.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.0001995/0.1236, allocations: 135.2 kB / 344.3 MB, free: 1.625 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0007332/0.1244, allocations: 418.3 kB / 344.7 MB, free: 1.203 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.1244, allocations: 0 / 344.7 MB, free: 1.203 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003152/0.1247, allocations: 131.9 kB / 344.8 MB, free: 1.074 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004253/0.1252, allocations: 45.89 kB / 344.9 MB, free: 1.027 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001302/0.1265, allocations: 1.001 MB / 345.9 MB, free: 0 / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003315/0.1268, allocations: 0.799 MB / 346.7 MB, free: 15.17 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001498/0.127, allocations: 30.97 kB / 346.7 MB, free: 15.14 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.326e-05/0.1271, allocations: 27.44 kB / 346.7 MB, free: 15.11 MB / 302.1 MB Notification: Performance of SimCode: time 6.31e-07/0.1271, allocations: 0 / 346.7 MB, free: 15.11 MB / 302.1 MB Notification: Performance of Templates: time 0.007257/0.1343, allocations: 3.759 MB / 350.5 MB, free: 11.36 MB / 302.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)