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.001073/0.001073, allocations: 93.88 kB / 16.3 MB, free: 6.457 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.001118/0.001118, allocations: 183.5 kB / 17.2 MB, free: 6.34 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.762/1.762, allocations: 205.4 MB / 223.3 MB, free: 13.18 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.0004834/0.0004834, allocations: 15.28 kB / 280.1 MB, free: 3.754 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1357/0.1362, allocations: 47.58 MB / 327.7 MB, free: 4.102 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed): time 0.003352/0.1397, allocations: 2.554 MB / 330.3 MB, free: 1.531 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001617/0.1413, allocations: 0.9486 MB / 331.2 MB, free: 0.5742 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001539/0.1415, allocations: 11.94 kB / 331.2 MB, free: 0.5625 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 8.618e-05/0.1416, allocations: 43.67 kB / 331.3 MB, free: 0.5195 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004571/0.142, allocations: 131.6 kB / 331.4 MB, free: 400 kB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002596/0.1423, allocations: 107.7 kB / 331.5 MB, free: 292 kB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004492/0.1428, allocations: 327.3 kB / 331.8 MB, free: 15.96 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002387/0.143, allocations: 98.56 kB / 331.9 MB, free: 15.86 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002308/0.1433, allocations: 159.5 kB / 332.1 MB, free: 15.7 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002858/0.1435, allocations: 183.2 kB / 332.2 MB, free: 15.52 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 4.226e-05/0.1436, allocations: 20 kB / 332.3 MB, free: 15.5 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00014/0.1437, allocations: 47.97 kB / 332.3 MB, free: 15.46 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 7.907e-05/0.1438, allocations: 71.73 kB / 332.4 MB, free: 15.39 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 9.568e-05/0.1439, allocations: 105.4 kB / 332.5 MB, free: 15.28 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000368/0.1443, allocations: 359.2 kB / 332.8 MB, free: 14.93 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.507e-06/0.1443, allocations: 4 kB / 332.8 MB, free: 14.92 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.475e-06/0.1443, allocations: 0 / 332.8 MB, free: 14.92 MB / 286.1 MB Notification: Performance of Transformations before backend: time 8.345e-06/0.1443, allocations: 0 / 332.8 MB, free: 14.92 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.001291/0.1456, allocations: 0.6857 MB / 333.5 MB, free: 14.19 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.559e-05/0.1457, allocations: 8.031 kB / 333.5 MB, free: 14.18 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001057/0.1458, allocations: 47.44 kB / 333.6 MB, free: 14.13 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004001/0.1462, allocations: 294.3 kB / 333.9 MB, free: 13.8 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.288e-05/0.1463, allocations: 32.61 kB / 333.9 MB, free: 13.77 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.975e-05/0.1463, allocations: 31.91 kB / 333.9 MB, free: 13.74 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000617/0.147, allocations: 349 kB / 334.3 MB, free: 13.39 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.258e-05/0.147, allocations: 0 / 334.3 MB, free: 13.39 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.408e-05/0.147, allocations: 16 kB / 334.3 MB, free: 13.37 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.058e-05/0.147, allocations: 11.94 kB / 334.3 MB, free: 13.36 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004873/0.1475, allocations: 242.5 kB / 334.5 MB, free: 13.12 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001885/0.1494, allocations: 1.186 MB / 335.7 MB, free: 11.86 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000675/0.1501, allocations: 295.7 kB / 336 MB, free: 11.56 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008672/0.151, allocations: 1.129 MB / 337.1 MB, free: 10.18 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.411e-05/0.151, allocations: 38.8 kB / 337.2 MB, free: 10.13 MB / 286.1 MB Notification: Performance of pre-optimization done (n=27): time 3.326e-06/0.151, allocations: 0 / 337.2 MB, free: 10.13 MB / 286.1 MB Notification: Performance of matching and sorting (n=27): time 0.001196/0.1522, allocations: 0.5012 MB / 337.7 MB, free: 9.602 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.612e-05/0.1523, allocations: 81.11 kB / 337.8 MB, free: 9.504 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003654/0.1527, allocations: 341.6 kB / 338.1 MB, free: 9.164 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.267e-05/0.1527, allocations: 33.7 kB / 338.1 MB, free: 9.125 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001785/0.1529, allocations: 208.1 kB / 338.3 MB, free: 8.918 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.574e-05/0.153, allocations: 102.5 kB / 338.4 MB, free: 8.816 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.637e-05/0.153, allocations: 4 kB / 338.4 MB, free: 8.812 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001765/0.1532, allocations: 346.8 kB / 338.8 MB, free: 8.465 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002335/0.1535, allocations: 112.7 kB / 338.9 MB, free: 8.352 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002803/0.1537, allocations: 186 kB / 339.1 MB, free: 8.141 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002685/0.154, allocations: 131.5 kB / 339.2 MB, free: 8.012 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.816e-06/0.154, allocations: 0 / 339.2 MB, free: 8.012 MB / 286.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0006363/0.1547, allocations: 373 kB / 339.5 MB, free: 7.641 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.131e-05/0.1547, allocations: 12 kB / 339.6 MB, free: 7.629 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.568e-06/0.1547, allocations: 3.953 kB / 339.6 MB, free: 7.625 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.902e-05/0.1548, allocations: 4 kB / 339.6 MB, free: 7.621 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003891/0.1551, allocations: 103.8 kB / 339.7 MB, free: 7.52 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.049e-05/0.1552, allocations: 4 kB / 339.7 MB, free: 7.516 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002262/0.1554, allocations: 43.58 kB / 339.7 MB, free: 7.473 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.418e-05/0.1554, allocations: 20 kB / 339.7 MB, free: 7.453 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 (45): * Single equations (assignments): 45 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001687/0.1556, allocations: 145.8 kB / 339.9 MB, free: 7.301 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.71e-05/0.1557, allocations: 35.53 kB / 339.9 MB, free: 7.266 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007108/0.1564, allocations: 338.2 kB / 340.2 MB, free: 6.922 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.71e-06/0.1564, allocations: 4 kB / 340.2 MB, free: 6.918 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.132e-06/0.1564, allocations: 0 / 340.2 MB, free: 6.918 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.975e-06/0.1564, allocations: 3.984 kB / 340.2 MB, free: 6.914 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004959/0.1569, allocations: 389.2 kB / 340.6 MB, free: 6.484 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.509e-06/0.1569, allocations: 7.953 kB / 340.6 MB, free: 6.477 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003476/0.1573, allocations: 63.89 kB / 340.7 MB, free: 6.414 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002333/0.1575, allocations: 44.83 kB / 340.7 MB, free: 6.367 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.474e-05/0.1576, allocations: 8 kB / 340.8 MB, free: 6.359 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004758/0.1581, allocations: 0.5641 MB / 341.3 MB, free: 5.77 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.976e-06/0.1581, allocations: 0 / 341.3 MB, free: 5.77 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009045/0.159, allocations: 0.5365 MB / 341.9 MB, free: 5.215 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001491/0.1592, allocations: 136.6 kB / 342 MB, free: 5.062 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.544e-05/0.1592, allocations: 4 kB / 342 MB, free: 5.059 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002599/0.1595, allocations: 35.86 kB / 342 MB, free: 5.023 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.566e-05/0.1595, allocations: 15.94 kB / 342 MB, free: 5.008 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.825e-05/0.1596, allocations: 11.98 kB / 342.1 MB, free: 4.996 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.000254/0.1598, allocations: 239.2 kB / 342.3 MB, free: 4.77 MB / 286.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1598, allocations: 0 / 342.3 MB, free: 4.77 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0004117/0.1603, allocations: 111.8 kB / 342.4 MB, free: 4.66 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 (23): * Single equations (assignments): 22 * 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: 0 * Non-linear torn systems: 1 {1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002527/0.1605, allocations: 123.2 kB / 342.5 MB, free: 4.531 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0005764/0.1611, allocations: 275.7 kB / 342.8 MB, free: 4.262 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.1611, allocations: 0 / 342.8 MB, free: 4.262 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003279/0.1615, allocations: 144.4 kB / 342.9 MB, free: 4.121 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003068/0.1618, allocations: 29.42 kB / 343 MB, free: 4.09 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001402/0.1632, allocations: 1.046 MB / 344 MB, free: 3.02 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003365/0.1635, allocations: 0.7994 MB / 344.8 MB, free: 2.191 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0001465/0.1637, allocations: 42.89 kB / 344.8 MB, free: 2.148 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.731e-05/0.1638, allocations: 35.42 kB / 344.9 MB, free: 2.113 MB / 286.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1638, allocations: 0 / 344.9 MB, free: 2.113 MB / 286.1 MB Notification: Performance of Templates: time 0.007461/0.1712, allocations: 3.199 MB / 348.1 MB, free: 14.92 MB / 302.1 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: