Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.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.1_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed") translateModel(Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed,tolerance=2e-07,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.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.009237/0.009237, allocations: 100.9 kB / 15.73 MB, free: 6.055 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.001779/0.001779, allocations: 197.2 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.709/1.709, allocations: 205.1 MB / 222.6 MB, free: 4.516 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.001253/0.001253, allocations: 50.45 kB / 326.6 MB, free: 14.38 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09002/0.09128, allocations: 46.63 MB / 373.2 MB, free: 1.309 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed): time 0.003765/0.09509, allocations: 3.179 MB / 376.4 MB, free: 14.11 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001505/0.09661, allocations: 0.9981 MB / 377.4 MB, free: 13.1 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001366/0.09678, allocations: 4 kB / 377.4 MB, free: 13.09 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000163/0.09695, allocations: 59.36 kB / 377.4 MB, free: 13.04 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003161/0.09727, allocations: 126.9 kB / 377.5 MB, free: 12.91 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002834/0.09757, allocations: 143.7 kB / 377.7 MB, free: 12.77 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003962/0.09797, allocations: 489.8 kB / 378.2 MB, free: 12.29 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002085/0.09819, allocations: 142.9 kB / 378.3 MB, free: 12.15 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002381/0.09843, allocations: 191.3 kB / 378.5 MB, free: 11.96 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002413/0.09868, allocations: 203.1 kB / 378.7 MB, free: 11.76 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.444e-05/0.09874, allocations: 40 kB / 378.7 MB, free: 11.72 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001333/0.09889, allocations: 79.95 kB / 378.8 MB, free: 11.64 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 8.112e-05/0.09897, allocations: 99.61 kB / 378.9 MB, free: 11.55 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001753/0.09915, allocations: 215 kB / 379.1 MB, free: 11.34 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004566/0.09962, allocations: 0.4905 MB / 379.6 MB, free: 10.84 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.107e-06/0.09963, allocations: 0 / 379.6 MB, free: 10.84 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.09964, allocations: 0 / 379.6 MB, free: 10.84 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.382e-06/0.09965, 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.001219/0.1009, allocations: 0.7287 MB / 380.3 MB, free: 10.07 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.923e-05/0.1009, allocations: 16.02 kB / 380.3 MB, free: 10.05 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.376e-05/0.101, allocations: 44.38 kB / 380.4 MB, free: 10.01 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004181/0.1014, allocations: 311.3 kB / 380.7 MB, free: 9.66 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.606e-05/0.1015, allocations: 25.03 kB / 380.7 MB, free: 9.637 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.619e-05/0.1016, allocations: 36.28 kB / 380.8 MB, free: 9.602 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006111/0.1022, allocations: 361.3 kB / 381.1 MB, free: 9.234 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.293e-05/0.1022, allocations: 0 / 381.1 MB, free: 9.234 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.561e-05/0.1022, allocations: 12 kB / 381.1 MB, free: 9.223 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.548e-06/0.1023, allocations: 12 kB / 381.1 MB, free: 9.211 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004729/0.1027, allocations: 234.5 kB / 381.4 MB, free: 8.98 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001852/0.1046, allocations: 1.158 MB / 382.5 MB, free: 7.746 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006507/0.1053, allocations: 287.5 kB / 382.8 MB, free: 7.457 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004911/0.1058, allocations: 217.3 kB / 383 MB, free: 7.242 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008723/0.1066, allocations: 1.113 MB / 384.1 MB, free: 5.871 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.719e-05/0.1067, allocations: 38.8 kB / 384.2 MB, free: 5.824 MB / 318.1 MB Notification: Performance of pre-optimization done (n=27): time 1.323e-06/0.1067, allocations: 0 / 384.2 MB, free: 5.824 MB / 318.1 MB Notification: Performance of matching and sorting (n=27): time 0.001358/0.1081, allocations: 0.528 MB / 384.7 MB, free: 5.27 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.542e-05/0.1081, allocations: 85.11 kB / 384.8 MB, free: 5.168 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003435/0.1085, allocations: 341.6 kB / 385.1 MB, free: 4.824 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.769e-05/0.1085, allocations: 29.7 kB / 385.1 MB, free: 4.789 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00014/0.1086, allocations: 208.2 kB / 385.3 MB, free: 4.582 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.788e-05/0.1087, allocations: 106.5 kB / 385.4 MB, free: 4.477 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001078/0.1088, allocations: 73.97 kB / 385.5 MB, free: 4.395 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001306/0.109, allocations: 346.8 kB / 385.9 MB, free: 4.047 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002205/0.1092, allocations: 108.7 kB / 386 MB, free: 3.941 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002681/0.1095, allocations: 181.8 kB / 386.1 MB, free: 3.734 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004803/0.11, allocations: 292.2 kB / 386.4 MB, free: 3.422 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.11, allocations: 0 / 386.4 MB, free: 3.422 MB / 318.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0007731/0.1107, allocations: 437.2 kB / 386.9 MB, free: 2.984 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.991e-05/0.1108, allocations: 7.938 kB / 386.9 MB, free: 2.977 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.576e-06/0.1108, allocations: 4 kB / 386.9 MB, free: 2.973 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002848/0.1111, allocations: 64.81 kB / 386.9 MB, free: 2.906 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003309/0.1114, allocations: 79.89 kB / 387 MB, free: 2.828 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001972/0.1134, allocations: 1.963 MB / 389 MB, free: 0.7266 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002574/0.1137, allocations: 39.53 kB / 389 MB, free: 0.6875 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.675e-05/0.1137, allocations: 16 kB / 389 MB, free: 0.6719 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.0001939/0.1139, allocations: 153.8 kB / 389.2 MB, free: 0.5117 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.047e-05/0.114, allocations: 35.62 kB / 389.2 MB, free: 488 kB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007103/0.1147, allocations: 334.2 kB / 389.5 MB, free: 144 kB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.99e-06/0.1147, allocations: 4 kB / 389.5 MB, free: 140 kB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.886e-06/0.1147, allocations: 3.938 kB / 389.5 MB, free: 136 kB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.799e-06/0.1147, allocations: 0 / 389.5 MB, free: 136 kB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004303/0.1152, allocations: 393.4 kB / 389.9 MB, free: 15.7 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.1152, allocations: 0 / 389.9 MB, free: 15.7 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003264/0.1155, allocations: 55.95 kB / 390 MB, free: 15.64 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001878/0.1157, allocations: 64.75 kB / 390 MB, free: 15.57 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.231e-05/0.1158, allocations: 11.94 kB / 390.1 MB, free: 15.56 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004029/0.1162, allocations: 0.6031 MB / 390.7 MB, free: 14.93 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.854e-06/0.1162, allocations: 0 / 390.7 MB, free: 14.93 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008555/0.117, allocations: 0.517 MB / 391.2 MB, free: 14.4 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000141/0.1172, allocations: 136.5 kB / 391.3 MB, free: 14.25 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.475e-05/0.1172, allocations: 8.062 kB / 391.3 MB, free: 14.24 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002544/0.1175, allocations: 23.98 kB / 391.3 MB, free: 14.21 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.207e-05/0.1176, allocations: 11.97 kB / 391.4 MB, free: 14.2 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.163e-05/0.1176, allocations: 16 kB / 391.4 MB, free: 14.19 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002447/0.1178, allocations: 239.2 kB / 391.6 MB, free: 13.95 MB / 334.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1178, allocations: 0 / 391.6 MB, free: 13.95 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004454/0.1183, 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.00019/0.1185, allocations: 135.2 kB / 391.8 MB, free: 13.7 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0007984/0.1193, allocations: 422.6 kB / 392.3 MB, free: 13.27 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.786e-06/0.1193, allocations: 0.5 kB / 392.3 MB, free: 13.27 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003261/0.1197, allocations: 144 kB / 392.4 MB, free: 13.13 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003501/0.12, allocations: 37.38 kB / 392.4 MB, free: 13.09 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001262/0.1213, allocations: 0.8542 MB / 393.3 MB, free: 12.21 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003173/0.1216, allocations: 0.795 MB / 394.1 MB, free: 11.39 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001382/0.1218, allocations: 38.95 kB / 394.1 MB, free: 11.35 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.894e-05/0.1218, allocations: 27.44 kB / 394.1 MB, free: 11.32 MB / 334.1 MB Notification: Performance of SimCode: time 3.11e-07/0.1219, allocations: 0 / 394.1 MB, free: 11.32 MB / 334.1 MB Notification: Performance of Templates: time 0.008703/0.1306, allocations: 4.025 MB / 398.2 MB, free: 7.293 MB / 334.1 MB make -j1 -f Modelica_3.1_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.makefile (rm -f Modelica_3.1_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.pipe ; mkfifo Modelica_3.1_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.pipe >> ../files/Modelica_3.1_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.sim & ./Modelica_3.1_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.pipe 2>&1)