Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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="mat",numberOfIntervals=2000,variableFilter="time|c.v|opAmp1.out.v|opAmp1.out.i|opAmp2.out.v|opAmp2.out.i",fileNamePrefix="Modelica_4.0.0_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_4.0.0_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.001152/0.001152, allocations: 106.3 kB / 17.74 MB, free: 5.359 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.001136/0.001137, allocations: 185.4 kB / 18.67 MB, free: 4.438 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.33/1.33, allocations: 222.9 MB / 242.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009814/0.0009815, allocations: 51.92 kB / 352 MB, free: 3.223 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2325/0.2335, allocations: 49.44 MB / 401.5 MB, free: 8.746 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator): time 0.00362/0.2371, allocations: 2.948 MB / 404.4 MB, free: 5.914 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001071/0.2382, allocations: 0.7362 MB / 405.1 MB, free: 5.172 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001312/0.2384, allocations: 11.94 kB / 405.2 MB, free: 5.16 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001538/0.2385, allocations: 55.44 kB / 405.2 MB, free: 5.105 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001939/0.2387, allocations: 107.2 kB / 405.3 MB, free: 5 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002856/0.239, allocations: 119.8 kB / 405.4 MB, free: 4.883 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003807/0.2394, allocations: 406.3 kB / 405.8 MB, free: 4.484 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002543/0.2397, allocations: 127.4 kB / 405.9 MB, free: 4.355 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001596/0.2398, allocations: 147.4 kB / 406.1 MB, free: 4.211 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001883/0.24, allocations: 171.3 kB / 406.3 MB, free: 4.043 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.839e-05/0.2401, allocations: 32 kB / 406.3 MB, free: 4.012 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.685e-05/0.2402, allocations: 35.94 kB / 406.3 MB, free: 3.977 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.356e-05/0.2402, allocations: 75.69 kB / 406.4 MB, free: 3.902 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000146/0.2404, allocations: 175.1 kB / 406.6 MB, free: 3.73 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003341/0.2407, allocations: 383.8 kB / 406.9 MB, free: 3.359 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.537e-06/0.2407, allocations: 0 / 406.9 MB, free: 3.359 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.2407, allocations: 0 / 406.9 MB, free: 3.359 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.72e-06/0.2408, allocations: 0 / 406.9 MB, free: 3.359 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.0009856/0.2417, allocations: 0.6354 MB / 407.6 MB, free: 2.676 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.828e-05/0.2418, allocations: 11.89 kB / 407.6 MB, free: 2.664 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.766e-05/0.2419, allocations: 36.56 kB / 407.6 MB, free: 2.629 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003559/0.2422, allocations: 279.7 kB / 407.9 MB, free: 2.316 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.06e-05/0.2423, allocations: 29.03 kB / 407.9 MB, free: 2.289 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.196e-05/0.2423, allocations: 36.27 kB / 408 MB, free: 2.254 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006463/0.243, allocations: 353.2 kB / 408.3 MB, free: 1.895 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.021e-05/0.243, allocations: 0 / 408.3 MB, free: 1.895 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.339e-05/0.243, allocations: 16 kB / 408.3 MB, free: 1.879 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.647e-06/0.243, allocations: 12 kB / 408.3 MB, free: 1.867 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000653/0.2437, allocations: 278.5 kB / 408.6 MB, free: 1.598 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001763/0.2455, allocations: 1.166 MB / 409.8 MB, free: 360 kB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008654/0.2463, allocations: 298.7 kB / 410.1 MB, free: 52 kB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004893/0.2468, allocations: 180.7 kB / 410.2 MB, free: 15.87 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.021e-05/0.2469, allocations: 0 / 410.2 MB, free: 15.87 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.88e-05/0.2469, allocations: 34.56 kB / 410.3 MB, free: 15.83 MB / 334.1 MB Notification: Performance of pre-optimization done (n=19): time 1.092e-06/0.2469, allocations: 0 / 410.3 MB, free: 15.83 MB / 334.1 MB Notification: Performance of matching and sorting (n=19): time 0.002672/0.2496, allocations: 0.852 MB / 411.1 MB, free: 14.93 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.737e-05/0.2496, allocations: 59.34 kB / 411.2 MB, free: 14.86 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002534/0.2499, allocations: 274.6 kB / 411.5 MB, free: 14.59 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.275e-05/0.2499, allocations: 33.7 kB / 411.5 MB, free: 14.55 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001144/0.2501, allocations: 203.8 kB / 411.7 MB, free: 14.34 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.895e-05/0.2501, allocations: 67 kB / 411.8 MB, free: 14.28 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.702e-05/0.2502, allocations: 53.7 kB / 411.8 MB, free: 14.21 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001166/0.2503, allocations: 338.8 kB / 412.1 MB, free: 13.88 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002826/0.2506, allocations: 108.7 kB / 412.2 MB, free: 13.77 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003075/0.2509, allocations: 188 kB / 412.4 MB, free: 13.54 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005664/0.2515, allocations: 291.8 kB / 412.7 MB, free: 13.21 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.017e-06/0.2515, allocations: 0 / 412.7 MB, free: 13.21 MB / 334.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001422/0.2529, allocations: 0.5275 MB / 413.2 MB, free: 12.67 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.57e-05/0.253, allocations: 11.94 kB / 413.3 MB, free: 12.66 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.753e-06/0.253, allocations: 4 kB / 413.3 MB, free: 12.66 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005669/0.2536, allocations: 145.7 kB / 413.4 MB, free: 12.51 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001891/0.2538, allocations: 59.91 kB / 413.5 MB, free: 12.45 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005084/0.2588, allocations: 3.704 MB / 417.2 MB, free: 8.461 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002432/0.2591, allocations: 47.73 kB / 417.2 MB, free: 8.414 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.999e-05/0.2591, allocations: 8 kB / 417.2 MB, free: 8.406 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002605/0.2594, allocations: 184.1 kB / 417.4 MB, free: 8.223 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002382/0.2597, allocations: 172.4 kB / 417.6 MB, free: 8.012 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004206/0.2601, allocations: 270.5 kB / 417.8 MB, free: 7.707 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.086e-05/0.2601, allocations: 3.984 kB / 417.8 MB, free: 7.703 MB / 334.1 MB Notification: Performance of matching and sorting (n=36) (initialization_lambda0): time 0.0009143/0.261, allocations: 414.7 kB / 418.2 MB, free: 7.285 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.988e-06/0.261, allocations: 8 kB / 418.2 MB, free: 7.277 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.905e-06/0.2611, allocations: 0 / 418.2 MB, free: 7.277 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002848/0.2613, allocations: 89.69 kB / 418.3 MB, free: 7.184 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002002/0.2616, allocations: 59.92 kB / 418.4 MB, free: 7.125 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002857/0.2644, allocations: 3.008 MB / 421.4 MB, free: 3.832 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002029/0.2646, allocations: 31.73 kB / 421.4 MB, free: 3.801 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.85e-05/0.2647, allocations: 16 kB / 421.4 MB, free: 3.785 MB / 334.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (30): * Single equations (assignments): 28 * 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,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001253/0.2648, allocations: 200.2 kB / 421.6 MB, free: 3.582 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.837e-05/0.2649, allocations: 23.72 kB / 421.7 MB, free: 3.559 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.186e-05/0.2649, allocations: 34.17 kB / 421.7 MB, free: 3.523 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.937e-06/0.2649, allocations: 0 / 421.7 MB, free: 3.523 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.2649, allocations: 0 / 421.7 MB, free: 3.523 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.471e-05/0.265, allocations: 104.8 kB / 421.8 MB, free: 3.402 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.584e-05/0.2651, allocations: 7.938 kB / 421.8 MB, free: 3.395 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002505/0.2653, allocations: 31.97 kB / 421.8 MB, free: 3.363 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.771e-05/0.2654, allocations: 19.97 kB / 421.9 MB, free: 3.344 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001581/0.267, allocations: 0.5282 MB / 422.4 MB, free: 2.805 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0008295/0.2678, allocations: 498.7 kB / 422.9 MB, free: 2.297 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000253/0.2681, allocations: 87.94 kB / 423 MB, free: 2.211 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001751/0.2683, allocations: 194.1 kB / 423.1 MB, free: 2.023 MB / 334.1 MB Notification: Performance of Backend: time 5.71e-07/0.2683, allocations: 0 / 423.1 MB, free: 2.023 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001684/0.27, allocations: 0.9173 MB / 424.1 MB, free: 1.051 MB / 334.1 MB Notification: Performance of SimCode: time 0.001115/0.2711, allocations: 1.06 MB / 425.1 MB, free: 15.95 MB / 350.1 MB Notification: Performance of Templates: time 0.008844/0.28, allocations: 5.011 MB / 430.1 MB, free: 10.95 MB / 350.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator.pipe 2>&1)