Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.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.2.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.2.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.009187/0.009187, allocations: 96.16 kB / 15.73 MB, free: 6.055 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.001632/0.001632, allocations: 201.9 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.089/2.089, allocations: 205.1 MB / 222.5 MB, free: 4.535 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.002259/0.002259, allocations: 47.39 kB / 326.6 MB, free: 14.25 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1843/0.1866, allocations: 46.62 MB / 373.2 MB, free: 1.301 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator): time 0.006501/0.1932, allocations: 2.912 MB / 376.1 MB, free: 14.37 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002145/0.1954, allocations: 0.7836 MB / 376.9 MB, free: 13.58 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003188/0.1958, allocations: 4 kB / 376.9 MB, free: 13.57 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002738/0.1961, allocations: 55.44 kB / 377 MB, free: 13.52 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003331/0.1965, allocations: 111.1 kB / 377.1 MB, free: 13.41 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004716/0.197, allocations: 123.8 kB / 377.2 MB, free: 13.29 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000484/0.1975, allocations: 410.2 kB / 377.6 MB, free: 12.89 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003505/0.1978, allocations: 143.2 kB / 377.7 MB, free: 12.75 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002121/0.198, allocations: 143.5 kB / 377.9 MB, free: 12.61 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002517/0.1983, allocations: 175.2 kB / 378 MB, free: 12.43 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.426e-05/0.1984, allocations: 36 kB / 378.1 MB, free: 12.4 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.312e-05/0.1984, allocations: 32 kB / 378.1 MB, free: 12.37 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.105e-05/0.1985, allocations: 75.69 kB / 378.2 MB, free: 12.29 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001674/0.1987, allocations: 171.2 kB / 378.3 MB, free: 12.12 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004696/0.1991, allocations: 374.6 kB / 378.7 MB, free: 11.76 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.944e-06/0.1992, allocations: 7.938 kB / 378.7 MB, free: 11.75 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.923e-06/0.1992, allocations: 0 / 378.7 MB, free: 11.75 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.628e-06/0.1992, allocations: 0 / 378.7 MB, free: 11.75 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.001139/0.2003, allocations: 0.6356 MB / 379.4 MB, free: 11.07 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.866e-05/0.2004, allocations: 8.031 kB / 379.4 MB, free: 11.06 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.333e-05/0.2005, allocations: 40.47 kB / 379.4 MB, free: 11.02 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000507/0.201, allocations: 295.3 kB / 379.7 MB, free: 10.69 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.803e-05/0.201, allocations: 21.03 kB / 379.7 MB, free: 10.67 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.959e-05/0.2011, allocations: 36.38 kB / 379.7 MB, free: 10.64 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006394/0.2018, allocations: 302.4 kB / 380 MB, free: 10.33 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.346e-05/0.2018, allocations: 3.938 kB / 380 MB, free: 10.33 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.229e-05/0.2018, allocations: 19.98 kB / 380.1 MB, free: 10.31 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.12e-05/0.2018, allocations: 8 kB / 380.1 MB, free: 10.3 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006717/0.2025, allocations: 294.4 kB / 380.4 MB, free: 10.02 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002095/0.2046, allocations: 1.08 MB / 381.4 MB, free: 8.859 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008771/0.2055, allocations: 290.8 kB / 381.7 MB, free: 8.566 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000448/0.206, allocations: 176.7 kB / 381.9 MB, free: 8.391 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.876e-05/0.206, allocations: 7.938 kB / 381.9 MB, free: 8.383 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.33e-05/0.2061, allocations: 34.56 kB / 381.9 MB, free: 8.34 MB / 318.1 MB Notification: Performance of pre-optimization done (n=20): time 2.445e-06/0.2061, allocations: 0 / 381.9 MB, free: 8.34 MB / 318.1 MB Notification: Performance of matching and sorting (n=20): time 0.002624/0.2087, allocations: 0.8214 MB / 382.8 MB, free: 7.469 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.989e-05/0.2088, allocations: 55.41 kB / 382.8 MB, free: 7.402 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004336/0.2093, allocations: 270.6 kB / 383.1 MB, free: 7.129 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 4.23e-05/0.2093, allocations: 25.7 kB / 383.1 MB, free: 7.098 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002633/0.2096, allocations: 207.9 kB / 383.3 MB, free: 6.887 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001055/0.2097, allocations: 70.95 kB / 383.4 MB, free: 6.816 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001252/0.2098, allocations: 61.61 kB / 383.4 MB, free: 6.75 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0002207/0.2101, allocations: 334.8 kB / 383.8 MB, free: 6.414 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002546/0.2103, allocations: 96.8 kB / 383.9 MB, free: 6.316 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002953/0.2106, allocations: 183 kB / 384 MB, free: 6.098 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005694/0.2112, allocations: 286.8 kB / 384.3 MB, free: 5.777 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.978e-06/0.2112, allocations: 0 / 384.3 MB, free: 5.777 MB / 318.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001306/0.2125, allocations: 0.5026 MB / 384.8 MB, free: 5.262 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.392e-05/0.2126, allocations: 8 kB / 384.8 MB, free: 5.254 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.503e-05/0.2126, allocations: 4 kB / 384.8 MB, free: 5.25 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000503/0.2131, allocations: 121.7 kB / 385 MB, free: 5.125 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001922/0.2133, allocations: 59.84 kB / 385 MB, free: 5.066 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005152/0.2185, allocations: 3.65 MB / 388.7 MB, free: 1.133 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003782/0.2189, allocations: 43.67 kB / 388.7 MB, free: 1.09 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.795e-05/0.2189, allocations: 15.98 kB / 388.7 MB, free: 1.074 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003088/0.2193, allocations: 160.1 kB / 388.9 MB, free: 0.9141 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001855/0.2195, allocations: 155.5 kB / 389 MB, free: 0.7227 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003461/0.2198, allocations: 239 kB / 389.3 MB, free: 460 kB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.355e-06/0.2198, allocations: 0 / 389.3 MB, free: 460 kB / 318.1 MB Notification: Performance of matching and sorting (n=36) (initialization_lambda0): time 0.0006131/0.2204, allocations: 306.9 kB / 389.6 MB, free: 140 kB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.197e-05/0.2205, allocations: 8 kB / 389.6 MB, free: 132 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.977e-06/0.2205, allocations: 4 kB / 389.6 MB, free: 128 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002176/0.2207, allocations: 53.77 kB / 389.6 MB, free: 68 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002062/0.2209, allocations: 59.91 kB / 389.7 MB, free: 8 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002372/0.2233, allocations: 2.97 MB / 392.7 MB, free: 12.76 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002118/0.2236, allocations: 27.69 kB / 392.7 MB, free: 12.73 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.529e-05/0.2236, allocations: 8 kB / 392.7 MB, free: 12.73 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.0002184/0.2238, allocations: 204.2 kB / 392.9 MB, free: 12.52 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.819e-05/0.2239, allocations: 27.66 kB / 392.9 MB, free: 12.49 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.044e-05/0.224, allocations: 30.17 kB / 392.9 MB, free: 12.46 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.813e-06/0.224, allocations: 4 kB / 392.9 MB, free: 12.46 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.427e-06/0.224, allocations: 0 / 392.9 MB, free: 12.46 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.532e-06/0.224, allocations: 0 / 392.9 MB, free: 12.46 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001553/0.2256, allocations: 0.7925 MB / 393.7 MB, free: 11.6 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.448e-06/0.2256, allocations: 0 / 393.7 MB, free: 11.6 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001403/0.2258, allocations: 27.98 kB / 393.8 MB, free: 11.57 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004554/0.2262, allocations: 133.5 kB / 393.9 MB, free: 11.44 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.814e-05/0.2263, allocations: 0 / 393.9 MB, free: 11.44 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004833/0.2311, allocations: 3.627 MB / 397.5 MB, free: 7.527 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-06/0.2311, allocations: 4.062 kB / 397.5 MB, free: 7.523 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001372/0.2325, allocations: 0.5591 MB / 398.1 MB, free: 6.941 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001428/0.2327, allocations: 108.8 kB / 398.2 MB, free: 6.816 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.49e-05/0.2327, allocations: 0 / 398.2 MB, free: 6.816 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002286/0.2329, allocations: 27.97 kB / 398.2 MB, free: 6.789 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.617e-05/0.2331, allocations: 19.92 kB / 398.2 MB, free: 6.77 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.582e-05/0.2331, allocations: 4 kB / 398.2 MB, free: 6.766 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.00025/0.2333, allocations: 198 kB / 398.4 MB, free: 6.578 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.2333, allocations: 0 / 398.4 MB, free: 6.578 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000956/0.2343, allocations: 159.6 kB / 398.6 MB, free: 6.422 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.0002371/0.2345, allocations: 107.2 kB / 398.7 MB, free: 6.305 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.00175/0.2363, allocations: 0.8771 MB / 399.6 MB, free: 5.375 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.148e-06/0.2363, allocations: 1.375 kB / 399.6 MB, free: 5.375 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008054/0.2371, allocations: 429.1 kB / 400 MB, free: 4.93 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005232/0.2377, allocations: 48.58 kB / 400 MB, free: 4.883 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001422/0.2391, allocations: 0.5872 MB / 400.6 MB, free: 4.27 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004422/0.2396, allocations: 0.7684 MB / 401.4 MB, free: 3.477 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001309/0.2397, allocations: 30.97 kB / 401.4 MB, free: 3.445 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.381e-05/0.2398, allocations: 23.44 kB / 401.5 MB, free: 3.422 MB / 334.1 MB Notification: Performance of SimCode: time 1.332e-06/0.2398, allocations: 4 kB / 401.5 MB, free: 3.418 MB / 334.1 MB Notification: Performance of Templates: time 0.01089/0.2507, allocations: 4.711 MB / 406.2 MB, free: 14.7 MB / 350.1 MB make -j1 -f Modelica_3.2.1_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator.makefile (rm -f Modelica_3.2.1_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator.pipe ; mkfifo Modelica_3.2.1_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator.pipe >> ../files/Modelica_3.2.1_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator.sim & ./Modelica_3.2.1_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator.pipe 2>&1)