Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.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.VoltageFollower,fileNamePrefix="Modelica_3_2_3_cpp_Modelica_Electrical_Analog_Examples_OpAmps_VoltageFollower",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower,fileNamePrefix="Modelica_3_2_3_cpp_Modelica_Electrical_Analog_Examples_OpAmps_VoltageFollower",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.001556/0.00156, allocations: 184.8 kB / 16.41 MB, free: 5.727 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.983/1.983, 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.001214/0.001213, allocations: 100.4 kB / 270.9 MB, free: 8.367 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004045/0.0004042, allocations: 11.98 kB / 327.1 MB, free: 92 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3326/0.3331, allocations: 47.57 MB / 374.6 MB, free: 45.31 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1322/0.4653, allocations: 79.11 MB / 453.8 MB, free: 1.531 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003352/0.4657, allocations: 83.89 kB / 453.8 MB, free: 1.449 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02801/0.4938, allocations: 5.655 MB / 459.5 MB, free: 11.77 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.994e-06/0.4938, allocations: 0 / 459.5 MB, free: 11.77 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.512e-05/0.4939, allocations: 12 kB / 459.5 MB, free: 11.76 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: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.001718/0.4956, allocations: 0.595 MB / 460.1 MB, free: 11.11 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.639e-05/0.4957, allocations: 12.03 kB / 460.1 MB, free: 11.1 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001095/0.4958, allocations: 50.55 kB / 460.2 MB, free: 11.04 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.67e-05/0.4959, allocations: 31.62 kB / 460.2 MB, free: 11.01 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005012/0.4964, allocations: 271.4 kB / 460.5 MB, free: 10.7 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.229e-05/0.4965, allocations: 20.33 kB / 460.5 MB, free: 10.68 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.729e-05/0.4965, allocations: 27.94 kB / 460.5 MB, free: 10.66 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001044/0.4976, allocations: 251.2 kB / 460.7 MB, free: 10.4 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.599e-05/0.4976, allocations: 4 kB / 460.8 MB, free: 10.4 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.427e-05/0.4977, allocations: 12 kB / 460.8 MB, free: 10.39 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.015e-05/0.4977, allocations: 4 kB / 460.8 MB, free: 10.38 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001444/0.4992, allocations: 289.8 kB / 461.1 MB, free: 10.1 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002746/0.502, allocations: 0.8983 MB / 462 MB, free: 9.129 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00129/0.5033, allocations: 311.6 kB / 462.3 MB, free: 8.797 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.064e-05/0.5034, allocations: 7.953 kB / 462.3 MB, free: 8.789 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007646/0.5042, allocations: 182 kB / 462.4 MB, free: 8.59 MB / 346.7 MB Notification: Performance of pre-optimization done (n=11): time 3.176e-06/0.5042, allocations: 0 / 462.4 MB, free: 8.59 MB / 346.7 MB Notification: Performance of matching and sorting (n=11): time 0.003105/0.5073, allocations: 0.5733 MB / 463 MB, free: 7.988 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.615e-05/0.5074, allocations: 110.8 kB / 463.1 MB, free: 7.855 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004578/0.5079, allocations: 241.6 kB / 463.4 MB, free: 7.617 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 5.943e-05/0.508, allocations: 29.7 kB / 463.4 MB, free: 7.582 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001875/0.5082, allocations: 242.1 kB / 463.6 MB, free: 7.344 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.849e-05/0.5083, allocations: 47.39 kB / 463.7 MB, free: 7.297 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.079e-05/0.5083, allocations: 0 / 463.7 MB, free: 7.297 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001519/0.5084, allocations: 318.8 kB / 464 MB, free: 6.977 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005877/0.509, allocations: 103.9 kB / 464.1 MB, free: 6.875 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000659/0.5097, allocations: 202.5 kB / 464.3 MB, free: 6.633 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006432/0.5104, allocations: 145.6 kB / 464.4 MB, free: 6.484 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.551e-06/0.5104, allocations: 0 / 464.4 MB, free: 6.484 MB / 346.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.001826/0.5122, allocations: 428 kB / 464.8 MB, free: 6.051 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0006241/0.5129, allocations: 1.165 MB / 466 MB, free: 4.793 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.383e-05/0.5129, allocations: 4 kB / 466 MB, free: 4.789 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004306/0.5134, allocations: 56.78 kB / 466.1 MB, free: 4.73 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004741/0.5139, allocations: 63.89 kB / 466.1 MB, free: 4.668 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008136/0.5147, allocations: 0.5875 MB / 466.7 MB, free: 4.055 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006267/0.5154, allocations: 59.78 kB / 466.8 MB, free: 3.996 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.545e-05/0.5154, allocations: 8 kB / 466.8 MB, free: 3.988 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.418e-05/0.5154, allocations: 4 kB / 466.8 MB, free: 3.984 MB / 346.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001294/0.5167, allocations: 329.5 kB / 467.1 MB, free: 3.656 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.129e-05/0.5168, allocations: 3.953 kB / 467.1 MB, free: 3.652 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001133/0.5169, allocations: 28.84 kB / 467.1 MB, free: 3.621 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004062/0.5173, allocations: 51.91 kB / 467.2 MB, free: 3.57 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001525/0.5189, allocations: 1.389 MB / 468.6 MB, free: 2.043 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004995/0.5194, allocations: 52 kB / 468.6 MB, free: 1.992 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.834e-05/0.5194, allocations: 8 kB / 468.6 MB, free: 1.984 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: 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 (23): * Single equations (assignments): 21 * 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.0002948/0.5198, allocations: 231.5 kB / 468.9 MB, free: 1.75 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.495e-05/0.5198, allocations: 23.72 kB / 468.9 MB, free: 1.727 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.456e-05/0.5199, allocations: 25.66 kB / 468.9 MB, free: 1.703 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.038e-06/0.5199, allocations: 0 / 468.9 MB, free: 1.703 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.561e-06/0.52, allocations: 3.984 kB / 468.9 MB, free: 1.699 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.31e-06/0.52, allocations: 0 / 468.9 MB, free: 1.699 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002039/0.522, allocations: 0.6591 MB / 469.6 MB, free: 0.9805 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.371e-06/0.5221, allocations: 0 / 469.6 MB, free: 0.9805 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003043/0.5224, allocations: 27.97 kB / 469.6 MB, free: 0.9531 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003096/0.5227, allocations: 60.81 kB / 469.7 MB, free: 0.8906 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.598e-05/0.5227, allocations: 4 kB / 469.7 MB, free: 0.8867 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002666/0.5254, allocations: 1.507 MB / 471.2 MB, free: 15.24 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.215e-06/0.5255, allocations: 8 kB / 471.2 MB, free: 15.23 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001635/0.5271, allocations: 400.5 kB / 471.6 MB, free: 14.82 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001459/0.5273, allocations: 104.8 kB / 471.7 MB, free: 14.7 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.738e-05/0.5274, allocations: 3.953 kB / 471.7 MB, free: 14.7 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004816/0.5279, allocations: 43.95 kB / 471.7 MB, free: 14.66 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001145/0.528, allocations: 15.97 kB / 471.7 MB, free: 14.64 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.282e-05/0.5281, allocations: 8 kB / 471.7 MB, free: 14.63 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003043/0.5284, allocations: 186 kB / 471.9 MB, free: 14.45 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.41e-07/0.5284, allocations: 0 / 471.9 MB, free: 14.45 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000805/0.5292, allocations: 115.7 kB / 472 MB, free: 14.34 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * 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 (9): * Single equations (assignments): 6 * 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.002094/0.5313, allocations: 0.951 MB / 473 MB, free: 13.36 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.002259/0.5336, allocations: 0.5998 MB / 473.6 MB, free: 12.72 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.839e-06/0.5337, allocations: 0 / 473.6 MB, free: 12.72 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007706/0.5344, allocations: 219.4 kB / 473.8 MB, free: 12.5 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005127/0.535, allocations: 40.53 kB / 473.8 MB, free: 12.46 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006126/0.5411, allocations: 3.457 MB / 477.3 MB, free: 8.891 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004541/0.5416, allocations: 0.7521 MB / 478.1 MB, free: 8.113 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002344/0.5419, allocations: 71.42 kB / 478.1 MB, free: 8.043 MB / 362.7 MB Notification: Performance of SimCode: time 1.052e-06/0.5419, allocations: 0 / 478.1 MB, free: 8.043 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.605/3.147, allocations: 5.013 MB / 483.1 MB, free: 3.035 MB / 362.7 MB (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower_res.mat --tempDir=temp_Modelica_3_2_3_cpp_Modelica_Electrical_Analog_Examples_OpAmps_VoltageFollower_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_cpp_Modelica_Electrical_Analog_Examples_OpAmps_VoltageFollower.fmu > Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower_res.mat does not exist to compare? outputFormat=mat