Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|c.v|opAmp1.out.v|opAmp1.out.i|opAmp2.out.v|opAmp2.out.i",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|c.v|opAmp1.out.v|opAmp1.out.i|opAmp2.out.v|opAmp2.out.i",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00136/0.00136, allocations: 177.5 kB / 16.41 MB, free: 5.707 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.488/1.488, allocations: 205.4 MB / 222.5 MB, free: 9.113 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007823/0.0007825, allocations: 91.73 kB / 270.9 MB, free: 8.355 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003166/0.0003167, allocations: 12 kB / 327 MB, free: 180 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2205/0.2208, allocations: 47.57 MB / 374.6 MB, free: 45.39 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator): time 0.002199/0.2231, allocations: 2.478 MB / 377 MB, free: 43.46 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009897/0.2241, allocations: 0.7364 MB / 377.8 MB, free: 42.86 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001358/0.2242, allocations: 5.656 kB / 377.8 MB, free: 42.86 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001165/0.2243, allocations: 50.05 kB / 377.8 MB, free: 42.81 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001466/0.2245, allocations: 90.42 kB / 377.9 MB, free: 42.73 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00021/0.2247, allocations: 89.8 kB / 378 MB, free: 42.66 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002852/0.225, allocations: 372.3 kB / 378.4 MB, free: 42.44 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002184/0.2252, allocations: 99.03 kB / 378.5 MB, free: 42.39 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001322/0.2254, allocations: 127.3 kB / 378.6 MB, free: 42.32 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001555/0.2255, allocations: 140 kB / 378.7 MB, free: 42.22 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 4.641e-05/0.2256, allocations: 22.47 kB / 378.8 MB, free: 42.22 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.159e-05/0.2256, allocations: 17.88 kB / 378.8 MB, free: 42.22 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.784e-05/0.2257, allocations: 52.67 kB / 378.8 MB, free: 42.18 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 6.21e-05/0.2258, allocations: 82.39 kB / 378.9 MB, free: 42.12 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002291/0.226, allocations: 281.2 kB / 379.2 MB, free: 41.91 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.091e-06/0.226, allocations: 0 / 379.2 MB, free: 41.91 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.385e-06/0.226, allocations: 0 / 379.2 MB, free: 41.91 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.272e-06/0.226, allocations: 0 / 379.2 MB, free: 41.91 MB / 298.7 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.0008645/0.2269, allocations: 0.594 MB / 379.8 MB, free: 41.39 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.519e-05/0.2269, allocations: 9.75 kB / 379.8 MB, free: 41.39 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.997e-05/0.227, allocations: 41.03 kB / 379.8 MB, free: 41.36 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002669/0.2273, allocations: 279.6 kB / 380.1 MB, free: 41.09 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.47e-05/0.2273, allocations: 24.25 kB / 380.1 MB, free: 41.07 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.871e-05/0.2274, allocations: 31.53 kB / 380.2 MB, free: 41.06 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005871/0.228, allocations: 304.9 kB / 380.5 MB, free: 40.89 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.05e-05/0.228, allocations: 4 kB / 380.5 MB, free: 40.89 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.06e-05/0.228, allocations: 10.38 kB / 380.5 MB, free: 40.88 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.04e-05/0.2281, allocations: 7.219 kB / 380.5 MB, free: 40.88 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006514/0.2287, allocations: 313.7 kB / 380.8 MB, free: 40.74 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001618/0.2303, allocations: 1.106 MB / 381.9 MB, free: 39.86 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008102/0.2312, allocations: 322.3 kB / 382.2 MB, free: 39.7 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003864/0.2316, allocations: 171.5 kB / 382.4 MB, free: 39.63 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.266e-05/0.2316, allocations: 2.344 kB / 382.4 MB, free: 39.63 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.604e-05/0.2316, allocations: 40.41 kB / 382.4 MB, free: 39.59 MB / 298.7 MB Notification: Performance of pre-optimization done (n=20): time 1.563e-06/0.2316, allocations: 0 / 382.4 MB, free: 39.59 MB / 298.7 MB Notification: Performance of matching and sorting (n=20): time 0.002449/0.2341, allocations: 0.9173 MB / 383.3 MB, free: 39.07 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.975e-05/0.2341, allocations: 53.81 kB / 383.4 MB, free: 39.01 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002292/0.2343, allocations: 265.7 kB / 383.6 MB, free: 38.82 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.739e-05/0.2344, allocations: 30.73 kB / 383.7 MB, free: 38.79 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.728e-05/0.2345, allocations: 204.7 kB / 383.9 MB, free: 38.6 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.802e-05/0.2345, allocations: 75.95 kB / 383.9 MB, free: 38.54 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.066e-05/0.2345, allocations: 5.438 kB / 383.9 MB, free: 38.53 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.823e-05/0.2346, allocations: 332.2 kB / 384.3 MB, free: 38.2 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002256/0.2348, allocations: 95.7 kB / 384.4 MB, free: 38.16 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002502/0.2351, allocations: 189.1 kB / 384.5 MB, free: 38 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002454/0.2353, allocations: 118.5 kB / 384.7 MB, free: 37.95 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.2353, allocations: 5.062 kB / 384.7 MB, free: 37.95 MB / 298.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001279/0.2366, allocations: 0.5471 MB / 385.2 MB, free: 37.69 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.02e-05/0.2367, allocations: 175.6 kB / 385.4 MB, free: 37.49 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.273e-05/0.2367, allocations: 3.125 kB / 385.4 MB, free: 37.49 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000595/0.2373, allocations: 147.2 kB / 385.5 MB, free: 37.42 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002016/0.2375, allocations: 54.73 kB / 385.6 MB, free: 37.41 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003465/0.241, allocations: 3.446 MB / 389 MB, free: 33.71 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002671/0.2413, allocations: 47.58 kB / 389.1 MB, free: 33.67 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.758e-05/0.2413, allocations: 12 kB / 389.1 MB, free: 33.66 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.702e-06/0.2413, allocations: 8.062 kB / 389.1 MB, free: 33.65 MB / 298.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003446/0.2417, allocations: 257 kB / 389.4 MB, free: 33.39 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.808e-06/0.2417, allocations: 7.938 kB / 389.4 MB, free: 33.38 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.488e-05/0.2418, allocations: 50.06 kB / 389.4 MB, free: 33.33 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001787/0.242, allocations: 63.84 kB / 389.5 MB, free: 33.27 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001068/0.2431, allocations: 2.688 MB / 392.2 MB, free: 30.31 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001383/0.2432, allocations: 23.91 kB / 392.2 MB, free: 30.29 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.265e-05/0.2432, allocations: 16 kB / 392.2 MB, free: 30.27 MB / 298.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 5,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0001266/0.2434, allocations: 217 kB / 392.4 MB, free: 30.05 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.632e-05/0.2434, allocations: 31.66 kB / 392.4 MB, free: 30.02 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.622e-05/0.2435, allocations: 30.19 kB / 392.5 MB, free: 29.98 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.2435, allocations: 4 kB / 392.5 MB, free: 29.98 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.196e-06/0.2435, allocations: 3.938 kB / 392.5 MB, free: 29.98 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/0.2435, allocations: 3.984 kB / 392.5 MB, free: 29.97 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001232/0.2447, allocations: 0.8199 MB / 393.3 MB, free: 29.09 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.2447, allocations: 4 kB / 393.3 MB, free: 29.09 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001163/0.2449, allocations: 23.98 kB / 393.3 MB, free: 29.06 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003788/0.2453, allocations: 137.6 kB / 393.5 MB, free: 28.92 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.303e-05/0.2453, allocations: 4 kB / 393.5 MB, free: 28.92 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003122/0.2484, allocations: 3.427 MB / 396.9 MB, free: 25.23 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.2484, allocations: 0 / 396.9 MB, free: 25.23 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001151/0.2496, allocations: 0.612 MB / 397.5 MB, free: 24.6 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.665e-05/0.2496, allocations: 104.8 kB / 397.6 MB, free: 24.48 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.758e-05/0.2497, allocations: 4 kB / 397.6 MB, free: 24.47 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002231/0.2499, allocations: 36.03 kB / 397.6 MB, free: 24.44 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.3e-05/0.25, allocations: 15.98 kB / 397.7 MB, free: 24.42 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.171e-05/0.25, allocations: 7.984 kB / 397.7 MB, free: 24.41 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.000123/0.2501, allocations: 186 kB / 397.9 MB, free: 24.23 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2501, allocations: 0 / 397.9 MB, free: 24.23 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0005867/0.2507, allocations: 159.6 kB / 398 MB, free: 24.08 MB / 298.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 5,1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001031/0.2508, allocations: 103.2 kB / 398.1 MB, free: 23.96 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001217/0.252, allocations: 0.8898 MB / 399 MB, free: 23.02 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.356e-06/0.2521, allocations: 320 / 399 MB, free: 23.02 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006388/0.2527, allocations: 445 kB / 399.4 MB, free: 22.56 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004159/0.2531, allocations: 59.75 kB / 399.5 MB, free: 22.51 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000962/0.2541, allocations: 0.7457 MB / 400.2 MB, free: 21.73 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001592/0.2543, allocations: 0.7684 MB / 401 MB, free: 20.94 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.736e-05/0.2543, allocations: 19.44 kB / 401 MB, free: 20.92 MB / 298.7 MB Notification: Performance of SimCode: time 3.3e-07/0.2543, allocations: 0 / 401 MB, free: 20.92 MB / 298.7 MB Notification: Performance of Templates: time 0.005439/0.2598, allocations: 5.666 MB / 406.7 MB, free: 15.25 MB / 298.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator.sim & ./Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator.pipe 2>&1)