Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.1_Modelica.Electrical.Analog.Examples.InvertingAmp.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.InvertingAmp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Electrical.Analog.Examples.InvertingAmp") translateModel(Modelica.Electrical.Analog.Examples.InvertingAmp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Electrical.Analog.Examples.InvertingAmp") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008601/0.008601, allocations: 100.1 kB / 15.73 MB, free: 6.008 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.001616/0.001617, allocations: 194.5 kB / 16.68 MB, free: 5.93 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.018/2.018, allocations: 205.1 MB / 222.5 MB, free: 4.512 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.001266/0.001266, allocations: 47.09 kB / 326.6 MB, free: 14.31 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.134/0.1353, allocations: 46.63 MB / 373.2 MB, free: 1.293 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.InvertingAmp): time 0.004996/0.1403, allocations: 2.73 MB / 375.9 MB, free: 14.54 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001445/0.1418, allocations: 0.6939 MB / 376.6 MB, free: 13.84 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001608/0.142, allocations: 8 kB / 376.6 MB, free: 13.83 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001853/0.1422, allocations: 47.56 kB / 376.7 MB, free: 13.79 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002481/0.1425, allocations: 91.17 kB / 376.8 MB, free: 13.7 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003251/0.1428, allocations: 83.83 kB / 376.8 MB, free: 13.61 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005407/0.1433, allocations: 382.3 kB / 377.2 MB, free: 13.24 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002864/0.1436, allocations: 126.9 kB / 377.3 MB, free: 13.11 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002097/0.1439, allocations: 143.5 kB / 377.5 MB, free: 12.97 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002115/0.1441, allocations: 167.3 kB / 377.6 MB, free: 12.81 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.862e-05/0.1442, allocations: 40 kB / 377.7 MB, free: 12.77 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.216e-05/0.1442, allocations: 32 kB / 377.7 MB, free: 12.74 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 8.076e-05/0.1443, allocations: 71.7 kB / 377.8 MB, free: 12.67 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001928/0.1445, allocations: 167.2 kB / 377.9 MB, free: 12.5 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004653/0.145, allocations: 374.8 kB / 378.3 MB, free: 12.14 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.59e-06/0.145, allocations: 0 / 378.3 MB, free: 12.14 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.834e-06/0.145, allocations: 0 / 378.3 MB, free: 12.14 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.007e-06/0.145, allocations: 0 / 378.3 MB, free: 12.14 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: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.001441/0.1465, allocations: 0.6497 MB / 379 MB, free: 11.43 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.772e-05/0.1465, allocations: 12.03 kB / 379 MB, free: 11.42 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000101/0.1466, allocations: 32.56 kB / 379 MB, free: 11.39 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004921/0.1471, allocations: 276.7 kB / 379.3 MB, free: 11.08 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.412e-05/0.1472, allocations: 20.94 kB / 379.3 MB, free: 11.06 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.363e-05/0.1472, allocations: 28.31 kB / 379.3 MB, free: 11.03 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007383/0.1479, allocations: 299.7 kB / 379.6 MB, free: 10.73 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.664e-05/0.148, allocations: 0 / 379.6 MB, free: 10.73 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.866e-05/0.148, allocations: 15.98 kB / 379.6 MB, free: 10.71 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.969e-06/0.1481, allocations: 7.938 kB / 379.6 MB, free: 10.7 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008389/0.1489, allocations: 253.6 kB / 379.9 MB, free: 10.46 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002007/0.1509, allocations: 1.081 MB / 381 MB, free: 9.281 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008565/0.1518, allocations: 210.6 kB / 381.2 MB, free: 9.066 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003209/0.1521, allocations: 96.72 kB / 381.3 MB, free: 8.969 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.446e-05/0.1522, allocations: 4 kB / 381.3 MB, free: 8.965 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005161/0.1527, allocations: 165.8 kB / 381.4 MB, free: 8.781 MB / 318.1 MB Notification: Performance of pre-optimization done (n=12): time 2.194e-06/0.1527, allocations: 0 / 381.4 MB, free: 8.781 MB / 318.1 MB Notification: Performance of matching and sorting (n=12): time 0.002279/0.155, allocations: 0.5067 MB / 381.9 MB, free: 8.246 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001021/0.1551, allocations: 110.8 kB / 382 MB, free: 8.113 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003817/0.1555, allocations: 282.6 kB / 382.3 MB, free: 7.824 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.566e-05/0.1556, allocations: 33.64 kB / 382.4 MB, free: 7.785 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000184/0.1557, allocations: 203.5 kB / 382.6 MB, free: 7.582 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.02e-05/0.1558, allocations: 35.53 kB / 382.6 MB, free: 7.547 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001132/0.1559, allocations: 53.84 kB / 382.6 MB, free: 7.488 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001398/0.1561, allocations: 334.8 kB / 383 MB, free: 7.152 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003352/0.1564, allocations: 100.1 kB / 383.1 MB, free: 7.055 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004021/0.1568, allocations: 198.1 kB / 383.3 MB, free: 6.812 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007224/0.1576, allocations: 301.4 kB / 383.6 MB, free: 6.469 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.102e-06/0.1576, allocations: 7.938 kB / 383.6 MB, free: 6.461 MB / 318.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001299/0.1589, allocations: 427.7 kB / 384 MB, free: 6.027 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.122e-05/0.159, allocations: 34.8 kB / 384 MB, free: 5.988 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.721e-05/0.159, allocations: 7.984 kB / 384 MB, free: 5.98 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004664/0.1594, allocations: 80.77 kB / 384.1 MB, free: 5.898 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002488/0.1597, allocations: 43.97 kB / 384.1 MB, free: 5.855 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003282/0.163, allocations: 1.711 MB / 385.9 MB, free: 4.004 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005262/0.1636, allocations: 59.7 kB / 385.9 MB, free: 3.945 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.512e-05/0.1636, allocations: 8 kB / 385.9 MB, free: 3.938 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (23): * Single equations (assignments): 21 * 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.0003008/0.1639, allocations: 149.7 kB / 386.1 MB, free: 3.781 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.998e-05/0.164, allocations: 27.66 kB / 386.1 MB, free: 3.754 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.017e-05/0.1641, allocations: 33.7 kB / 386.1 MB, free: 3.719 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.176e-06/0.1641, allocations: 0 / 386.1 MB, free: 3.719 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/0.1641, allocations: 0 / 386.1 MB, free: 3.719 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.908e-06/0.1641, allocations: 0 / 386.1 MB, free: 3.719 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003697/0.1645, allocations: 297.4 kB / 386.4 MB, free: 3.379 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.956e-06/0.1645, allocations: 0 / 386.4 MB, free: 3.379 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001237/0.1646, allocations: 19.97 kB / 386.4 MB, free: 3.359 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003141/0.1649, allocations: 72.81 kB / 386.5 MB, free: 3.285 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.068e-05/0.165, allocations: 3.984 kB / 386.5 MB, free: 3.281 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002514/0.1675, allocations: 1.711 MB / 388.2 MB, free: 1.43 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.651e-06/0.1675, allocations: 3.984 kB / 388.2 MB, free: 1.426 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001097/0.1686, allocations: 313.8 kB / 388.5 MB, free: 1.098 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001552/0.1688, allocations: 120.7 kB / 388.6 MB, free: 0.9609 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.433e-05/0.1688, allocations: 0 / 388.6 MB, free: 0.9609 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002656/0.1691, allocations: 27.95 kB / 388.7 MB, free: 0.9336 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001141/0.1692, allocations: 27.97 kB / 388.7 MB, free: 0.9062 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.349e-05/0.1692, allocations: 0 / 388.7 MB, free: 0.9062 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0002669/0.1695, allocations: 213.9 kB / 388.9 MB, free: 0.6992 MB / 318.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1695, allocations: 0 / 388.9 MB, free: 0.6992 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0004568/0.17, allocations: 71.91 kB / 389 MB, free: 0.6289 MB / 318.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 (7): * Single equations (assignments): 4 * 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.0002139/0.1702, allocations: 107.1 kB / 389.1 MB, free: 0.5156 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001273/0.1715, allocations: 421.9 kB / 389.5 MB, free: 80 kB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.348e-06/0.1715, allocations: 0 / 389.5 MB, free: 80 kB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005199/0.172, allocations: 235.1 kB / 389.7 MB, free: 15.84 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003721/0.1724, allocations: 40.94 kB / 389.8 MB, free: 15.8 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001327/0.1738, allocations: 456.1 kB / 390.2 MB, free: 15.32 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005399/0.1743, allocations: 0.7558 MB / 391 MB, free: 14.54 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001439/0.1745, allocations: 22.3 kB / 391 MB, free: 14.52 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.94e-05/0.1745, allocations: 19.44 kB / 391 MB, free: 14.5 MB / 334.1 MB Notification: Performance of SimCode: time 1.022e-06/0.1745, allocations: 0 / 391 MB, free: 14.5 MB / 334.1 MB Notification: Performance of Templates: time 0.009663/0.1842, allocations: 4.218 MB / 395.2 MB, free: 10.27 MB / 334.1 MB make -j1 -f Modelica_3.1_Modelica.Electrical.Analog.Examples.InvertingAmp.makefile (rm -f Modelica_3.1_Modelica.Electrical.Analog.Examples.InvertingAmp.pipe ; mkfifo Modelica_3.1_Modelica.Electrical.Analog.Examples.InvertingAmp.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Electrical.Analog.Examples.InvertingAmp.pipe >> ../files/Modelica_3.1_Modelica.Electrical.Analog.Examples.InvertingAmp.sim & ./Modelica_3.1_Modelica.Electrical.Analog.Examples.InvertingAmp -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Electrical.Analog.Examples.InvertingAmp.pipe 2>&1)