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/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 3.2.3+maint.om/package.mo", uses=false) 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 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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001095/0.001095, allocations: 96.11 kB / 16.94 MB, free: 6.441 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.001123/0.001123, allocations: 187.5 kB / 17.83 MB, free: 6.008 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.497/1.497, allocations: 205.4 MB / 224 MB, free: 13.17 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004488/0.000449, allocations: 16 kB / 280.9 MB, free: 3.637 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1074/0.1079, allocations: 47.57 MB / 328.4 MB, free: 3.992 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower): time 0.003014/0.1109, allocations: 2.19 MB / 330.6 MB, free: 1.785 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001347/0.1123, allocations: 0.7065 MB / 331.3 MB, free: 1.07 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001536/0.1125, allocations: 4 kB / 331.3 MB, free: 1.066 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 5.959e-05/0.1126, allocations: 23.77 kB / 331.4 MB, free: 1.043 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002448/0.1128, allocations: 99.72 kB / 331.5 MB, free: 0.9453 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002505/0.1131, allocations: 75.78 kB / 331.5 MB, free: 0.8711 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003275/0.1134, allocations: 219.6 kB / 331.7 MB, free: 0.6562 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001811/0.1136, allocations: 69.08 kB / 331.8 MB, free: 0.5938 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000145/0.1138, allocations: 107.6 kB / 331.9 MB, free: 500 kB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001696/0.114, allocations: 131.4 kB / 332 MB, free: 368 kB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 3.814e-05/0.114, allocations: 19.94 kB / 332.1 MB, free: 348 kB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.913e-05/0.1141, allocations: 16 kB / 332.1 MB, free: 332 kB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 4.88e-05/0.1141, allocations: 43.81 kB / 332.1 MB, free: 288 kB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 7.878e-05/0.1142, allocations: 73.58 kB / 332.2 MB, free: 208 kB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002469/0.1145, allocations: 235.6 kB / 332.4 MB, free: 15.97 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.456e-06/0.1145, allocations: 0 / 332.4 MB, free: 15.97 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.362e-06/0.1145, allocations: 0 / 332.4 MB, free: 15.97 MB / 286.1 MB Notification: Performance of Transformations before backend: time 6.172e-06/0.1145, allocations: 0 / 332.4 MB, free: 15.97 MB / 286.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.00118/0.1157, allocations: 0.6145 MB / 333 MB, free: 15.3 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.03e-05/0.1157, allocations: 8.031 kB / 333 MB, free: 15.29 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.304e-05/0.1158, allocations: 54.55 kB / 333.1 MB, free: 15.23 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.4e-05/0.1159, allocations: 27.62 kB / 333.1 MB, free: 15.2 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003326/0.1162, allocations: 274.2 kB / 333.4 MB, free: 14.89 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.337e-05/0.1162, allocations: 16.44 kB / 333.4 MB, free: 14.88 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.491e-05/0.1163, allocations: 20 kB / 333.4 MB, free: 14.86 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006022/0.1169, allocations: 259.2 kB / 333.7 MB, free: 14.59 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.087e-05/0.1169, allocations: 3.984 kB / 333.7 MB, free: 14.59 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.491e-05/0.1169, allocations: 4 kB / 333.7 MB, free: 14.59 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.015e-06/0.117, allocations: 12 kB / 333.7 MB, free: 14.57 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007636/0.1177, allocations: 285.5 kB / 334 MB, free: 14.3 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001463/0.1192, allocations: 0.8515 MB / 334.8 MB, free: 13.38 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006713/0.1199, allocations: 307.7 kB / 335.1 MB, free: 13.05 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.374e-05/0.1199, allocations: 0 / 335.1 MB, free: 13.05 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005071/0.1204, allocations: 178 kB / 335.3 MB, free: 12.86 MB / 286.1 MB Notification: Performance of pre-optimization done (n=11): time 1.523e-06/0.1204, allocations: 0 / 335.3 MB, free: 12.86 MB / 286.1 MB Notification: Performance of matching and sorting (n=11): time 0.001891/0.1223, allocations: 0.6434 MB / 336 MB, free: 12.19 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.512e-05/0.1224, allocations: 106.8 kB / 336.1 MB, free: 12.06 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002845/0.1227, allocations: 262.5 kB / 336.3 MB, free: 11.79 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.991e-05/0.1228, allocations: 33.7 kB / 336.3 MB, free: 11.75 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001283/0.1229, allocations: 179.7 kB / 336.5 MB, free: 11.57 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.361e-05/0.1229, allocations: 39.53 kB / 336.6 MB, free: 11.54 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.315e-05/0.123, allocations: 4 kB / 336.6 MB, free: 11.53 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.000127/0.1231, allocations: 338.8 kB / 336.9 MB, free: 11.19 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003149/0.1234, allocations: 103.9 kB / 337 MB, free: 11.09 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003663/0.1238, allocations: 200.8 kB / 337.2 MB, free: 10.85 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003436/0.1242, allocations: 145.6 kB / 337.3 MB, free: 10.7 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.1242, allocations: 0 / 337.3 MB, free: 10.7 MB / 286.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.001083/0.1253, allocations: 467.8 kB / 337.8 MB, free: 10.23 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004786/0.1257, allocations: 1.163 MB / 339 MB, free: 8.969 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.025e-05/0.1258, allocations: 4 kB / 339 MB, free: 8.965 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002668/0.126, allocations: 60.81 kB / 339 MB, free: 8.902 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002426/0.1263, allocations: 59.84 kB / 339.1 MB, free: 8.844 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001723/0.128, allocations: 1.531 MB / 340.6 MB, free: 7.172 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003194/0.1284, allocations: 55.78 kB / 340.7 MB, free: 7.117 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.657e-05/0.1284, allocations: 19.98 kB / 340.7 MB, free: 7.098 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.063e-05/0.1284, allocations: 4 kB / 340.7 MB, free: 7.094 MB / 286.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006939/0.1291, allocations: 318.5 kB / 341 MB, free: 6.773 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.745e-06/0.1291, allocations: 4 kB / 341 MB, free: 6.77 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.251e-05/0.1292, allocations: 32.67 kB / 341 MB, free: 6.734 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000213/0.1294, allocations: 55.95 kB / 341.1 MB, free: 6.68 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009406/0.1304, allocations: 1.392 MB / 342.5 MB, free: 5.152 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00029/0.1307, allocations: 44 kB / 342.5 MB, free: 5.109 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.773e-05/0.1307, allocations: 12 kB / 342.5 MB, free: 5.098 MB / 286.1 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.0001888/0.1309, allocations: 220.8 kB / 342.7 MB, free: 4.871 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.494e-05/0.1309, allocations: 23.72 kB / 342.8 MB, free: 4.848 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.204e-05/0.131, allocations: 25.7 kB / 342.8 MB, free: 4.828 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-06/0.131, allocations: 4.078 kB / 342.8 MB, free: 4.824 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.084e-06/0.131, allocations: 4 kB / 342.8 MB, free: 4.82 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.131, allocations: 4 kB / 342.8 MB, free: 4.816 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001146/0.1322, allocations: 0.6518 MB / 343.5 MB, free: 4.105 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.1322, allocations: 0 / 343.5 MB, free: 4.105 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001428/0.1323, allocations: 35.97 kB / 343.5 MB, free: 4.07 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001577/0.1325, allocations: 52.83 kB / 343.5 MB, free: 4.016 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.595e-05/0.1325, allocations: 4 kB / 343.5 MB, free: 4.012 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001569/0.1341, allocations: 1.515 MB / 345.1 MB, free: 2.363 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.895e-06/0.1341, allocations: 3.953 kB / 345.1 MB, free: 2.359 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008739/0.135, allocations: 404 kB / 345.5 MB, free: 1.945 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.607e-05/0.1351, allocations: 96.81 kB / 345.6 MB, free: 1.832 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.869e-05/0.1351, allocations: 11.95 kB / 345.6 MB, free: 1.82 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002596/0.1354, allocations: 35.97 kB / 345.6 MB, free: 1.785 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001152/0.1355, allocations: 19.97 kB / 345.6 MB, free: 1.766 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.555e-05/0.1356, allocations: 4.281 kB / 345.6 MB, free: 1.762 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0002058/0.1358, allocations: 194 kB / 345.8 MB, free: 1.57 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1358, allocations: 0 / 345.8 MB, free: 1.57 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0006206/0.1364, allocations: 119.7 kB / 345.9 MB, free: 1.453 MB / 286.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 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.001167/0.1376, allocations: 0.9355 MB / 346.9 MB, free: 500 kB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.00132/0.1389, allocations: 0.7075 MB / 347.6 MB, free: 15.73 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 5.66e-06/0.1389, allocations: 3.938 kB / 347.6 MB, free: 15.73 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000444/0.1394, allocations: 227.2 kB / 347.8 MB, free: 15.49 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003065/0.1397, allocations: 40.55 kB / 347.8 MB, free: 15.45 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003669/0.1434, allocations: 3.44 MB / 351.3 MB, free: 11.91 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003691/0.1438, allocations: 0.7599 MB / 352 MB, free: 11.12 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001579/0.1439, allocations: 26.28 kB / 352.1 MB, free: 11.1 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001371/0.1441, allocations: 71.42 kB / 352.1 MB, free: 11.03 MB / 302.1 MB Notification: Performance of SimCode: time 1.142e-06/0.1441, allocations: 0 / 352.1 MB, free: 11.03 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01979/0.1639, allocations: 5.656 MB / 357.8 MB, free: 5.379 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000265/0.1642, allocations: 224.9 kB / 358 MB, free: 5.133 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.829/1.994, allocations: 4 kB / 358 MB, free: 5.129 MB / 302.1 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) Environment - environmentSimulation: 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