Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.1_Modelica.Electrical.Analog.Examples.DifferenceAmplifier.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo", uses=false) Using package ModelicaServices with version 1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo) Using package Modelica with version 3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.DifferenceAmplifier,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Electrical.Analog.Examples.DifferenceAmplifier") translateModel(Modelica.Electrical.Analog.Examples.DifferenceAmplifier,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Electrical.Analog.Examples.DifferenceAmplifier") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/package.mo): time 0.7139/0.7139, allocations: 110.9 MB / 125.9 MB, free: 6.207 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo): time 0.001702/0.001702, allocations: 150.6 kB / 151.9 MB, free: 4.98 MB / 122.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002687/0.0002688, allocations: 8 kB / 184.9 MB, free: 3.918 MB / 154.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1343/0.1346, allocations: 25.15 MB / 210 MB, free: 29.72 MB / 170.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.04944/0.184, allocations: 37.59 MB / 247.6 MB, free: 12.22 MB / 186.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000206/0.1843, allocations: 59.97 kB / 247.7 MB, free: 12.16 MB / 186.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04393/0.2282, allocations: 15.38 MB / 263.1 MB, free: 12.81 MB / 202.7 MB Notification: Performance of FrontEnd: time 1.704e-06/0.2283, allocations: 0 / 263.1 MB, free: 12.81 MB / 202.7 MB Notification: Performance of Transformations before backend: time 3.774e-05/0.2283, allocations: 20 kB / 263.1 MB, free: 12.79 MB / 202.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 207 * Number of variables: 207 Notification: Performance of Generate backend data structure: time 0.00308/0.2314, allocations: 1.294 MB / 264.4 MB, free: 11.44 MB / 202.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.268e-05/0.2315, allocations: 8.031 kB / 264.4 MB, free: 11.43 MB / 202.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000198/0.2317, allocations: 102.8 kB / 264.5 MB, free: 11.33 MB / 202.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006873/0.2324, allocations: 0.5197 MB / 265 MB, free: 10.77 MB / 202.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.499e-05/0.2324, allocations: 58 kB / 265.1 MB, free: 10.71 MB / 202.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000138/0.2326, allocations: 83.95 kB / 265.2 MB, free: 10.63 MB / 202.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002341/0.2349, allocations: 1.169 MB / 266.3 MB, free: 9.445 MB / 202.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.909e-05/0.2349, allocations: 3.938 kB / 266.3 MB, free: 9.441 MB / 202.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.662e-05/0.235, allocations: 36 kB / 266.4 MB, free: 9.406 MB / 202.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.775e-05/0.2351, allocations: 20 kB / 266.4 MB, free: 9.387 MB / 202.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00305/0.2381, allocations: 1.296 MB / 267.7 MB, free: 8.09 MB / 202.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005623/0.2438, allocations: 3.483 MB / 271.2 MB, free: 4.488 MB / 202.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002696/0.2465, allocations: 1.202 MB / 272.4 MB, free: 3.273 MB / 202.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.755e-05/0.2465, allocations: 8.562 kB / 272.4 MB, free: 3.266 MB / 202.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.338e-05/0.2466, allocations: 51.02 kB / 272.4 MB, free: 3.207 MB / 202.7 MB Notification: Performance of pre-optimization done (n=67): time 2.735e-06/0.2466, allocations: 0 / 272.4 MB, free: 3.207 MB / 202.7 MB Notification: Performance of matching and sorting (n=71): time 0.008428/0.255, allocations: 3.495 MB / 275.9 MB, free: 15.64 MB / 218.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.198e-05/0.2551, allocations: 64.05 kB / 276 MB, free: 15.56 MB / 218.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006038/0.2557, allocations: 462 kB / 276.4 MB, free: 15.11 MB / 218.7 MB Notification: Performance of collectPreVariables (initialization): time 7.77e-05/0.2558, allocations: 41.7 kB / 276.5 MB, free: 15.06 MB / 218.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002573/0.2561, allocations: 403.3 kB / 276.9 MB, free: 14.66 MB / 218.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001981/0.2563, allocations: 248.3 kB / 277.1 MB, free: 14.41 MB / 218.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.558e-05/0.2563, allocations: 16 kB / 277.1 MB, free: 14.4 MB / 218.7 MB Notification: Performance of setup shared object (initialization): time 0.0001633/0.2565, allocations: 382.8 kB / 277.5 MB, free: 14.02 MB / 218.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001311/0.2578, allocations: 0.5524 MB / 278.1 MB, free: 13.46 MB / 218.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001357/0.2592, allocations: 0.6688 MB / 278.7 MB, free: 12.75 MB / 218.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001313/0.2605, allocations: 0.5896 MB / 279.3 MB, free: 12.16 MB / 218.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.504e-06/0.2605, allocations: 0 / 279.3 MB, free: 12.16 MB / 218.7 MB Notification: Performance of matching and sorting (n=103) (initialization): time 0.003409/0.264, allocations: 1.555 MB / 280.9 MB, free: 10.6 MB / 218.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.649e-05/0.264, allocations: 4 kB / 280.9 MB, free: 10.6 MB / 218.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.193e-05/0.264, allocations: 4 kB / 280.9 MB, free: 10.59 MB / 218.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000584/0.2646, allocations: 181.2 kB / 281.1 MB, free: 10.41 MB / 218.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001337/0.266, allocations: 295.6 kB / 281.3 MB, free: 10.12 MB / 218.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003627/0.2696, allocations: 2.647 MB / 284 MB, free: 7.34 MB / 218.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001102/0.2707, allocations: 132 kB / 284.1 MB, free: 7.211 MB / 218.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.605e-05/0.2708, allocations: 31.98 kB / 284.1 MB, free: 7.18 MB / 218.7 MB Warning: Assuming fixed start value for the following 9 variables: Transistor2.Tr.C.v:VARIABLE(flow=false unit = "V" fixed = true ) "Potential at the pin" type: Real Transistor2.ct.v:VARIABLE(unit = "V" fixed = true ) "Voltage drop between the two pins (= p.v - n.v)" type: Real Transistor1.Tr.C.v:VARIABLE(flow=false unit = "V" fixed = true ) "Potential at the pin" type: Real Transistor1.ct.v:VARIABLE(unit = "V" fixed = true ) "Voltage drop between the two pins (= p.v - n.v)" type: Real C3.v:VARIABLE(unit = "V" fixed = true ) "Voltage drop between the two pins (= p.v - n.v)" type: Real C2.v:VARIABLE(unit = "V" fixed = true ) "Voltage drop between the two pins (= p.v - n.v)" type: Real C5.v:VARIABLE(unit = "V" fixed = true ) "Voltage drop between the two pins (= p.v - n.v)" type: Real C4.v:VARIABLE(unit = "V" fixed = true ) "Voltage drop between the two pins (= p.v - n.v)" type: Real C1.v:VARIABLE(unit = "V" fixed = true ) "Voltage drop between the two pins (= p.v - n.v)" type: Real 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 (88): * Single equations (assignments): 87 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(5,60.0%) 11} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005448/0.2714, allocations: 265.6 kB / 284.4 MB, free: 6.922 MB / 218.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001328/0.2715, allocations: 71.2 kB / 284.5 MB, free: 6.852 MB / 218.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002018/0.2717, allocations: 86.22 kB / 284.6 MB, free: 6.762 MB / 218.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.28e-06/0.2717, allocations: 4 kB / 284.6 MB, free: 6.758 MB / 218.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.555e-05/0.2717, allocations: 4 kB / 284.6 MB, free: 6.754 MB / 218.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.163e-06/0.2717, allocations: 3.984 kB / 284.6 MB, free: 6.75 MB / 218.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001206/0.273, allocations: 0.9976 MB / 285.6 MB, free: 5.703 MB / 218.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.577e-06/0.273, allocations: 7.938 kB / 285.6 MB, free: 5.695 MB / 218.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001225/0.2742, allocations: 247.7 kB / 285.8 MB, free: 5.453 MB / 218.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005372/0.2748, allocations: 172.6 kB / 286 MB, free: 5.281 MB / 218.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.239e-05/0.2748, allocations: 23.97 kB / 286 MB, free: 5.258 MB / 218.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003404/0.2782, allocations: 2.657 MB / 288.7 MB, free: 2.465 MB / 218.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.2783, allocations: 0 / 288.7 MB, free: 2.465 MB / 218.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004691/0.283, allocations: 2.185 MB / 290.9 MB, free: 264 kB / 218.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003998/0.2834, allocations: 236.2 kB / 291.1 MB, free: 8 kB / 218.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.09175/0.3751, allocations: 14.08 kB / 291.1 MB, free: 59.05 MB / 218.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001392/0.3766, allocations: 147.5 kB / 291.2 MB, free: 59.05 MB / 218.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001853/0.3768, allocations: 52.42 kB / 291.3 MB, free: 59.05 MB / 218.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.371e-05/0.3769, allocations: 25.69 kB / 291.3 MB, free: 59.05 MB / 218.7 MB Notification: Performance of sorting global known variables: time 0.0005578/0.3774, allocations: 357 kB / 291.7 MB, free: 58.97 MB / 218.7 MB Notification: Performance of sort global known variables: time 3.51e-07/0.3774, allocations: 0 / 291.7 MB, free: 58.97 MB / 218.7 MB Notification: Performance of remove unused functions: time 0.0009804/0.3784, allocations: 241.8 kB / 291.9 MB, free: 58.97 MB / 218.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(5,68.0%) 11} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002275/0.3787, allocations: 137.1 kB / 292 MB, free: 58.88 MB / 218.7 MB Notification: Performance of simCode: created initialization part: time 0.003782/0.3825, allocations: 1.525 MB / 293.6 MB, free: 58.75 MB / 218.7 MB Notification: Performance of simCode: created event and clocks part: time 3.817e-06/0.3825, allocations: 4.688 kB / 293.6 MB, free: 58.75 MB / 218.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002126/0.3846, allocations: 0.8835 MB / 294.4 MB, free: 58.62 MB / 218.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009354/0.3856, allocations: 172.2 kB / 294.6 MB, free: 58.62 MB / 218.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003443/0.389, allocations: 2.512 MB / 297.1 MB, free: 57.55 MB / 218.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004297/0.3895, allocations: 0.9736 MB / 298.1 MB, free: 56.84 MB / 218.7 MB Notification: Performance of simCode: alias equations: time 0.0005748/0.39, allocations: 83.94 kB / 298.2 MB, free: 56.82 MB / 218.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002544/0.3903, allocations: 53.36 kB / 298.2 MB, free: 56.81 MB / 218.7 MB Notification: Performance of SimCode: time 9.92e-07/0.3903, allocations: 0 / 298.2 MB, free: 56.81 MB / 218.7 MB Notification: Performance of Templates: time 0.01492/0.4052, allocations: 10.8 MB / 309 MB, free: 55.3 MB / 218.7 MB make -j1 -f Modelica_3.1_Modelica.Electrical.Analog.Examples.DifferenceAmplifier.makefile (rm -f Modelica_3.1_Modelica.Electrical.Analog.Examples.DifferenceAmplifier.pipe ; mkfifo Modelica_3.1_Modelica.Electrical.Analog.Examples.DifferenceAmplifier.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Electrical.Analog.Examples.DifferenceAmplifier.pipe >> ../files/Modelica_3.1_Modelica.Electrical.Analog.Examples.DifferenceAmplifier.sim & ./Modelica_3.1_Modelica.Electrical.Analog.Examples.DifferenceAmplifier -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Electrical.Analog.Examples.DifferenceAmplifier.pipe 2>&1)