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.001676/0.001676, allocations: 181.4 kB / 13.66 MB, free: 1.664 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.252/2.252, allocations: 205.2 MB / 219.4 MB, free: 14.22 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.001654/0.001654, allocations: 90.67 kB / 267.5 MB, free: 14.05 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.919e-05/3.937e-05, allocations: 4 kB / 321.6 MB, free: 17.75 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1004/0.1005, allocations: 47.58 MB / 369.2 MB, free: 2.105 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4043/0.5049, allocations: 79.02 MB / 448.2 MB, free: 14.22 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003069/0.5052, allocations: 77.58 kB / 448.3 MB, free: 14.18 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02754/0.5328, allocations: 5.645 MB / 453.9 MB, free: 9.32 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.294e-06/0.5329, allocations: 0 / 453.9 MB, free: 9.32 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.6e-05/0.5329, allocations: 4 kB / 453.9 MB, free: 9.316 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.001506/0.5344, allocations: 0.5779 MB / 454.5 MB, free: 8.707 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.473e-05/0.5345, allocations: 8.031 kB / 454.5 MB, free: 8.699 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001144/0.5346, allocations: 56.98 kB / 454.6 MB, free: 8.648 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001137/0.5347, allocations: 27.72 kB / 454.6 MB, free: 8.621 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005208/0.5353, allocations: 268.4 kB / 454.9 MB, free: 8.344 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.01e-05/0.5353, allocations: 15.83 kB / 454.9 MB, free: 8.332 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.211e-05/0.5354, allocations: 19 kB / 454.9 MB, free: 8.32 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005716/0.536, allocations: 195.9 kB / 455.1 MB, free: 8.18 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.455e-05/0.536, allocations: 7.938 kB / 455.1 MB, free: 8.172 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.859e-05/0.536, allocations: 6.5 kB / 455.1 MB, free: 8.172 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.171e-05/0.5361, allocations: 4 kB / 455.1 MB, free: 8.168 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004903/0.5366, allocations: 161.4 kB / 455.3 MB, free: 8.07 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002688/0.5393, allocations: 0.8949 MB / 456.2 MB, free: 7.254 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004007/0.5397, allocations: 189.8 kB / 456.3 MB, free: 7.078 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001468/0.5399, allocations: 53.03 kB / 456.4 MB, free: 7.039 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.288e-05/0.5399, allocations: 4 kB / 456.4 MB, free: 7.035 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003193/0.5403, allocations: 129.3 kB / 456.5 MB, free: 6.91 MB / 330.7 MB Notification: Performance of pre-optimization done (n=11): time 2.876e-06/0.5403, allocations: 0 / 456.5 MB, free: 6.91 MB / 330.7 MB Notification: Performance of matching and sorting (n=11): time 0.0007894/0.5411, allocations: 182.8 kB / 456.7 MB, free: 6.75 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.411e-05/0.5412, allocations: 106.8 kB / 456.8 MB, free: 6.621 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004385/0.5417, allocations: 244 kB / 457.1 MB, free: 6.414 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 5.936e-05/0.5417, allocations: 29.14 kB / 457.1 MB, free: 6.383 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001666/0.5419, allocations: 238.4 kB / 457.3 MB, free: 6.172 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.648e-05/0.542, allocations: 37.91 kB / 457.4 MB, free: 6.141 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.122e-05/0.542, allocations: 7.062 kB / 457.4 MB, free: 6.137 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.000145/0.5422, allocations: 325.9 kB / 457.7 MB, free: 5.812 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001676/0.5423, allocations: 51.12 kB / 457.7 MB, free: 5.781 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002517/0.5426, allocations: 144.6 kB / 457.9 MB, free: 5.621 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002208/0.5428, allocations: 98.77 kB / 458 MB, free: 5.535 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.138e-06/0.5429, allocations: 0 / 458 MB, free: 5.535 MB / 330.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0009502/0.5438, allocations: 295.1 kB / 458.3 MB, free: 5.281 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005787/0.5444, allocations: 1.17 MB / 459.4 MB, free: 4.039 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.43e-05/0.5445, allocations: 4 kB / 459.4 MB, free: 4.035 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002603/0.5447, allocations: 39.61 kB / 459.5 MB, free: 4 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004686/0.5452, allocations: 51.91 kB / 459.5 MB, free: 3.949 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005865/0.5458, allocations: 0.5692 MB / 460.1 MB, free: 3.371 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006319/0.5465, allocations: 51.06 kB / 460.1 MB, free: 3.324 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.707e-05/0.5465, allocations: 8 kB / 460.1 MB, free: 3.316 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.587e-05/0.5466, allocations: 8.062 kB / 460.2 MB, free: 3.309 MB / 330.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006665/0.5472, allocations: 240.6 kB / 460.4 MB, free: 3.121 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.218e-06/0.5473, allocations: 4 kB / 460.4 MB, free: 3.117 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001228/0.5474, allocations: 25.09 kB / 460.4 MB, free: 3.094 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004194/0.5478, allocations: 59.91 kB / 460.5 MB, free: 3.035 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001476/0.5493, allocations: 1.382 MB / 461.9 MB, free: 1.57 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005047/0.5499, allocations: 43.56 kB / 461.9 MB, free: 1.531 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.129e-05/0.5499, allocations: 11.69 kB / 461.9 MB, free: 1.523 MB / 330.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 () * 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.0001746/0.5501, allocations: 128.7 kB / 462 MB, free: 1.395 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.402e-05/0.5502, allocations: 31.47 kB / 462.1 MB, free: 1.367 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.288e-05/0.5503, allocations: 21.2 kB / 462.1 MB, free: 1.348 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.388e-06/0.5503, allocations: 0 / 462.1 MB, free: 1.348 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.652e-06/0.5504, allocations: 4 kB / 462.1 MB, free: 1.344 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.1e-06/0.5504, allocations: 0 / 462.1 MB, free: 1.344 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001175/0.5516, allocations: 0.5336 MB / 462.6 MB, free: 0.832 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.421e-06/0.5516, allocations: 0 / 462.6 MB, free: 0.832 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002807/0.5519, allocations: 35.98 kB / 462.7 MB, free: 0.8008 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001517/0.5521, allocations: 32.52 kB / 462.7 MB, free: 0.7695 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.151e-05/0.5521, allocations: 3.938 kB / 462.7 MB, free: 0.7695 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001651/0.5538, allocations: 1.363 MB / 464.1 MB, free: 15.33 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.5538, allocations: 0 / 464.1 MB, free: 15.33 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007385/0.5546, allocations: 285.3 kB / 464.3 MB, free: 15.07 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001165/0.5547, allocations: 104.7 kB / 464.4 MB, free: 14.95 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.052e-05/0.5548, allocations: 7.891 kB / 464.4 MB, free: 14.94 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004882/0.5553, allocations: 47.91 kB / 464.5 MB, free: 14.89 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001134/0.5554, allocations: 19.72 kB / 464.5 MB, free: 14.88 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.672e-05/0.5554, allocations: 0 / 464.5 MB, free: 14.88 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0002953/0.5557, allocations: 189.2 kB / 464.7 MB, free: 14.73 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.51e-07/0.5557, allocations: 0 / 464.7 MB, free: 14.73 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0007833/0.5565, allocations: 115.4 kB / 464.8 MB, free: 14.62 MB / 346.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.001164/0.5577, allocations: 0.8284 MB / 465.6 MB, free: 13.8 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001109/0.5589, allocations: 458.3 kB / 466.1 MB, free: 13.34 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.488e-06/0.5589, allocations: 0 / 466.1 MB, free: 13.34 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003549/0.5593, allocations: 175.3 kB / 466.3 MB, free: 13.15 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004911/0.5598, allocations: 40.66 kB / 466.3 MB, free: 13.11 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001243/0.561, allocations: 354.5 kB / 466.6 MB, free: 12.73 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004075/0.5615, allocations: 0.7524 MB / 467.4 MB, free: 11.95 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002288/0.5617, allocations: 75.41 kB / 467.5 MB, free: 11.87 MB / 346.7 MB Notification: Performance of SimCode: time 1.262e-06/0.5617, allocations: 0 / 467.5 MB, free: 11.87 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.547/3.109, allocations: 4.956 MB / 472.4 MB, free: 6.91 MB / 346.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