Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_OpAmps_VoltageFollower",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_OpAmps_VoltageFollower",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001338/0.001338, allocations: 103.2 kB / 17 MB, free: 6.531 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001592/0.001592, allocations: 194.5 kB / 17.9 MB, free: 5.93 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.533/1.533, allocations: 227.4 MB / 246 MB, free: 10.25 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002688/0.0002691, allocations: 8 kB / 306.8 MB, free: 1.219 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1373/0.1376, allocations: 51.5 MB / 358.3 MB, free: 13.73 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower): time 0.003579/0.1412, allocations: 2.338 MB / 360.7 MB, free: 11.38 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001611/0.1429, allocations: 0.6743 MB / 361.3 MB, free: 10.7 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003202/0.1432, allocations: 4 kB / 361.3 MB, free: 10.69 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002004/0.1435, allocations: 31.77 kB / 361.4 MB, free: 10.66 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003063/0.1438, allocations: 75.38 kB / 361.4 MB, free: 10.59 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003802/0.1442, allocations: 71.91 kB / 361.5 MB, free: 10.52 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005314/0.1447, allocations: 314.6 kB / 361.8 MB, free: 10.21 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002235/0.1449, allocations: 69.11 kB / 361.9 MB, free: 10.14 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002768/0.1452, allocations: 107.6 kB / 362 MB, free: 10.03 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002493/0.1455, allocations: 127.4 kB / 362.1 MB, free: 9.906 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.358e-05/0.1456, allocations: 12 kB / 362.1 MB, free: 9.895 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.152e-05/0.1456, allocations: 16 kB / 362.1 MB, free: 9.879 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 6.076e-05/0.1457, allocations: 43.77 kB / 362.2 MB, free: 9.836 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001203/0.1458, allocations: 77.56 kB / 362.3 MB, free: 9.754 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002923/0.1461, allocations: 227.6 kB / 362.5 MB, free: 9.531 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.472e-06/0.1461, allocations: 0 / 362.5 MB, free: 9.531 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.605e-06/0.1461, allocations: 8 kB / 362.5 MB, free: 9.523 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.153e-05/0.1462, allocations: 0 / 362.5 MB, free: 9.523 MB / 302.1 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.001335/0.1475, allocations: 0.6106 MB / 363.1 MB, free: 8.855 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.803e-05/0.1476, allocations: 8.031 kB / 363.1 MB, free: 8.848 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.356e-05/0.1477, allocations: 54.55 kB / 363.2 MB, free: 8.785 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.615e-05/0.1477, allocations: 31.62 kB / 363.2 MB, free: 8.754 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003989/0.1482, allocations: 266.5 kB / 363.5 MB, free: 8.453 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.889e-05/0.1482, allocations: 28.27 kB / 363.5 MB, free: 8.426 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.559e-05/0.1483, allocations: 16 kB / 363.5 MB, free: 8.41 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007116/0.149, allocations: 289.8 kB / 363.8 MB, free: 8.113 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.073e-05/0.149, allocations: 0 / 363.8 MB, free: 8.113 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.748e-05/0.149, allocations: 8 kB / 363.8 MB, free: 8.105 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.108e-06/0.149, allocations: 4 kB / 363.8 MB, free: 8.102 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007617/0.1498, allocations: 277.6 kB / 364.1 MB, free: 7.828 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001701/0.1515, allocations: 0.918 MB / 365 MB, free: 6.84 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001501/0.153, allocations: 499.4 kB / 365.5 MB, free: 6.324 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003043/0.1534, allocations: 104.8 kB / 365.6 MB, free: 6.219 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.634e-05/0.1534, allocations: 3.938 kB / 365.6 MB, free: 6.215 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004862/0.1539, allocations: 193.8 kB / 365.8 MB, free: 6.004 MB / 302.1 MB Notification: Performance of pre-optimization done (n=10): time 2.024e-06/0.1539, allocations: 0 / 365.8 MB, free: 6.004 MB / 302.1 MB Notification: Performance of matching and sorting (n=10): time 0.002018/0.1559, allocations: 0.6434 MB / 366.4 MB, free: 5.332 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.118e-05/0.156, allocations: 110.8 kB / 366.5 MB, free: 5.199 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000334/0.1564, allocations: 266.7 kB / 366.8 MB, free: 4.93 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 5.089e-05/0.1564, allocations: 29.7 kB / 366.8 MB, free: 4.895 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001509/0.1566, allocations: 191.6 kB / 367 MB, free: 4.703 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.595e-05/0.1566, allocations: 31.55 kB / 367 MB, free: 4.672 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.531e-05/0.1567, allocations: 4 kB / 367 MB, free: 4.668 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001427/0.1568, allocations: 338.8 kB / 367.4 MB, free: 4.328 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003395/0.1572, allocations: 107.9 kB / 367.5 MB, free: 4.223 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000398/0.1576, allocations: 215.3 kB / 367.7 MB, free: 3.965 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000376/0.1579, allocations: 145.6 kB / 367.8 MB, free: 3.816 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.506e-06/0.158, allocations: 0 / 367.8 MB, free: 3.816 MB / 302.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.001196/0.1592, allocations: 471.8 kB / 368.3 MB, free: 3.34 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.647e-05/0.1592, allocations: 33.7 kB / 368.3 MB, free: 3.301 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.168e-05/0.1593, allocations: 7.938 kB / 368.3 MB, free: 3.293 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003229/0.1596, allocations: 64.88 kB / 368.4 MB, free: 3.227 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002356/0.1598, allocations: 63.91 kB / 368.4 MB, free: 3.164 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002297/0.1621, allocations: 1.523 MB / 370 MB, free: 1.512 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003662/0.1625, allocations: 67.8 kB / 370 MB, free: 1.445 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.531e-05/0.1626, allocations: 11.95 kB / 370 MB, free: 1.434 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (24): * Single equations (assignments): 22 * 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 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001712/0.1627, allocations: 145.7 kB / 370.2 MB, free: 1.281 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.064e-05/0.1628, allocations: 27.72 kB / 370.2 MB, free: 1.254 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.201e-05/0.1628, allocations: 25.7 kB / 370.2 MB, free: 1.23 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.474e-06/0.1628, allocations: 0 / 370.2 MB, free: 1.23 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.855e-06/0.1629, allocations: 0 / 370.2 MB, free: 1.23 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.56e-06/0.1629, allocations: 3.984 kB / 370.2 MB, free: 1.227 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001349/0.1642, allocations: 0.6787 MB / 370.9 MB, free: 500 kB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.975e-06/0.1642, allocations: 0 / 370.9 MB, free: 500 kB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001445/0.1644, allocations: 31.92 kB / 371 MB, free: 468 kB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002195/0.1646, allocations: 64.81 kB / 371 MB, free: 400 kB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.483e-05/0.1647, allocations: 0 / 371 MB, free: 400 kB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2633/0.428, allocations: 1.512 MB / 372.5 MB, free: 18.47 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.805e-06/0.4281, allocations: 0.5156 kB / 372.5 MB, free: 18.47 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001198/0.4293, allocations: 432.5 kB / 373 MB, free: 18.33 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.828e-05/0.4294, allocations: 98.09 kB / 373.1 MB, free: 18.24 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.011e-05/0.4294, allocations: 4.297 kB / 373.1 MB, free: 18.24 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002667/0.4297, allocations: 43.73 kB / 373.1 MB, free: 18.24 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.952e-05/0.4298, allocations: 19.69 kB / 373.1 MB, free: 18.24 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.607e-05/0.4298, allocations: 5.719 kB / 373.1 MB, free: 18.24 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.000254/0.4301, allocations: 195.4 kB / 373.3 MB, free: 18.16 MB / 302.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4301, allocations: 0 / 373.3 MB, free: 18.16 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004161/0.4305, allocations: 59.44 kB / 373.4 MB, free: 18.16 MB / 302.1 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 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.001262/0.4318, allocations: 0.9732 MB / 374.3 MB, free: 17.5 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0009485/0.4327, allocations: 416.7 kB / 374.8 MB, free: 17.33 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.4327, allocations: 1.25 kB / 374.8 MB, free: 17.33 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004373/0.4332, allocations: 227.5 kB / 375 MB, free: 17.22 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000411/0.4336, allocations: 45.14 kB / 375 MB, free: 17.22 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003439/0.4371, allocations: 1.659 MB / 376.7 MB, free: 16.57 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002189/0.4373, allocations: 0.7503 MB / 377.4 MB, free: 15.87 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001295/0.4374, allocations: 22.75 kB / 377.5 MB, free: 15.86 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000151/0.4376, allocations: 73.62 kB / 377.5 MB, free: 15.86 MB / 302.1 MB Notification: Performance of SimCode: time 3.3e-07/0.4376, allocations: 0 / 377.5 MB, free: 15.86 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03299/0.4706, allocations: 5.34 MB / 382.9 MB, free: 15.42 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002133/0.4708, allocations: 225.9 kB / 383.1 MB, free: 15.18 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.014/2.485, allocations: 1.422 kB / 383.1 MB, free: 15.18 MB / 302.1 MB (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_Analog_Examples_OpAmps_VoltageFollower_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_Analog_Examples_OpAmps_VoltageFollower.fmu > Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower_res.mat does not exist to compare? outputFormat=mat