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.001328/0.001328, allocations: 177.7 kB / 8.698 MB, free: 388 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.694/1.694, allocations: 205.3 MB / 214.4 MB, free: 1.73 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008777/0.0008776, allocations: 86.38 kB / 262.4 MB, free: 1.684 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.712e-05/1.716e-05, allocations: 4 kB / 315.6 MB, free: 22.61 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08553/0.08556, allocations: 47.58 MB / 363.2 MB, free: 6.973 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3106/0.3962, allocations: 78.61 MB / 441.8 MB, free: 0.7891 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002906/0.3965, allocations: 77.14 kB / 441.9 MB, free: 0.75 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01662/0.4132, allocations: 5.593 MB / 447.5 MB, free: 12.02 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.563e-06/0.4132, allocations: 4 kB / 447.5 MB, free: 12.02 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.439e-05/0.4133, allocations: 4 kB / 447.5 MB, free: 12.01 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: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.001221/0.4145, allocations: 0.5694 MB / 448 MB, free: 11.41 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.749e-05/0.4146, allocations: 8.031 kB / 448 MB, free: 11.4 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001463/0.4147, allocations: 28.84 kB / 448.1 MB, free: 11.38 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005481/0.4153, allocations: 262.9 kB / 448.3 MB, free: 11.1 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.27e-05/0.4153, allocations: 15.94 kB / 448.3 MB, free: 11.09 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.02e-05/0.4154, allocations: 12 kB / 448.4 MB, free: 11.07 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003851/0.4158, allocations: 151.8 kB / 448.5 MB, free: 10.99 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003641/0.4162, allocations: 170.8 kB / 448.7 MB, free: 10.86 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.965e-05/0.4162, allocations: 4 kB / 448.7 MB, free: 10.85 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.081e-05/0.4162, allocations: 0 / 448.7 MB, free: 10.85 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.196e-05/0.4163, allocations: 4 kB / 448.7 MB, free: 10.85 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001975/0.4182, allocations: 0.8511 MB / 449.5 MB, free: 10.08 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003063/0.4186, allocations: 182.9 kB / 449.7 MB, free: 9.906 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.466e-05/0.4187, allocations: 48.8 kB / 449.8 MB, free: 9.871 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.653e-05/0.4187, allocations: 6.781 kB / 449.8 MB, free: 9.867 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002433/0.419, allocations: 125.8 kB / 449.9 MB, free: 9.742 MB / 330.7 MB Notification: Performance of pre-optimization done (n=11): time 1.963e-06/0.419, allocations: 3.938 kB / 449.9 MB, free: 9.738 MB / 330.7 MB Notification: Performance of matching and sorting (n=11): time 0.0005378/0.4195, allocations: 176.9 kB / 450.1 MB, free: 9.582 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.268e-05/0.4196, allocations: 106.8 kB / 450.2 MB, free: 9.453 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002398/0.4199, allocations: 215.3 kB / 450.4 MB, free: 9.273 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.895e-05/0.4199, allocations: 25.7 kB / 450.4 MB, free: 9.242 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001298/0.42, allocations: 185.8 kB / 450.6 MB, free: 9.086 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.54e-05/0.4201, allocations: 41.78 kB / 450.6 MB, free: 9.051 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.139e-05/0.4201, allocations: 0 / 450.6 MB, free: 9.051 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001358/0.4202, allocations: 333.4 kB / 450.9 MB, free: 8.723 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.392e-05/0.4203, allocations: 45.75 kB / 451 MB, free: 8.699 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001516/0.4205, allocations: 145.7 kB / 451.1 MB, free: 8.535 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001244/0.4206, allocations: 53.52 kB / 451.2 MB, free: 8.5 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.692e-06/0.4206, allocations: 4 kB / 451.2 MB, free: 8.496 MB / 330.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0006053/0.4213, allocations: 264.6 kB / 451.4 MB, free: 8.27 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0007/0.422, allocations: 1.162 MB / 452.6 MB, free: 7.035 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.32e-05/0.422, allocations: 8 kB / 452.6 MB, free: 7.027 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002194/0.4222, allocations: 35.31 kB / 452.7 MB, free: 6.996 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002699/0.4225, allocations: 55.89 kB / 452.7 MB, free: 6.941 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004319/0.4229, allocations: 0.5564 MB / 453.3 MB, free: 6.375 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003336/0.4233, allocations: 51.7 kB / 453.3 MB, free: 6.324 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.494e-05/0.4233, allocations: 15.19 kB / 453.3 MB, free: 6.312 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.573e-05/0.4234, allocations: 4 kB / 453.3 MB, free: 6.309 MB / 330.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003463/0.4237, allocations: 174.8 kB / 453.5 MB, free: 6.176 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.272e-06/0.4237, allocations: 4 kB / 453.5 MB, free: 6.172 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.446e-05/0.4238, allocations: 28.22 kB / 453.5 MB, free: 6.145 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000222/0.424, allocations: 67.28 kB / 453.6 MB, free: 6.082 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009459/0.425, allocations: 1.319 MB / 454.9 MB, free: 4.695 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002764/0.4253, allocations: 39.81 kB / 455 MB, free: 4.656 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.856e-05/0.4253, allocations: 8 kB / 455 MB, free: 4.648 MB / 330.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: opAmp.simplifiedExpr:VARIABLE(unit = "V" protected = true ) "Simplified expression for homotopy-based initialization" type: Real 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 () * 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.0001608/0.4255, allocations: 124.7 kB / 455.1 MB, free: 4.523 MB / 330.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0003541/0.4258, allocations: 184.2 kB / 455.3 MB, free: 4.359 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.306e-05/0.4259, allocations: 19.81 kB / 455.3 MB, free: 4.34 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.684e-05/0.4259, allocations: 26.47 kB / 455.3 MB, free: 4.32 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.697e-06/0.426, allocations: 7.984 kB / 455.3 MB, free: 4.312 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.925e-06/0.426, allocations: 4 kB / 455.3 MB, free: 4.309 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.947e-06/0.426, allocations: 0 / 455.3 MB, free: 4.309 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006276/0.4266, allocations: 0.4901 MB / 455.8 MB, free: 3.844 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.4266, allocations: 0 / 455.8 MB, free: 3.844 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001496/0.4268, allocations: 31.97 kB / 455.8 MB, free: 3.812 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.013e-05/0.4269, allocations: 32.41 kB / 455.9 MB, free: 3.785 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.317e-05/0.4269, allocations: 0 / 455.9 MB, free: 3.785 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001016/0.4279, allocations: 1.312 MB / 457.2 MB, free: 2.414 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/0.4279, allocations: 3.938 kB / 457.2 MB, free: 2.41 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003882/0.4283, allocations: 264.3 kB / 457.5 MB, free: 2.16 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.808e-05/0.4284, allocations: 116.2 kB / 457.6 MB, free: 2.031 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.228e-05/0.4284, allocations: 0 / 457.6 MB, free: 2.031 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002582/0.4287, allocations: 35.95 kB / 457.6 MB, free: 1.996 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.918e-05/0.4288, allocations: 23.91 kB / 457.6 MB, free: 1.977 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.07e-05/0.4288, allocations: 4 kB / 457.6 MB, free: 1.973 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001507/0.429, allocations: 168.4 kB / 457.8 MB, free: 1.844 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.429, allocations: 0 / 457.8 MB, free: 1.844 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0005005/0.4295, allocations: 103.7 kB / 457.9 MB, free: 1.742 MB / 330.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) * 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.0007313/0.4302, allocations: 0.822 MB / 458.7 MB, free: 0.918 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0006269/0.4309, allocations: 452.6 kB / 459.2 MB, free: 0.5117 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.359e-06/0.4309, allocations: 0 / 459.2 MB, free: 0.5117 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001993/0.4311, allocations: 158.1 kB / 459.3 MB, free: 376 kB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002924/0.4314, allocations: 34.28 kB / 459.3 MB, free: 352 kB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007703/0.4322, allocations: 306.2 kB / 459.6 MB, free: 36 kB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003182/0.4325, allocations: 0.7489 MB / 460.4 MB, free: 15.26 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0001684/0.4327, allocations: 34 kB / 460.4 MB, free: 15.23 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.592e-05/0.4328, allocations: 73.47 kB / 460.5 MB, free: 15.2 MB / 346.7 MB Notification: Performance of SimCode: time 2.61e-07/0.4328, allocations: 4 kB / 460.5 MB, free: 15.2 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02741/0.4602, allocations: 4.853 MB / 465.4 MB, free: 10.34 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002484/0.4605, allocations: 152.9 kB / 465.5 MB, free: 10.15 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.786/2.247, allocations: 0 / 465.5 MB, free: 10.15 MB / 346.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