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.002251/0.002251, allocations: 181.8 kB / 13.66 MB, free: 1.664 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.074/2.074, allocations: 205.2 MB / 219.4 MB, free: 14.23 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.001101/0.001101, allocations: 102.6 kB / 267.5 MB, free: 14.04 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.385e-05/3.404e-05, allocations: 7.984 kB / 321.5 MB, free: 17.84 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09489/0.09495, allocations: 47.58 MB / 369.1 MB, free: 2.191 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3878/0.4828, allocations: 77.77 MB / 446.9 MB, free: 15.39 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002837/0.4832, allocations: 80.2 kB / 446.9 MB, free: 15.34 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02269/0.5059, allocations: 5.185 MB / 452.1 MB, free: 10.9 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.603e-06/0.5059, allocations: 0.7656 kB / 452.1 MB, free: 10.9 MB / 330.7 MB Notification: Performance of Transformations before backend: time 3.476e-05/0.506, allocations: 15.98 kB / 452.1 MB, free: 10.88 MB / 330.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.001183/0.5072, allocations: 0.5472 MB / 452.7 MB, free: 10.31 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.045e-05/0.5072, allocations: 8.031 kB / 452.7 MB, free: 10.3 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001143/0.5074, allocations: 43.53 kB / 452.7 MB, free: 10.26 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005354/0.5079, allocations: 285.6 kB / 453 MB, free: 9.965 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.169e-05/0.508, allocations: 29.8 kB / 453.1 MB, free: 9.949 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.418e-05/0.5081, allocations: 27.38 kB / 453.1 MB, free: 9.93 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006952/0.5088, allocations: 271.1 kB / 453.3 MB, free: 9.746 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.606e-05/0.5088, allocations: 0 / 453.3 MB, free: 9.746 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.45e-05/0.5088, allocations: 10.62 kB / 453.4 MB, free: 9.746 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.582e-05/0.5089, allocations: 8 kB / 453.4 MB, free: 9.738 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006085/0.5095, allocations: 221.7 kB / 453.6 MB, free: 9.594 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003187/0.5127, allocations: 1.21 MB / 454.8 MB, free: 8.512 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007838/0.5135, allocations: 229.1 kB / 455 MB, free: 8.348 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004733/0.514, allocations: 143.2 kB / 455.2 MB, free: 8.238 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.816e-05/0.5141, allocations: 3.953 kB / 455.2 MB, free: 8.234 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.636e-05/0.5141, allocations: 41.69 kB / 455.2 MB, free: 8.188 MB / 330.7 MB Notification: Performance of pre-optimization done (n=20): time 2.675e-06/0.5141, allocations: 0 / 455.2 MB, free: 8.188 MB / 330.7 MB Notification: Performance of matching and sorting (n=20): time 0.001331/0.5155, allocations: 319.8 kB / 455.5 MB, free: 7.91 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.281e-05/0.5155, allocations: 55.36 kB / 455.6 MB, free: 7.844 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003917/0.5159, allocations: 242.2 kB / 455.8 MB, free: 7.645 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.759e-05/0.516, allocations: 32.83 kB / 455.8 MB, free: 7.609 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001553/0.5162, allocations: 255.1 kB / 456.1 MB, free: 7.383 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.262e-05/0.5163, allocations: 76.8 kB / 456.2 MB, free: 7.316 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.098e-05/0.5163, allocations: 10.81 kB / 456.2 MB, free: 7.312 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001229/0.5164, allocations: 318 kB / 456.5 MB, free: 6.996 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001817/0.5166, allocations: 67.56 kB / 456.5 MB, free: 6.953 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002556/0.5169, allocations: 150.5 kB / 456.7 MB, free: 6.797 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002216/0.5171, allocations: 79.22 kB / 456.8 MB, free: 6.742 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.723e-06/0.5171, allocations: 8 kB / 456.8 MB, free: 6.734 MB / 330.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001444/0.5186, allocations: 405.1 kB / 457.2 MB, free: 6.395 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005309/0.5191, allocations: 1.14 MB / 458.3 MB, free: 5.188 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.079e-05/0.5192, allocations: 0 / 458.3 MB, free: 5.188 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004692/0.5197, allocations: 92.56 kB / 458.4 MB, free: 5.109 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003912/0.5201, allocations: 55.91 kB / 458.5 MB, free: 5.055 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001606/0.5217, allocations: 1.208 MB / 459.7 MB, free: 3.844 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004569/0.5222, allocations: 47.52 kB / 459.7 MB, free: 3.801 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.338e-05/0.5222, allocations: 15.39 kB / 459.7 MB, free: 3.789 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.37e-05/0.5222, allocations: 4 kB / 459.7 MB, free: 3.785 MB / 330.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006619/0.5229, allocations: 255 kB / 460 MB, free: 3.594 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/0.5229, allocations: 0 / 460 MB, free: 3.594 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001982/0.5231, allocations: 49.39 kB / 460 MB, free: 3.547 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003763/0.5235, allocations: 59.91 kB / 460.1 MB, free: 3.488 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002405/0.526, allocations: 2.682 MB / 462.8 MB, free: 0.6445 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002351/0.5262, allocations: 23.47 kB / 462.8 MB, free: 0.6289 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.654e-05/0.5263, allocations: 11.94 kB / 462.8 MB, free: 0.6172 MB / 330.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 () * 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.0001497/0.5264, allocations: 124.2 kB / 462.9 MB, free: 0.4961 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001022/0.5266, allocations: 35.64 kB / 463 MB, free: 472 kB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.283e-05/0.5267, allocations: 29.52 kB / 463 MB, free: 456 kB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.191e-06/0.5267, allocations: 4 kB / 463 MB, free: 452 kB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.838e-06/0.5267, allocations: 0 / 463 MB, free: 452 kB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.749e-06/0.5267, allocations: 0 / 463 MB, free: 452 kB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001879/0.5286, allocations: 0.728 MB / 463.7 MB, free: 15.77 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.678e-06/0.5286, allocations: 0 / 463.7 MB, free: 15.77 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002395/0.5289, allocations: 27.92 kB / 463.7 MB, free: 15.74 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003494/0.5292, allocations: 88.98 kB / 463.8 MB, free: 15.67 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.033e-05/0.5293, allocations: 7.625 kB / 463.8 MB, free: 15.66 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004852/0.5341, allocations: 3.109 MB / 466.9 MB, free: 12.3 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.849e-06/0.5342, allocations: 3.984 kB / 467 MB, free: 12.3 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001552/0.5358, allocations: 0.4972 MB / 467.4 MB, free: 11.77 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001419/0.5359, allocations: 100.8 kB / 467.5 MB, free: 11.66 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.309e-05/0.536, allocations: 4 kB / 467.6 MB, free: 11.65 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004034/0.5364, allocations: 27.97 kB / 467.6 MB, free: 11.62 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000101/0.5365, allocations: 31.91 kB / 467.6 MB, free: 11.59 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.23e-05/0.5366, allocations: 4 kB / 467.6 MB, free: 11.59 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0002909/0.5369, allocations: 191.1 kB / 467.8 MB, free: 11.4 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.51e-07/0.5369, allocations: 0 / 467.8 MB, free: 11.4 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0008778/0.5378, allocations: 147.6 kB / 467.9 MB, free: 11.26 MB / 346.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 () * 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.0002015/0.538, allocations: 107.2 kB / 468.1 MB, free: 11.14 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001892/0.5399, allocations: 0.6138 MB / 468.7 MB, free: 10.5 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.969e-06/0.5399, allocations: 1.438 kB / 468.7 MB, free: 10.5 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001144/0.5411, allocations: 397.1 kB / 469.1 MB, free: 10.09 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000514/0.5416, allocations: 48.47 kB / 469.1 MB, free: 10.04 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001183/0.5428, allocations: 432 kB / 469.5 MB, free: 9.598 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004029/0.5432, allocations: 0.7723 MB / 470.3 MB, free: 8.797 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.915e-05/0.5433, allocations: 19.44 kB / 470.3 MB, free: 8.777 MB / 346.7 MB Notification: Performance of SimCode: time 9.41e-07/0.5433, allocations: 0 / 470.3 MB, free: 8.777 MB / 346.7 MB Notification: Performance of Templates: time 0.01126/0.5546, allocations: 5.4 MB / 475.7 MB, free: 3.379 MB / 346.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)