Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.1_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp.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.OpAmps.NonInvertingAmp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.01073/0.01073, allocations: 101.3 kB / 15.73 MB, free: 6.066 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.001698/0.001699, allocations: 196.3 kB / 16.68 MB, free: 5.973 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.012/2.012, allocations: 205.1 MB / 222.6 MB, free: 4.504 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.001222/0.001222, allocations: 55.05 kB / 326.6 MB, free: 14.39 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.128/0.1292, allocations: 46.62 MB / 373.2 MB, free: 1.285 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp): time 0.005188/0.1345, allocations: 2.707 MB / 375.9 MB, free: 14.56 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001754/0.1363, allocations: 0.7135 MB / 376.6 MB, free: 13.84 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002955/0.1366, allocations: 11.88 kB / 376.6 MB, free: 13.82 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002315/0.1369, allocations: 39.58 kB / 376.7 MB, free: 13.79 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002725/0.1372, allocations: 87.25 kB / 376.8 MB, free: 13.7 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003966/0.1376, allocations: 99.8 kB / 376.9 MB, free: 13.6 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004011/0.138, allocations: 358.4 kB / 377.2 MB, free: 13.25 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002346/0.1382, allocations: 92.67 kB / 377.3 MB, free: 13.16 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001742/0.1384, allocations: 131.5 kB / 377.4 MB, free: 13.03 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000204/0.1386, allocations: 143.4 kB / 377.6 MB, free: 12.89 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.883e-05/0.1387, allocations: 28 kB / 377.6 MB, free: 12.86 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.515e-05/0.1387, allocations: 32 kB / 377.6 MB, free: 12.83 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 8.83e-05/0.1388, allocations: 71.67 kB / 377.7 MB, free: 12.76 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001608/0.139, allocations: 143.3 kB / 377.8 MB, free: 12.62 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004203/0.1394, allocations: 334.5 kB / 378.2 MB, free: 12.29 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.665e-06/0.1394, allocations: 0 / 378.2 MB, free: 12.29 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.1395, allocations: 0 / 378.2 MB, free: 12.29 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.536e-06/0.1395, allocations: 0 / 378.2 MB, free: 12.29 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: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.001428/0.1409, allocations: 0.6417 MB / 378.8 MB, free: 11.6 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.098e-05/0.141, allocations: 8.031 kB / 378.8 MB, free: 11.59 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.251e-05/0.1411, allocations: 32.75 kB / 378.8 MB, free: 11.56 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004772/0.1415, allocations: 271.7 kB / 379.1 MB, free: 11.25 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.889e-05/0.1416, allocations: 20.81 kB / 379.1 MB, free: 11.23 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.643e-05/0.1416, allocations: 16.38 kB / 379.1 MB, free: 11.22 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006497/0.1423, allocations: 255.5 kB / 379.4 MB, free: 10.96 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.67e-05/0.1423, allocations: 3.938 kB / 379.4 MB, free: 10.96 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.117e-05/0.1424, allocations: 4 kB / 379.4 MB, free: 10.95 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.03e-05/0.1424, allocations: 7.938 kB / 379.4 MB, free: 10.95 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007654/0.1431, allocations: 261.5 kB / 379.7 MB, free: 10.69 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00163/0.1448, allocations: 0.8544 MB / 380.5 MB, free: 9.766 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007684/0.1456, allocations: 226.6 kB / 380.7 MB, free: 9.535 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002956/0.1459, allocations: 104.7 kB / 380.8 MB, free: 9.43 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.165e-05/0.1459, allocations: 4 kB / 380.8 MB, free: 9.426 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004356/0.1464, allocations: 165.8 kB / 381 MB, free: 9.242 MB / 318.1 MB Notification: Performance of pre-optimization done (n=14): time 1.784e-06/0.1464, allocations: 0 / 381 MB, free: 9.242 MB / 318.1 MB Notification: Performance of matching and sorting (n=14): time 0.001969/0.1483, allocations: 0.5927 MB / 381.6 MB, free: 8.621 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.425e-05/0.1484, allocations: 110.8 kB / 381.7 MB, free: 8.488 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003003/0.1487, allocations: 266.5 kB / 382 MB, free: 8.211 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.75e-05/0.1488, allocations: 33.7 kB / 382 MB, free: 8.172 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001555/0.1489, allocations: 180.1 kB / 382.2 MB, free: 7.992 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.333e-05/0.149, allocations: 47.58 kB / 382.2 MB, free: 7.945 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.62e-05/0.1491, allocations: 45.7 kB / 382.3 MB, free: 7.895 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001675/0.1493, allocations: 330.8 kB / 382.6 MB, free: 7.562 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003136/0.1496, allocations: 108.7 kB / 382.7 MB, free: 7.453 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003356/0.1499, allocations: 173.2 kB / 382.9 MB, free: 7.25 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006202/0.1506, allocations: 274.2 kB / 383.1 MB, free: 6.949 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.1506, allocations: 0 / 383.1 MB, free: 6.949 MB / 318.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.001027/0.1516, allocations: 431.6 kB / 383.6 MB, free: 6.512 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.41e-05/0.1517, allocations: 37.73 kB / 383.6 MB, free: 6.469 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.332e-06/0.1517, allocations: 0 / 383.6 MB, free: 6.469 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004871/0.1522, allocations: 112.7 kB / 383.7 MB, free: 6.355 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001847/0.1524, allocations: 39.97 kB / 383.7 MB, free: 6.316 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002273/0.1547, allocations: 1.939 MB / 385.7 MB, free: 4.242 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002671/0.1549, allocations: 43.86 kB / 385.7 MB, free: 4.199 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.352e-05/0.155, allocations: 8 kB / 385.7 MB, free: 4.191 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003195/0.1553, allocations: 192.1 kB / 385.9 MB, free: 4 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002909/0.1556, allocations: 153.4 kB / 386.1 MB, free: 3.816 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004889/0.1561, allocations: 245.2 kB / 386.3 MB, free: 3.543 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.432e-06/0.1561, allocations: 4 kB / 386.3 MB, free: 3.539 MB / 318.1 MB Notification: Performance of matching and sorting (n=26) (initialization_lambda0): time 0.0007359/0.1569, allocations: 351.7 kB / 386.7 MB, free: 3.18 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.947e-05/0.1569, allocations: 37.7 kB / 386.7 MB, free: 3.137 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.791e-06/0.1569, allocations: 7.984 kB / 386.7 MB, free: 3.129 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001145/0.157, allocations: 40.83 kB / 386.7 MB, free: 3.086 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001871/0.1572, allocations: 48.06 kB / 386.8 MB, free: 3.039 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001384/0.1586, allocations: 1.725 MB / 388.5 MB, free: 1.176 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002738/0.1589, allocations: 39.89 kB / 388.5 MB, free: 1.137 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.485e-05/0.1589, allocations: 12 kB / 388.6 MB, free: 1.125 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: 5 (vIn.signalSource.count,$PRE.vIn.signalSource.count,vIn.signalSource.T_start,$PRE.vIn.signalSource.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 1 * 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,5)} Notification: Performance of prepare postOptimizeDAE: time 0.0001361/0.1591, allocations: 200.2 kB / 388.8 MB, free: 0.9219 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.461e-05/0.1591, allocations: 23.86 kB / 388.8 MB, free: 0.8984 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.824e-05/0.1592, allocations: 25.83 kB / 388.8 MB, free: 0.8711 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.1592, allocations: 0 / 388.8 MB, free: 0.8711 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.306e-06/0.1592, allocations: 0 / 388.8 MB, free: 0.8711 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.881e-06/0.1592, allocations: 4 kB / 388.8 MB, free: 0.8672 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002838/0.1595, allocations: 297.4 kB / 389.1 MB, free: 0.5273 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.1595, allocations: 0 / 389.1 MB, free: 0.5273 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001262/0.1596, allocations: 19.98 kB / 389.1 MB, free: 0.5078 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002079/0.1599, allocations: 68.8 kB / 389.2 MB, free: 448 kB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.234e-05/0.1599, allocations: 4 kB / 389.2 MB, free: 444 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00193/0.1618, allocations: 1.873 MB / 391.1 MB, free: 14.42 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.1618, allocations: 4.031 kB / 391.1 MB, free: 14.41 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008167/0.1627, allocations: 321.6 kB / 391.4 MB, free: 14.08 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.384e-05/0.1627, allocations: 105 kB / 391.5 MB, free: 13.96 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.619e-05/0.1628, allocations: 3.938 kB / 391.5 MB, free: 13.95 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002166/0.163, allocations: 35.95 kB / 391.5 MB, free: 13.92 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.406e-05/0.1631, allocations: 19.92 kB / 391.5 MB, free: 13.9 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.48e-05/0.1631, allocations: 7.984 kB / 391.5 MB, free: 13.89 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.000172/0.1633, allocations: 193.9 kB / 391.7 MB, free: 13.71 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.303e-06/0.1633, allocations: 0 / 391.7 MB, free: 13.71 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0005479/0.1638, allocations: 131.7 kB / 391.9 MB, free: 13.58 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,vIn.signalSource.T_start,vIn.signalSource.count) * Number of discrete states: 1 (vIn.signalSource.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001384/0.164, allocations: 107.2 kB / 392 MB, free: 13.46 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001484/0.1655, allocations: 0.7341 MB / 392.7 MB, free: 12.68 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.1655, allocations: 0 / 392.7 MB, free: 12.68 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004482/0.1659, allocations: 236.1 kB / 392.9 MB, free: 12.44 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003215/0.1663, allocations: 48.52 kB / 393 MB, free: 12.39 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001878/0.1682, allocations: 0.6948 MB / 393.7 MB, free: 11.67 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003398/0.1685, allocations: 0.7444 MB / 394.4 MB, free: 10.9 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001139/0.1686, allocations: 30.28 kB / 394.4 MB, free: 10.87 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.589e-05/0.1687, allocations: 19.44 kB / 394.5 MB, free: 10.85 MB / 334.1 MB Notification: Performance of SimCode: time 2.11e-07/0.1687, allocations: 0 / 394.5 MB, free: 10.85 MB / 334.1 MB Notification: Performance of Templates: time 0.008184/0.1769, allocations: 4.279 MB / 398.7 MB, free: 6.562 MB / 334.1 MB make -j1 -f Modelica_3.1_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp.makefile (rm -f Modelica_3.1_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp.pipe ; mkfifo Modelica_3.1_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp.pipe >> ../files/Modelica_3.1_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp.sim & ./Modelica_3.1_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp.pipe 2>&1)