Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Electrical.Analog.Examples.DifferenceAmplifier.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.DifferenceAmplifier,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Analog.Examples.DifferenceAmplifier") translateModel(Modelica.Electrical.Analog.Examples.DifferenceAmplifier,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Analog.Examples.DifferenceAmplifier") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001031/0.001031, allocations: 92.75 kB / 16.65 MB, free: 6.59 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.001127/0.001127, allocations: 184.2 kB / 17.57 MB, free: 6.199 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.738/1.738, allocations: 205.4 MB / 223.7 MB, free: 13.07 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.0005591/0.0005592, allocations: 12.52 kB / 280.7 MB, free: 3.422 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1068/0.1074, allocations: 47.59 MB / 328.3 MB, free: 3.758 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.DifferenceAmplifier): time 0.005576/0.113, allocations: 5.255 MB / 333.6 MB, free: 14.47 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002855/0.1159, allocations: 1.434 MB / 335 MB, free: 13.03 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007686/0.1167, allocations: 12 kB / 335 MB, free: 13.02 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005288/0.1173, allocations: 119.1 kB / 335.1 MB, free: 12.9 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008151/0.1181, allocations: 242 kB / 335.4 MB, free: 12.66 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007379/0.1189, allocations: 303.7 kB / 335.7 MB, free: 12.36 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.001216/0.1201, allocations: 1.167 MB / 336.8 MB, free: 11.19 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004997/0.1206, allocations: 350.7 kB / 337.2 MB, free: 10.83 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004835/0.1211, allocations: 386.5 kB / 337.6 MB, free: 10.45 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004819/0.1216, allocations: 454 kB / 338 MB, free: 10 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 9.898e-05/0.1217, allocations: 59.94 kB / 338.1 MB, free: 9.945 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002015/0.1219, allocations: 87.97 kB / 338.1 MB, free: 9.859 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001491/0.122, allocations: 179.2 kB / 338.3 MB, free: 9.684 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004085/0.1225, allocations: 491.3 kB / 338.8 MB, free: 9.195 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001085/0.1236, allocations: 1.312 MB / 340.1 MB, free: 7.879 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.612e-06/0.1236, allocations: 4 kB / 340.1 MB, free: 7.875 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.1236, allocations: 0 / 340.1 MB, free: 7.875 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.509e-05/0.1236, allocations: 0 / 340.1 MB, free: 7.875 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: 203 * Number of variables: 203 Notification: Performance of Generate backend data structure: time 0.00219/0.1258, allocations: 1.138 MB / 341.3 MB, free: 6.688 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.178e-05/0.1259, allocations: 12.03 kB / 341.3 MB, free: 6.676 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001659/0.126, allocations: 99.81 kB / 341.4 MB, free: 6.578 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006183/0.1267, allocations: 0.509 MB / 341.9 MB, free: 6.027 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.039e-05/0.1267, allocations: 62.38 kB / 341.9 MB, free: 5.965 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001352/0.1269, allocations: 80.28 kB / 342 MB, free: 5.887 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001543/0.1284, allocations: 0.9042 MB / 342.9 MB, free: 4.969 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.999e-05/0.1284, allocations: 0 / 342.9 MB, free: 4.969 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.861e-05/0.1285, allocations: 36 kB / 343 MB, free: 4.934 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.031e-05/0.1286, allocations: 20 kB / 343 MB, free: 4.914 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001509/0.1301, allocations: 0.8081 MB / 343.8 MB, free: 4.105 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004744/0.1348, allocations: 3.099 MB / 346.9 MB, free: 0.8906 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00106/0.1359, allocations: 0.6578 MB / 347.5 MB, free: 232 kB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007133/0.1366, allocations: 426.3 kB / 348 MB, free: 15.81 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.283e-05/0.1367, allocations: 20.47 kB / 348 MB, free: 15.79 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.439e-05/0.1368, allocations: 43.12 kB / 348 MB, free: 15.73 MB / 302.1 MB Notification: Performance of pre-optimization done (n=67): time 2.916e-06/0.1368, allocations: 4 kB / 348 MB, free: 15.73 MB / 302.1 MB Notification: Performance of matching and sorting (n=71): time 0.004478/0.1413, allocations: 2.248 MB / 350.3 MB, free: 13.43 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.029e-05/0.1413, allocations: 64 kB / 350.3 MB, free: 13.36 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005825/0.1419, allocations: 0.5028 MB / 350.8 MB, free: 12.84 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 5.635e-05/0.142, allocations: 41.7 kB / 350.9 MB, free: 12.8 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002599/0.1422, allocations: 391.5 kB / 351.3 MB, free: 12.41 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001898/0.1424, allocations: 256.3 kB / 351.5 MB, free: 12.15 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001033/0.1426, allocations: 65.69 kB / 351.6 MB, free: 12.08 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001606/0.1427, allocations: 378.8 kB / 351.9 MB, free: 11.7 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006214/0.1433, allocations: 317.9 kB / 352.2 MB, free: 11.39 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006717/0.144, allocations: 437.1 kB / 352.7 MB, free: 10.93 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001324/0.1454, allocations: 0.774 MB / 353.5 MB, free: 10.12 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.866e-06/0.1454, allocations: 0 / 353.5 MB, free: 10.12 MB / 302.1 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.002003/0.1474, allocations: 1.064 MB / 354.5 MB, free: 9.047 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.058e-05/0.1474, allocations: 12 kB / 354.5 MB, free: 9.035 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.484e-06/0.1474, allocations: 0 / 354.5 MB, free: 9.035 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005414/0.148, allocations: 188.3 kB / 354.7 MB, free: 8.852 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000781/0.1488, allocations: 187.8 kB / 354.9 MB, free: 8.668 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003587/0.1524, allocations: 2.604 MB / 357.5 MB, free: 5.93 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006084/0.153, allocations: 44.03 kB / 357.5 MB, free: 5.887 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.811e-05/0.1531, allocations: 31.92 kB / 357.6 MB, free: 5.855 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (84): * Single equations (assignments): 83 * 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 {(5,11,60.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004061/0.1535, allocations: 221.8 kB / 357.8 MB, free: 5.629 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000126/0.1536, allocations: 67.25 kB / 357.9 MB, free: 5.562 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001825/0.1538, allocations: 90.17 kB / 357.9 MB, free: 5.473 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.274e-06/0.1538, allocations: 8 kB / 357.9 MB, free: 5.465 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.721e-05/0.1538, allocations: 4 kB / 358 MB, free: 5.461 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.005e-06/0.1539, allocations: 7.922 kB / 358 MB, free: 5.453 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001096/0.155, allocations: 0.8338 MB / 358.8 MB, free: 4.566 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.637e-06/0.155, allocations: 4 kB / 358.8 MB, free: 4.562 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006892/0.1557, allocations: 159.9 kB / 359 MB, free: 4.406 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005359/0.1562, allocations: 177.8 kB / 359.1 MB, free: 4.23 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.484e-05/0.1563, allocations: 27.97 kB / 359.2 MB, free: 4.203 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003416/0.1597, allocations: 2.606 MB / 361.8 MB, free: 1.461 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/0.1597, allocations: 4 kB / 361.8 MB, free: 1.457 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002655/0.1624, allocations: 1.423 MB / 363.2 MB, free: 12 kB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001762/0.1626, allocations: 136.4 kB / 363.3 MB, free: 15.86 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.532e-05/0.1627, allocations: 16 kB / 363.3 MB, free: 15.84 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005425/0.1632, allocations: 67.89 kB / 363.4 MB, free: 15.78 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001252/0.1633, allocations: 48.58 kB / 363.5 MB, free: 15.73 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.959e-05/0.1634, allocations: 23.98 kB / 363.5 MB, free: 15.71 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0004335/0.1638, allocations: 358.9 kB / 363.8 MB, free: 15.36 MB / 318.1 MB Notification: Performance of sort global known variables: time 6.32e-07/0.1638, allocations: 0 / 363.8 MB, free: 15.36 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0008077/0.1647, allocations: 220 kB / 364 MB, free: 15.14 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 9 (C1.v,C4.v,C5.v,C2.v,C3.v,Transistor1.ct.v,Transistor1.Tr.C.v,Transistor2.ct.v,Transistor2.Tr.C.v) * 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 (56): * Single equations (assignments): 55 * 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 {(5,11,68.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002997/0.165, allocations: 143.2 kB / 364.2 MB, free: 15 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002344/0.1673, allocations: 1.021 MB / 365.2 MB, free: 13.97 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/0.1673, allocations: 0.6875 kB / 365.2 MB, free: 13.97 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001373/0.1687, allocations: 0.6503 MB / 365.9 MB, free: 13.3 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008012/0.1695, allocations: 130.2 kB / 366 MB, free: 13.17 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0035/0.173, allocations: 2.403 MB / 368.4 MB, free: 10.73 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005459/0.1736, allocations: 0.9539 MB / 369.3 MB, free: 9.75 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0003695/0.174, allocations: 81.06 kB / 369.4 MB, free: 9.668 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001484/0.1741, allocations: 47.42 kB / 369.5 MB, free: 9.625 MB / 318.1 MB Notification: Performance of SimCode: time 1.182e-06/0.1741, allocations: 0 / 369.5 MB, free: 9.625 MB / 318.1 MB Notification: Performance of Templates: time 0.1702/0.3443, allocations: 9.733 MB / 379.2 MB, free: 51.96 MB / 318.1 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.Analog.Examples.DifferenceAmplifier.makefile (rm -f Modelica_3.2.2_Modelica.Electrical.Analog.Examples.DifferenceAmplifier.pipe ; mkfifo Modelica_3.2.2_Modelica.Electrical.Analog.Examples.DifferenceAmplifier.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Electrical.Analog.Examples.DifferenceAmplifier.pipe >> ../files/Modelica_3.2.2_Modelica.Electrical.Analog.Examples.DifferenceAmplifier.sim & ./Modelica_3.2.2_Modelica.Electrical.Analog.Examples.DifferenceAmplifier -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Electrical.Analog.Examples.DifferenceAmplifier.pipe 2>&1)