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: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator,fileNamePrefix="Modelica_3_2_3_cpp_Modelica_Electrical_Analog_Examples_OpAmps_SignalGenerator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator,fileNamePrefix="Modelica_3_2_3_cpp_Modelica_Electrical_Analog_Examples_OpAmps_SignalGenerator",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001582/0.001587, allocations: 181.2 kB / 16.4 MB, free: 5.723 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.02/2.02, allocations: 205.4 MB / 222.5 MB, free: 9.121 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.001209/0.001209, allocations: 93.3 kB / 270.9 MB, free: 8.367 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003866/0.0003866, allocations: 8 kB / 327.1 MB, free: 92 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3426/0.3431, allocations: 47.57 MB / 374.6 MB, free: 45.3 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1278/0.4709, allocations: 77.86 MB / 452.5 MB, free: 2.773 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003134/0.4712, allocations: 79.95 kB / 452.6 MB, free: 2.695 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02376/0.495, allocations: 5.197 MB / 457.8 MB, free: 13.49 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.164e-06/0.4951, allocations: 0 / 457.8 MB, free: 13.49 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.223e-05/0.4951, allocations: 11.98 kB / 457.8 MB, free: 13.48 MB / 346.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.001431/0.4966, allocations: 0.585 MB / 458.4 MB, free: 12.84 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.987e-05/0.4966, allocations: 8.031 kB / 458.4 MB, free: 12.84 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001255/0.4968, allocations: 70.53 kB / 458.5 MB, free: 12.76 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000103/0.4969, allocations: 35.53 kB / 458.5 MB, free: 12.72 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005379/0.4974, allocations: 295.6 kB / 458.8 MB, free: 12.39 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.221e-05/0.4975, allocations: 20.66 kB / 458.8 MB, free: 12.38 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.875e-05/0.4976, allocations: 32 kB / 458.8 MB, free: 12.34 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001056/0.4986, allocations: 306 kB / 459.1 MB, free: 12.04 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.988e-05/0.4987, allocations: 0 / 459.1 MB, free: 12.04 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.889e-05/0.4987, allocations: 15.94 kB / 459.1 MB, free: 12.02 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.047e-05/0.4988, allocations: 8 kB / 459.1 MB, free: 12.01 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001219/0.5, allocations: 306.5 kB / 459.4 MB, free: 11.71 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003363/0.5034, allocations: 1.216 MB / 460.7 MB, free: 10.41 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001468/0.5049, allocations: 314.8 kB / 461 MB, free: 10.09 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.103e-05/0.505, allocations: 8.344 kB / 461 MB, free: 10.09 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.315e-05/0.505, allocations: 38.52 kB / 461 MB, free: 10.04 MB / 346.7 MB Notification: Performance of pre-optimization done (n=20): time 3.577e-06/0.505, allocations: 0 / 461 MB, free: 10.04 MB / 346.7 MB Notification: Performance of matching and sorting (n=20): time 0.004005/0.5091, allocations: 0.827 MB / 461.8 MB, free: 9.164 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.305e-05/0.5091, allocations: 55.36 kB / 461.9 MB, free: 9.098 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004024/0.5096, allocations: 241.9 kB / 462.1 MB, free: 8.859 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.995e-05/0.5096, allocations: 33.64 kB / 462.2 MB, free: 8.82 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001751/0.5098, allocations: 266.2 kB / 462.4 MB, free: 8.559 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.441e-05/0.5099, allocations: 63.02 kB / 462.5 MB, free: 8.496 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.474e-05/0.5099, allocations: 8 kB / 462.5 MB, free: 8.488 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.000146/0.5101, allocations: 326.8 kB / 462.8 MB, free: 8.16 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004221/0.5105, allocations: 91.94 kB / 462.9 MB, free: 8.07 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004875/0.511, allocations: 187 kB / 463.1 MB, free: 7.848 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004587/0.5115, allocations: 110.3 kB / 463.2 MB, free: 7.742 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.91e-06/0.5115, allocations: 4 kB / 463.2 MB, free: 7.738 MB / 346.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.002114/0.5136, allocations: 498.9 kB / 463.7 MB, free: 7.238 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005352/0.5142, allocations: 1.135 MB / 464.8 MB, free: 6.016 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.44e-05/0.5143, allocations: 4 kB / 464.8 MB, free: 6.012 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008956/0.5152, allocations: 145.6 kB / 465 MB, free: 5.863 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003997/0.5156, allocations: 55.91 kB / 465 MB, free: 5.809 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001678/0.5173, allocations: 1.206 MB / 466.2 MB, free: 4.551 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004538/0.5178, allocations: 51.52 kB / 466.3 MB, free: 4.5 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.355e-05/0.5178, allocations: 19.94 kB / 466.3 MB, free: 4.48 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.478e-05/0.5178, allocations: 4.938 kB / 466.3 MB, free: 4.477 MB / 346.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00073/0.5186, allocations: 269.2 kB / 466.6 MB, free: 4.207 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.63e-06/0.5186, allocations: 0 / 466.6 MB, free: 4.207 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002055/0.5188, allocations: 53.69 kB / 466.6 MB, free: 4.148 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003777/0.5192, allocations: 55.92 kB / 466.7 MB, free: 4.094 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002821/0.522, allocations: 2.821 MB / 469.5 MB, free: 1 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002304/0.5223, allocations: 32.02 kB / 469.5 MB, free: 0.9688 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.644e-05/0.5224, allocations: 16 kB / 469.5 MB, free: 0.9531 MB / 346.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 (30): * Single equations (assignments): 28 * 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 4,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0002938/0.5227, allocations: 221.1 kB / 469.8 MB, free: 0.7266 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.875e-05/0.5228, allocations: 23.72 kB / 469.8 MB, free: 0.7031 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.757e-05/0.5229, allocations: 38.16 kB / 469.8 MB, free: 0.6641 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.897e-06/0.5229, allocations: 3.938 kB / 469.8 MB, free: 0.6602 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.226e-06/0.5229, allocations: 0 / 469.8 MB, free: 0.6602 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.358e-06/0.5229, allocations: 0 / 469.8 MB, free: 0.6602 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005467/0.5235, allocations: 333.3 kB / 470.1 MB, free: 292 kB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-06/0.5235, allocations: 0 / 470.1 MB, free: 292 kB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000259/0.5237, allocations: 27.98 kB / 470.2 MB, free: 264 kB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007449/0.5245, allocations: 137.6 kB / 470.3 MB, free: 120 kB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.501e-05/0.5246, allocations: 4 kB / 470.3 MB, free: 116 kB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00663/0.5312, allocations: 3.19 MB / 473.5 MB, free: 12.66 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.5312, allocations: 0 / 473.5 MB, free: 12.66 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002459/0.5337, allocations: 0.6052 MB / 474.1 MB, free: 12.03 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001541/0.5339, allocations: 104.9 kB / 474.2 MB, free: 11.91 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.692e-05/0.534, allocations: 7.953 kB / 474.2 MB, free: 11.9 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004215/0.5344, allocations: 27.98 kB / 474.2 MB, free: 11.88 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001113/0.5345, allocations: 19.97 kB / 474.3 MB, free: 11.86 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.247e-05/0.5346, allocations: 4.375 kB / 474.3 MB, free: 11.85 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003138/0.5349, allocations: 198 kB / 474.5 MB, free: 11.66 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.31e-07/0.5349, allocations: 0 / 474.5 MB, free: 11.66 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0009486/0.5359, allocations: 155.5 kB / 474.6 MB, free: 11.5 MB / 362.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 (14): * Single equations (assignments): 12 * 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 4,1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.002935/0.5388, allocations: 1.148 MB / 475.8 MB, free: 10.32 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001831/0.5407, allocations: 0.6115 MB / 476.4 MB, free: 9.688 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 5.21e-06/0.5407, allocations: 1.438 kB / 476.4 MB, free: 9.688 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007912/0.5415, allocations: 349.3 kB / 476.7 MB, free: 9.32 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005489/0.5421, allocations: 44.09 kB / 476.8 MB, free: 9.281 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006627/0.5488, allocations: 3.736 MB / 480.5 MB, free: 5.434 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005138/0.5493, allocations: 0.7732 MB / 481.3 MB, free: 4.633 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000221/0.5496, allocations: 85.27 kB / 481.4 MB, free: 4.555 MB / 362.7 MB Notification: Performance of SimCode: time 9.02e-07/0.5496, allocations: 0 / 481.4 MB, free: 4.555 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.71/3.26, allocations: 6.689 MB / 488 MB, free: 13.87 MB / 378.7 MB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator_res.mat --tempDir=temp_Modelica_3_2_3_cpp_Modelica_Electrical_Analog_Examples_OpAmps_SignalGenerator_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_cpp_Modelica_Electrical_Analog_Examples_OpAmps_SignalGenerator.fmu > Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator.pipe 2>&1)