Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.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.LowPass,fileNamePrefix="Modelica_3_2_3_cpp_Modelica_Electrical_Analog_Examples_OpAmps_LowPass",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.LowPass,fileNamePrefix="Modelica_3_2_3_cpp_Modelica_Electrical_Analog_Examples_OpAmps_LowPass",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.001531/0.001531, allocations: 186 kB / 16.4 MB, free: 5.746 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.981/1.981, allocations: 205.4 MB / 222.5 MB, free: 9.125 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.001116/0.001116, allocations: 99.5 kB / 270.9 MB, free: 8.383 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004501/0.0004499, allocations: 16 kB / 327.1 MB, free: 104 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3269/0.3274, allocations: 47.56 MB / 374.6 MB, free: 45.33 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.13/0.4574, allocations: 79.41 MB / 454 MB, free: 1.25 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003408/0.4578, allocations: 83.95 kB / 454.1 MB, free: 1.168 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02953/0.4874, allocations: 6.069 MB / 460.2 MB, free: 11.07 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.165e-06/0.4874, allocations: 0 / 460.2 MB, free: 11.07 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.702e-05/0.4875, allocations: 8 kB / 460.2 MB, free: 11.07 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: 55 * Number of variables: 55 Notification: Performance of Generate backend data structure: time 0.001741/0.4892, allocations: 0.6223 MB / 460.8 MB, free: 10.39 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.673e-05/0.4893, allocations: 12.03 kB / 460.8 MB, free: 10.38 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000107/0.4894, allocations: 62.55 kB / 460.9 MB, free: 10.31 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000102/0.4895, allocations: 31.62 kB / 460.9 MB, free: 10.28 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005713/0.4901, allocations: 288.5 kB / 461.2 MB, free: 9.953 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.755e-05/0.4901, allocations: 12.56 kB / 461.2 MB, free: 9.941 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.82e-05/0.4902, allocations: 27.98 kB / 461.3 MB, free: 9.914 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001071/0.4913, allocations: 272.8 kB / 461.5 MB, free: 9.641 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.491e-05/0.4913, allocations: 0 / 461.5 MB, free: 9.641 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.914e-05/0.4914, allocations: 15.98 kB / 461.5 MB, free: 9.625 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.133e-05/0.4914, allocations: 7.938 kB / 461.5 MB, free: 9.617 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001451/0.4929, allocations: 302.1 kB / 461.8 MB, free: 9.32 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002869/0.4958, allocations: 0.9694 MB / 462.8 MB, free: 8.285 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001557/0.4974, allocations: 385.3 kB / 463.2 MB, free: 7.883 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.845e-05/0.4975, allocations: 7.938 kB / 463.2 MB, free: 7.875 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008478/0.4983, allocations: 210.1 kB / 463.4 MB, free: 7.648 MB / 346.7 MB Notification: Performance of pre-optimization done (n=18): time 3.527e-06/0.4983, allocations: 0 / 463.4 MB, free: 7.648 MB / 346.7 MB Notification: Performance of matching and sorting (n=18): time 0.003234/0.5016, allocations: 0.631 MB / 464 MB, free: 6.992 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.954e-05/0.5017, allocations: 110.8 kB / 464.1 MB, free: 6.859 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000473/0.5022, allocations: 245.6 kB / 464.4 MB, free: 6.613 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 5.051e-05/0.5023, allocations: 33.7 kB / 464.4 MB, free: 6.574 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001953/0.5025, allocations: 230.4 kB / 464.6 MB, free: 6.348 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.978e-05/0.5026, allocations: 55.2 kB / 464.7 MB, free: 6.293 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.248e-05/0.5026, allocations: 4 kB / 464.7 MB, free: 6.289 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001524/0.5028, allocations: 322.8 kB / 465 MB, free: 5.965 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006049/0.5034, allocations: 116.2 kB / 465.1 MB, free: 5.848 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006695/0.5041, allocations: 188.2 kB / 465.3 MB, free: 5.633 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006477/0.5047, allocations: 156.2 kB / 465.5 MB, free: 5.477 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.14e-06/0.5048, allocations: 4 kB / 465.5 MB, free: 5.473 MB / 346.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001869/0.5066, allocations: 428.8 kB / 465.9 MB, free: 5.039 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003688/0.507, allocations: 0.6493 MB / 466.5 MB, free: 4.336 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.302e-05/0.5071, allocations: 4 kB / 466.5 MB, free: 4.332 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004118/0.5075, allocations: 52.81 kB / 466.6 MB, free: 4.277 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005264/0.508, allocations: 75.84 kB / 466.7 MB, free: 4.203 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008143/0.5089, allocations: 0.5874 MB / 467.2 MB, free: 3.59 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006165/0.5095, allocations: 59.77 kB / 467.3 MB, free: 3.531 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.327e-05/0.5095, allocations: 11.94 kB / 467.3 MB, free: 3.52 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.507e-05/0.5096, allocations: 4 kB / 467.3 MB, free: 3.516 MB / 346.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001368/0.511, allocations: 323.5 kB / 467.6 MB, free: 3.191 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.561e-06/0.511, allocations: 0 / 467.6 MB, free: 3.191 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001275/0.5111, allocations: 32.73 kB / 467.7 MB, free: 3.156 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004919/0.5116, allocations: 63.95 kB / 467.7 MB, free: 3.094 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001551/0.5132, allocations: 1.386 MB / 469.1 MB, free: 1.574 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004637/0.5137, allocations: 48.03 kB / 469.2 MB, free: 1.527 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.194e-05/0.5137, allocations: 12 kB / 469.2 MB, free: 1.516 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.vIn.signalSource.T_start,vIn.signalSource.T_start,$PRE.vIn.signalSource.count,vIn.signalSource.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0003418/0.5141, allocations: 217.1 kB / 469.4 MB, free: 1.293 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001052/0.5142, allocations: 27.7 kB / 469.4 MB, free: 1.266 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.028e-05/0.5143, allocations: 30.19 kB / 469.4 MB, free: 1.234 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.942e-06/0.5143, allocations: 4 kB / 469.4 MB, free: 1.23 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.611e-06/0.5144, allocations: 0 / 469.4 MB, free: 1.23 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.566e-06/0.5144, allocations: 7.922 kB / 469.5 MB, free: 1.223 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002343/0.5167, allocations: 0.7535 MB / 470.2 MB, free: 416 kB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.558e-06/0.5168, allocations: 0 / 470.2 MB, free: 416 kB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004662/0.5172, allocations: 51.98 kB / 470.3 MB, free: 364 kB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003153/0.5176, allocations: 56.81 kB / 470.3 MB, free: 304 kB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.559e-05/0.5176, allocations: 0 / 470.3 MB, free: 304 kB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002726/0.5204, allocations: 1.503 MB / 471.8 MB, free: 14.66 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.462e-06/0.5204, allocations: 3.953 kB / 471.8 MB, free: 14.66 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002421/0.5228, allocations: 0.5906 MB / 472.4 MB, free: 14.04 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001522/0.523, allocations: 112.7 kB / 472.5 MB, free: 13.91 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.442e-05/0.5231, allocations: 4.062 kB / 472.5 MB, free: 13.91 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005034/0.5236, allocations: 39.97 kB / 472.6 MB, free: 13.87 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001351/0.5238, allocations: 19.97 kB / 472.6 MB, free: 13.85 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.7e-05/0.5238, allocations: 7.984 kB / 472.6 MB, free: 13.84 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003184/0.5241, allocations: 194 kB / 472.8 MB, free: 13.65 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.61e-07/0.5242, allocations: 0 / 472.8 MB, free: 13.65 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0008118/0.525, allocations: 127.7 kB / 472.9 MB, free: 13.53 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (c.v) * Number of discrete variables: 3 ($whenCondition1,vIn.signalSource.T_start,vIn.signalSource.count) * Number of discrete states: 1 (vIn.signalSource.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.002853/0.5278, allocations: 1.214 MB / 474.1 MB, free: 12.28 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.002388/0.5303, allocations: 0.6466 MB / 474.8 MB, free: 11.6 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.81e-06/0.5303, allocations: 0 / 474.8 MB, free: 11.6 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008172/0.5311, allocations: 253 kB / 475 MB, free: 11.34 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005524/0.5317, allocations: 50.67 kB / 475.1 MB, free: 11.3 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006248/0.538, allocations: 2.748 MB / 477.8 MB, free: 8.461 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004796/0.5385, allocations: 0.768 MB / 478.6 MB, free: 7.668 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002498/0.5388, allocations: 79.41 kB / 478.7 MB, free: 7.594 MB / 362.7 MB Notification: Performance of SimCode: time 1.343e-06/0.5388, allocations: 0 / 478.7 MB, free: 7.594 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.807/3.346, allocations: 5.583 MB / 484.2 MB, free: 2.012 MB / 362.7 MB (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.LowPass_res.mat --tempDir=temp_Modelica_3_2_3_cpp_Modelica_Electrical_Analog_Examples_OpAmps_LowPass_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_cpp_Modelica_Electrical_Analog_Examples_OpAmps_LowPass.fmu > Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.LowPass_res.mat does not exist to compare? outputFormat=mat