Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_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_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_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.001145/0.001145, allocations: 181.7 kB / 17.02 MB, free: 5.121 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.501/1.501, allocations: 205.4 MB / 223.1 MB, free: 9.137 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.0008473/0.0008474, allocations: 100.1 kB / 271.5 MB, free: 8.391 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003641/0.0003637, allocations: 15.98 kB / 328.4 MB, free: 15.45 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2705/0.2709, allocations: 47.57 MB / 375.9 MB, free: 45.63 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09792/0.3689, allocations: 79.11 MB / 455 MB, free: 1.551 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002424/0.3691, allocations: 75.95 kB / 455.1 MB, free: 1.477 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01622/0.3854, allocations: 5.652 MB / 460.8 MB, free: 11.8 MB / 346.7 MB Notification: Performance of FrontEnd: time 4.589e-06/0.3854, allocations: 3.984 kB / 460.8 MB, free: 11.8 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.799e-05/0.3855, allocations: 4 kB / 460.8 MB, free: 11.79 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.001122/0.3866, allocations: 0.6067 MB / 461.4 MB, free: 11.13 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.376e-05/0.3867, allocations: 12.03 kB / 461.4 MB, free: 11.12 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.297e-05/0.3867, allocations: 54.48 kB / 461.4 MB, free: 11.06 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.412e-05/0.3868, allocations: 31.62 kB / 461.5 MB, free: 11.03 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003979/0.3872, allocations: 267.4 kB / 461.7 MB, free: 10.73 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.694e-05/0.3873, allocations: 20.39 kB / 461.8 MB, free: 10.71 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.914e-05/0.3873, allocations: 16 kB / 461.8 MB, free: 10.69 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006194/0.3879, allocations: 263.1 kB / 462 MB, free: 10.43 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.236e-05/0.388, allocations: 0 / 462 MB, free: 10.43 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.969e-05/0.388, allocations: 8 kB / 462 MB, free: 10.42 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.346e-06/0.388, allocations: 4.219 kB / 462 MB, free: 10.41 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007186/0.3887, allocations: 293.5 kB / 462.3 MB, free: 10.13 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001584/0.3903, allocations: 0.8983 MB / 463.2 MB, free: 9.156 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006916/0.391, allocations: 311.6 kB / 463.5 MB, free: 8.824 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.202e-05/0.3911, allocations: 7.953 kB / 463.5 MB, free: 8.816 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004782/0.3916, allocations: 173.4 kB / 463.7 MB, free: 8.629 MB / 346.7 MB Notification: Performance of pre-optimization done (n=11): time 1.443e-06/0.3916, allocations: 192 / 463.7 MB, free: 8.629 MB / 346.7 MB Notification: Performance of matching and sorting (n=11): time 0.001586/0.3932, allocations: 0.5828 MB / 464.3 MB, free: 8.02 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.283e-05/0.3933, allocations: 106.8 kB / 464.4 MB, free: 7.891 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002662/0.3935, allocations: 245.6 kB / 464.6 MB, free: 7.648 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.466e-05/0.3936, allocations: 25.7 kB / 464.7 MB, free: 7.617 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001116/0.3937, allocations: 191.7 kB / 464.8 MB, free: 7.426 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.579e-05/0.3937, allocations: 39.45 kB / 464.9 MB, free: 7.387 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.267e-05/0.3937, allocations: 4 kB / 464.9 MB, free: 7.383 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001342/0.3939, allocations: 330.8 kB / 465.2 MB, free: 7.051 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002925/0.3942, allocations: 103.9 kB / 465.3 MB, free: 6.949 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000376/0.3946, allocations: 202.5 kB / 465.5 MB, free: 6.707 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003348/0.3949, allocations: 153.6 kB / 465.7 MB, free: 6.551 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.3949, allocations: 0 / 465.7 MB, free: 6.551 MB / 346.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0009423/0.3959, allocations: 428 kB / 466.1 MB, free: 6.117 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005296/0.3964, allocations: 1.168 MB / 467.2 MB, free: 4.855 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.068e-05/0.3964, allocations: 4 kB / 467.3 MB, free: 4.852 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000258/0.3967, allocations: 60.78 kB / 467.3 MB, free: 4.789 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002401/0.397, allocations: 59.89 kB / 467.4 MB, free: 4.73 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005245/0.3975, allocations: 0.5874 MB / 468 MB, free: 4.117 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003329/0.3978, allocations: 55.75 kB / 468 MB, free: 4.062 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.283e-05/0.3979, allocations: 12 kB / 468 MB, free: 4.051 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.968e-06/0.3979, allocations: 4 kB / 468 MB, free: 4.047 MB / 346.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006968/0.3986, allocations: 326.5 kB / 468.3 MB, free: 3.719 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.111e-06/0.3986, allocations: 7.953 kB / 468.4 MB, free: 3.711 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.304e-05/0.3987, allocations: 24.84 kB / 468.4 MB, free: 3.684 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002094/0.3989, allocations: 55.97 kB / 468.4 MB, free: 3.629 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009633/0.3999, allocations: 1.392 MB / 469.8 MB, free: 2.098 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002731/0.4001, allocations: 51.69 kB / 469.9 MB, free: 2.047 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.762e-05/0.4002, allocations: 8 kB / 469.9 MB, free: 2.039 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.0001798/0.4004, allocations: 233 kB / 470.1 MB, free: 1.801 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.674e-05/0.4004, allocations: 23.72 kB / 470.1 MB, free: 1.777 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.483e-05/0.4005, allocations: 17.72 kB / 470.2 MB, free: 1.762 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.826e-06/0.4005, allocations: 3.984 kB / 470.2 MB, free: 1.758 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.008e-06/0.4005, allocations: 4 kB / 470.2 MB, free: 1.754 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.4005, allocations: 0 / 470.2 MB, free: 1.754 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001067/0.4016, allocations: 0.6513 MB / 470.8 MB, free: 1.043 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.4016, allocations: 4 kB / 470.8 MB, free: 1.039 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001455/0.4017, allocations: 31.97 kB / 470.8 MB, free: 1.008 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001502/0.4019, allocations: 56.81 kB / 470.9 MB, free: 0.9492 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.697e-05/0.4019, allocations: 4 kB / 470.9 MB, free: 0.9453 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001369/0.4033, allocations: 1.519 MB / 472.4 MB, free: 15.29 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.4033, allocations: 0 / 472.4 MB, free: 15.29 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007517/0.4041, allocations: 404.5 kB / 472.8 MB, free: 14.88 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.235e-05/0.4041, allocations: 96.91 kB / 472.9 MB, free: 14.76 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.474e-05/0.4042, allocations: 7.953 kB / 472.9 MB, free: 14.75 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000255/0.4044, allocations: 39.95 kB / 473 MB, free: 14.71 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.373e-05/0.4045, allocations: 23.97 kB / 473 MB, free: 14.69 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.304e-05/0.4045, allocations: 4 kB / 473 MB, free: 14.69 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001654/0.4047, allocations: 186 kB / 473.2 MB, free: 14.51 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4047, allocations: 0 / 473.2 MB, free: 14.51 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0005303/0.4053, allocations: 115.7 kB / 473.3 MB, free: 14.39 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.001056/0.4063, allocations: 0.9499 MB / 474.2 MB, free: 13.42 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001168/0.4075, allocations: 0.6004 MB / 474.8 MB, free: 12.78 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.4075, allocations: 4.062 kB / 474.8 MB, free: 12.78 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003948/0.4079, allocations: 222.6 kB / 475.1 MB, free: 12.55 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003164/0.4082, allocations: 48.53 kB / 475.1 MB, free: 12.5 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003246/0.4115, allocations: 3.425 MB / 478.5 MB, free: 8.973 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002501/0.4118, allocations: 0.7521 MB / 479.3 MB, free: 8.195 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001498/0.4119, allocations: 26.52 kB / 479.3 MB, free: 8.168 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001108/0.412, allocations: 75.41 kB / 479.4 MB, free: 8.094 MB / 362.7 MB Notification: Performance of SimCode: time 6.02e-07/0.412, allocations: 0 / 479.4 MB, free: 8.094 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01763/0.4297, allocations: 5.513 MB / 484.9 MB, free: 2.609 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002239/0.43, allocations: 226.3 kB / 485.1 MB, free: 2.359 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.818/2.248, allocations: 0 / 485.1 MB, free: 2.359 MB / 362.7 MB (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_Analog_Examples_OpAmps_VoltageFollower_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_Analog_Examples_OpAmps_VoltageFollower.fmu > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower_res.mat does not exist to compare? outputFormat=mat