Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Analog_Examples_OpAmps_VoltageFollower",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower,fileNamePrefix="Modelica_4_0_0_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 4.0.0+maint.om/package.mo): time 0.001224/0.001224, allocations: 94.83 kB / 16.32 MB, free: 5.602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001633/0.001633, allocations: 184.3 kB / 17.21 MB, free: 5.52 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.557/1.557, allocations: 223.2 MB / 241.2 MB, free: 372 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002835/0.0002838, allocations: 8 kB / 300.9 MB, free: 6.352 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1278/0.1281, allocations: 50.42 MB / 351.4 MB, free: 3.918 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower): time 0.002994/0.1311, allocations: 2.313 MB / 353.7 MB, free: 1.59 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001417/0.1325, allocations: 0.647 MB / 354.3 MB, free: 0.9375 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001645/0.1327, allocations: 7.938 kB / 354.3 MB, free: 0.9297 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001432/0.1329, allocations: 27.77 kB / 354.4 MB, free: 0.9023 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002053/0.1331, allocations: 71.45 kB / 354.4 MB, free: 0.832 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002794/0.1334, allocations: 67.84 kB / 354.5 MB, free: 0.7656 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003467/0.1337, allocations: 314.6 kB / 354.8 MB, free: 468 kB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002018/0.134, allocations: 69 kB / 354.9 MB, free: 396 kB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001645/0.1341, allocations: 107.6 kB / 355 MB, free: 288 kB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001792/0.1343, allocations: 127.4 kB / 355.1 MB, free: 160 kB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 4.07e-05/0.1344, allocations: 12 kB / 355.1 MB, free: 148 kB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.218e-05/0.1344, allocations: 20 kB / 355.1 MB, free: 128 kB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 5.912e-05/0.1345, allocations: 55.69 kB / 355.2 MB, free: 72 kB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 9.767e-05/0.1346, allocations: 69.66 kB / 355.2 MB, free: 15.99 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002566/0.1348, allocations: 239.5 kB / 355.5 MB, free: 15.76 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.741e-06/0.1349, allocations: 0 / 355.5 MB, free: 15.76 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.394e-06/0.1349, allocations: 0 / 355.5 MB, free: 15.76 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.16e-05/0.1349, allocations: 0 / 355.5 MB, free: 15.76 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.001186/0.1361, allocations: 0.6077 MB / 356.1 MB, free: 15.1 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.802e-05/0.1361, allocations: 12.02 kB / 356.1 MB, free: 15.09 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.105e-05/0.1362, allocations: 54.55 kB / 356.2 MB, free: 15.02 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.369e-05/0.1363, allocations: 31.62 kB / 356.2 MB, free: 14.99 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003235/0.1366, allocations: 254.6 kB / 356.4 MB, free: 14.7 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.498e-05/0.1367, allocations: 24.42 kB / 356.5 MB, free: 14.68 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.398e-05/0.1367, allocations: 20 kB / 356.5 MB, free: 14.66 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006062/0.1373, allocations: 277.8 kB / 356.7 MB, free: 14.38 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.008e-05/0.1373, allocations: 0 / 356.7 MB, free: 14.38 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.82e-05/0.1374, allocations: 19.94 kB / 356.8 MB, free: 14.36 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.937e-06/0.1374, allocations: 11.92 kB / 356.8 MB, free: 14.35 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006762/0.1381, allocations: 273.6 kB / 357 MB, free: 14.08 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001503/0.1396, allocations: 0.9297 MB / 358 MB, free: 13.08 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001402/0.141, allocations: 495.4 kB / 358.5 MB, free: 12.57 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002916/0.1413, allocations: 112.7 kB / 358.6 MB, free: 12.45 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.264e-05/0.1413, allocations: 0 / 358.6 MB, free: 12.45 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004758/0.1418, allocations: 181.8 kB / 358.7 MB, free: 12.25 MB / 302.1 MB Notification: Performance of pre-optimization done (n=10): time 3.627e-06/0.1418, allocations: 4 kB / 358.8 MB, free: 12.25 MB / 302.1 MB Notification: Performance of matching and sorting (n=10): time 0.002099/0.1439, allocations: 0.6472 MB / 359.4 MB, free: 11.57 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001151/0.1441, allocations: 110.8 kB / 359.5 MB, free: 11.44 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000368/0.1444, allocations: 266.7 kB / 359.8 MB, free: 11.18 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.503e-05/0.1445, allocations: 29.7 kB / 359.8 MB, free: 11.14 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001693/0.1447, allocations: 187.6 kB / 360 MB, free: 10.95 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.573e-05/0.1447, allocations: 31.55 kB / 360 MB, free: 10.92 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.337e-05/0.1447, allocations: 4 kB / 360 MB, free: 10.92 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001959/0.1449, allocations: 334.8 kB / 360.3 MB, free: 10.58 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003315/0.1453, allocations: 111.9 kB / 360.4 MB, free: 10.47 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004045/0.1457, allocations: 217.5 kB / 360.7 MB, free: 10.21 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003578/0.146, allocations: 141.7 kB / 360.8 MB, free: 10.07 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.849e-06/0.1461, allocations: 0 / 360.8 MB, free: 10.07 MB / 302.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.001151/0.1472, allocations: 471.7 kB / 361.3 MB, free: 9.59 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.104e-05/0.1473, allocations: 37.69 kB / 361.3 MB, free: 9.547 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.057e-06/0.1473, allocations: 4 kB / 361.3 MB, free: 9.543 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003323/0.1476, allocations: 72.81 kB / 361.4 MB, free: 9.469 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002265/0.1479, allocations: 51.97 kB / 361.4 MB, free: 9.418 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002008/0.1499, allocations: 1.523 MB / 362.9 MB, free: 7.766 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003315/0.1502, allocations: 59.7 kB / 363 MB, free: 7.707 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.604e-05/0.1503, allocations: 24 kB / 363 MB, free: 7.684 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.0001778/0.1505, allocations: 137.7 kB / 363.2 MB, free: 7.539 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.075e-05/0.1505, allocations: 27.67 kB / 363.2 MB, free: 7.512 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.546e-05/0.1506, allocations: 29.73 kB / 363.2 MB, free: 7.484 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.286e-06/0.1506, allocations: 4 kB / 363.2 MB, free: 7.48 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.295e-06/0.1506, allocations: 0 / 363.2 MB, free: 7.48 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.1506, allocations: 0 / 363.2 MB, free: 7.48 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001243/0.1518, allocations: 0.6787 MB / 363.9 MB, free: 6.742 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.1519, allocations: 0 / 363.9 MB, free: 6.742 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001334/0.152, allocations: 27.97 kB / 363.9 MB, free: 6.715 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002054/0.1522, allocations: 64.75 kB / 364 MB, free: 6.648 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.909e-05/0.1522, allocations: 8 kB / 364 MB, free: 6.641 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001889/0.1541, allocations: 1.514 MB / 365.5 MB, free: 4.996 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.1541, allocations: 0 / 365.5 MB, free: 4.996 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009878/0.1551, allocations: 427.9 kB / 365.9 MB, free: 4.559 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001149/0.1553, allocations: 104.8 kB / 366 MB, free: 4.438 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.692e-05/0.1553, allocations: 4 kB / 366 MB, free: 4.434 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002594/0.1556, allocations: 47.95 kB / 366.1 MB, free: 4.387 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.701e-05/0.1557, allocations: 23.86 kB / 366.1 MB, free: 4.363 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.329e-05/0.1557, allocations: 4 kB / 366.1 MB, free: 4.359 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002256/0.1559, allocations: 186 kB / 366.3 MB, free: 4.176 MB / 302.1 MB Notification: Performance of sort global known variables: time 3.21e-07/0.1559, allocations: 0 / 366.3 MB, free: 4.176 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004402/0.1564, allocations: 60 kB / 366.4 MB, free: 4.117 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.001452/0.1578, allocations: 0.9629 MB / 367.3 MB, free: 3.121 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0009736/0.1588, allocations: 417.9 kB / 367.7 MB, free: 2.688 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.436e-06/0.1588, allocations: 0 / 367.7 MB, free: 2.688 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004192/0.1593, allocations: 223.2 kB / 367.9 MB, free: 2.457 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004339/0.1597, allocations: 51.14 kB / 368 MB, free: 2.41 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003435/0.1632, allocations: 1.654 MB / 369.6 MB, free: 0.6602 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.243/0.4062, allocations: 0.7402 MB / 370.4 MB, free: 24.44 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0002347/0.4065, allocations: 25.77 kB / 370.4 MB, free: 24.43 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002247/0.4067, allocations: 70.56 kB / 370.5 MB, free: 24.43 MB / 302.1 MB Notification: Performance of SimCode: time 1.292e-06/0.4068, allocations: 0.9375 kB / 370.5 MB, free: 24.43 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02216/0.4289, allocations: 5.355 MB / 375.8 MB, free: 24.17 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000138/0.4291, allocations: 236.2 kB / 376.1 MB, free: 23.92 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.013/2.442, allocations: 4 kB / 376.1 MB, free: 23.91 MB / 302.1 MB (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Electrical_Analog_Examples_OpAmps_VoltageFollower_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Electrical_Analog_Examples_OpAmps_VoltageFollower.fmu > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower_res.mat does not exist to compare? outputFormat=mat