Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.1_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator.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.SignalGenerator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.01386/0.01386, allocations: 103.9 kB / 15.74 MB, free: 5.953 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.002249/0.00225, allocations: 188.9 kB / 16.67 MB, free: 5.883 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.197/2.197, allocations: 205.1 MB / 222.5 MB, free: 4.363 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.001368/0.001368, allocations: 44 kB / 326.6 MB, free: 14.58 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1469/0.1483, allocations: 46.62 MB / 373.2 MB, free: 1.379 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator): time 0.005599/0.154, allocations: 2.924 MB / 376.1 MB, free: 14.44 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002367/0.1564, allocations: 0.7758 MB / 376.9 MB, free: 13.65 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003075/0.1568, allocations: 8 kB / 376.9 MB, free: 13.64 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000272/0.1571, allocations: 59.42 kB / 377 MB, free: 13.59 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002874/0.1574, allocations: 111.1 kB / 377.1 MB, free: 13.48 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004824/0.1579, allocations: 119.8 kB / 377.2 MB, free: 13.36 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004685/0.1584, allocations: 406.2 kB / 377.6 MB, free: 12.96 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003627/0.1587, allocations: 135.3 kB / 377.7 MB, free: 12.83 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003147/0.1591, allocations: 147.4 kB / 377.9 MB, free: 12.68 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002223/0.1593, allocations: 183.1 kB / 378 MB, free: 12.5 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.66e-05/0.1594, allocations: 32 kB / 378.1 MB, free: 12.47 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.014e-05/0.1594, allocations: 36 kB / 378.1 MB, free: 12.44 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 9.224e-05/0.1595, allocations: 75.7 kB / 378.2 MB, free: 12.36 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000256/0.1598, allocations: 167.2 kB / 378.3 MB, free: 12.2 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004791/0.1603, allocations: 374.6 kB / 378.7 MB, free: 11.83 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.566e-06/0.1603, allocations: 0 / 378.7 MB, free: 11.83 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.817e-06/0.1603, allocations: 11.94 kB / 378.7 MB, free: 11.82 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.676e-06/0.1603, allocations: 0 / 378.7 MB, free: 11.82 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: 75 * Number of variables: 75 Notification: Performance of Generate backend data structure: time 0.001244/0.1616, allocations: 0.6316 MB / 379.4 MB, free: 11.14 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.302e-05/0.1617, allocations: 8.031 kB / 379.4 MB, free: 11.13 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001187/0.1618, allocations: 44.45 kB / 379.4 MB, free: 11.09 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005667/0.1624, allocations: 295.3 kB / 379.7 MB, free: 10.76 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.545e-05/0.1624, allocations: 21.03 kB / 379.7 MB, free: 10.74 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.12e-05/0.1625, allocations: 36.38 kB / 379.8 MB, free: 10.71 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007462/0.1632, allocations: 306.3 kB / 380.1 MB, free: 10.4 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.773e-05/0.1633, allocations: 0 / 380.1 MB, free: 10.4 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.554e-05/0.1633, allocations: 16 kB / 380.1 MB, free: 10.38 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.396e-05/0.1634, allocations: 8 kB / 380.1 MB, free: 10.38 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006968/0.1641, allocations: 294.5 kB / 380.4 MB, free: 10.09 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002026/0.1661, allocations: 1.088 MB / 381.5 MB, free: 8.926 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009002/0.167, allocations: 287.9 kB / 381.7 MB, free: 8.637 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004574/0.1675, allocations: 176.7 kB / 381.9 MB, free: 8.461 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.061e-05/0.1675, allocations: 4 kB / 381.9 MB, free: 8.457 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.756e-05/0.1676, allocations: 34.56 kB / 381.9 MB, free: 8.414 MB / 318.1 MB Notification: Performance of pre-optimization done (n=20): time 2.735e-06/0.1676, allocations: 0 / 381.9 MB, free: 8.414 MB / 318.1 MB Notification: Performance of matching and sorting (n=20): time 0.002569/0.1702, allocations: 0.8252 MB / 382.8 MB, free: 7.539 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.158e-05/0.1702, allocations: 51.41 kB / 382.8 MB, free: 7.477 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003553/0.1706, allocations: 270.6 kB / 383.1 MB, free: 7.203 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.658e-05/0.1707, allocations: 37.64 kB / 383.1 MB, free: 7.16 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000183/0.1708, allocations: 199.9 kB / 383.3 MB, free: 6.957 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.089e-05/0.1709, allocations: 70.94 kB / 383.4 MB, free: 6.887 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001072/0.171, allocations: 57.61 kB / 383.4 MB, free: 6.824 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0002084/0.1713, allocations: 342.8 kB / 383.8 MB, free: 6.48 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002497/0.1715, allocations: 92.81 kB / 383.9 MB, free: 6.387 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003636/0.1719, allocations: 183 kB / 384 MB, free: 6.168 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005668/0.1725, allocations: 282.8 kB / 384.3 MB, free: 5.852 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.34e-06/0.1725, allocations: 0 / 384.3 MB, free: 5.852 MB / 318.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001351/0.1738, allocations: 0.5142 MB / 384.8 MB, free: 5.324 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.842e-05/0.1739, allocations: 4 kB / 384.8 MB, free: 5.32 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.588e-05/0.1739, allocations: 4 kB / 384.8 MB, free: 5.316 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005837/0.1745, allocations: 121.7 kB / 385 MB, free: 5.191 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002229/0.1747, allocations: 51.86 kB / 385 MB, free: 5.141 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005971/0.1807, allocations: 3.654 MB / 388.7 MB, free: 1.203 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003731/0.1811, allocations: 43.61 kB / 388.7 MB, free: 1.16 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.454e-05/0.1812, allocations: 16 kB / 388.7 MB, free: 1.145 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002863/0.1815, allocations: 160.1 kB / 388.9 MB, free: 0.9844 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002206/0.1817, allocations: 163.4 kB / 389 MB, free: 0.7852 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003759/0.1821, allocations: 231 kB / 389.3 MB, free: 0.5195 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.469e-06/0.1821, allocations: 0 / 389.3 MB, free: 0.5195 MB / 318.1 MB Notification: Performance of matching and sorting (n=36) (initialization_lambda0): time 0.0007012/0.1829, allocations: 310.9 kB / 389.6 MB, free: 208 kB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.439e-05/0.1829, allocations: 4 kB / 389.6 MB, free: 204 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.157e-05/0.1829, allocations: 4 kB / 389.6 MB, free: 200 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002/0.1831, allocations: 49.69 kB / 389.6 MB, free: 144 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000204/0.1834, allocations: 63.91 kB / 389.7 MB, free: 80 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002983/0.1863, allocations: 2.959 MB / 392.6 MB, free: 12.84 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002736/0.1866, allocations: 27.69 kB / 392.7 MB, free: 12.82 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.477e-05/0.1867, allocations: 12 kB / 392.7 MB, free: 12.8 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (29): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,5), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0002859/0.187, allocations: 204.2 kB / 392.9 MB, free: 12.6 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001089/0.1871, allocations: 27.8 kB / 392.9 MB, free: 12.57 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.552e-05/0.1872, allocations: 34.16 kB / 392.9 MB, free: 12.54 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-06/0.1872, allocations: 0 / 392.9 MB, free: 12.54 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.444e-06/0.1872, allocations: 4 kB / 392.9 MB, free: 12.53 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.164e-06/0.1872, allocations: 3.984 kB / 393 MB, free: 12.53 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001757/0.189, allocations: 0.7886 MB / 393.7 MB, free: 11.68 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.659e-06/0.189, allocations: 3.938 kB / 393.7 MB, free: 11.67 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001385/0.1891, allocations: 23.98 kB / 393.8 MB, free: 11.65 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004876/0.1896, allocations: 125.6 kB / 393.9 MB, free: 11.52 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.48e-05/0.1897, allocations: 8 kB / 393.9 MB, free: 11.51 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005968/0.1957, allocations: 3.619 MB / 397.5 MB, free: 7.609 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.669e-06/0.1957, allocations: 0 / 397.5 MB, free: 7.609 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00161/0.1974, allocations: 0.5747 MB / 398.1 MB, free: 7.012 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002636/0.1977, allocations: 100.8 kB / 398.2 MB, free: 6.895 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.573e-05/0.1977, allocations: 4 kB / 398.2 MB, free: 6.891 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002636/0.198, allocations: 27.97 kB / 398.2 MB, free: 6.863 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001243/0.1981, allocations: 23.91 kB / 398.2 MB, free: 6.84 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.656e-05/0.1982, allocations: 4 kB / 398.2 MB, free: 6.836 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002853/0.1985, allocations: 194 kB / 398.4 MB, free: 6.652 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1985, allocations: 0 / 398.4 MB, free: 6.652 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.001198/0.1997, allocations: 155.6 kB / 398.6 MB, free: 6.5 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (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 (13): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,5), (1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001975/0.1999, allocations: 115.2 kB / 398.7 MB, free: 6.375 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.002074/0.202, allocations: 0.8654 MB / 399.6 MB, free: 5.457 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.042e-05/0.202, allocations: 5.375 kB / 399.6 MB, free: 5.453 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001032/0.2031, allocations: 429.1 kB / 400 MB, free: 5.008 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005755/0.2037, allocations: 52.44 kB / 400 MB, free: 4.957 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001943/0.2056, allocations: 0.5872 MB / 400.6 MB, free: 4.344 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009159/0.2066, allocations: 0.7684 MB / 401.4 MB, free: 3.551 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0002018/0.2068, allocations: 38.95 kB / 401.4 MB, free: 3.512 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.536e-05/0.2069, allocations: 19.44 kB / 401.5 MB, free: 3.492 MB / 334.1 MB Notification: Performance of SimCode: time 1.693e-06/0.2069, allocations: 0 / 401.5 MB, free: 3.492 MB / 334.1 MB Notification: Performance of Templates: time 0.01494/0.2218, allocations: 4.699 MB / 406.2 MB, free: 14.78 MB / 350.1 MB make -j1 -f Modelica_3.1_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator.makefile (rm -f Modelica_3.1_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator.pipe ; mkfifo Modelica_3.1_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator.pipe >> ../files/Modelica_3.1_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator.sim & ./Modelica_3.1_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator.pipe 2>&1)