Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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 4.1.0-beta.om/package.mo", uses=false) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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_4_1_0-beta_om_Modelica_Electrical_Analog_Examples_OpAmps_VoltageFollower",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower,fileNamePrefix="Modelica_4_1_0-beta_om_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.00142/0.00142, allocations: 104.1 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001467/0.001467, allocations: 214.4 kB / 18.59 MB, free: 4.402 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.487/1.487, allocations: 227.7 MB / 247.1 MB, free: 10.27 MB / 206.1 MB Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001926/0.001926, allocations: 64.02 kB / 307.3 MB, free: 372 kB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.109/0.1109, allocations: 50.54 MB / 357.9 MB, free: 13.8 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower): time 0.004631/0.1156, allocations: 2.741 MB / 360.6 MB, free: 11.05 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001283/0.1169, allocations: 0.7128 MB / 361.3 MB, free: 10.33 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001185/0.117, allocations: 8 kB / 361.3 MB, free: 10.32 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001367/0.1172, allocations: 43.56 kB / 361.4 MB, free: 10.28 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001799/0.1174, allocations: 87.25 kB / 361.5 MB, free: 10.19 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002731/0.1177, allocations: 95.81 kB / 361.6 MB, free: 10.1 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003962/0.1181, allocations: 350.6 kB / 361.9 MB, free: 9.754 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002142/0.1183, allocations: 92.69 kB / 362 MB, free: 9.664 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000167/0.1185, allocations: 123.5 kB / 362.1 MB, free: 9.543 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001955/0.1187, allocations: 147.4 kB / 362.3 MB, free: 9.398 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.404e-05/0.1187, allocations: 28 kB / 362.3 MB, free: 9.371 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.726e-05/0.1188, allocations: 32 kB / 362.3 MB, free: 9.34 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 6.566e-05/0.1189, allocations: 63.69 kB / 362.4 MB, free: 9.277 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001682/0.119, allocations: 151.2 kB / 362.5 MB, free: 9.129 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003472/0.1194, allocations: 315.1 kB / 362.8 MB, free: 8.82 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.429e-06/0.1194, allocations: 0 / 362.8 MB, free: 8.82 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.1194, allocations: 0 / 362.8 MB, free: 8.82 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.071e-06/0.1194, allocations: 4 kB / 362.8 MB, free: 8.816 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.001247/0.1207, allocations: 0.634 MB / 363.5 MB, free: 8.125 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.955e-05/0.1207, allocations: 12.02 kB / 363.5 MB, free: 8.113 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.323e-05/0.1208, allocations: 54.73 kB / 363.5 MB, free: 8.051 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.652e-05/0.1209, allocations: 32.56 kB / 363.6 MB, free: 8.02 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003282/0.1212, allocations: 263.6 kB / 363.8 MB, free: 7.723 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.767e-05/0.1213, allocations: 24.8 kB / 363.9 MB, free: 7.695 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.365e-05/0.1213, allocations: 16.38 kB / 363.9 MB, free: 7.68 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006713/0.122, allocations: 281.8 kB / 364.2 MB, free: 7.391 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.628e-06/0.122, allocations: 0 / 364.2 MB, free: 7.391 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.869e-05/0.122, allocations: 15.98 kB / 364.2 MB, free: 7.375 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.045e-06/0.122, allocations: 7.938 kB / 364.2 MB, free: 7.367 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007861/0.1228, allocations: 241.6 kB / 364.4 MB, free: 7.133 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001602/0.1244, allocations: 0.9024 MB / 365.3 MB, free: 6.16 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001585/0.126, allocations: 447.4 kB / 365.7 MB, free: 5.695 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003375/0.1264, allocations: 88.78 kB / 365.8 MB, free: 5.605 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.581e-05/0.1264, allocations: 4 kB / 365.8 MB, free: 5.602 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005405/0.127, allocations: 165.8 kB / 366 MB, free: 5.418 MB / 302.1 MB Notification: Performance of pre-optimization done (n=10): time 3.697e-06/0.127, allocations: 0 / 366 MB, free: 5.418 MB / 302.1 MB Notification: Performance of matching and sorting (n=10): time 0.002151/0.1292, allocations: 0.5809 MB / 366.6 MB, free: 4.809 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.006e-05/0.1292, allocations: 102.8 kB / 366.7 MB, free: 4.684 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003116/0.1296, allocations: 278.6 kB / 367 MB, free: 4.402 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.846e-05/0.1296, allocations: 29.7 kB / 367 MB, free: 4.367 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000146/0.1297, allocations: 183.7 kB / 367.2 MB, free: 4.184 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.49e-05/0.1298, allocations: 35.53 kB / 367.2 MB, free: 4.148 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.46e-05/0.1299, allocations: 53.61 kB / 367.2 MB, free: 4.09 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001819/0.1301, allocations: 334.8 kB / 367.6 MB, free: 3.754 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003718/0.1305, allocations: 95.92 kB / 367.7 MB, free: 3.66 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004465/0.1309, allocations: 201.6 kB / 367.9 MB, free: 3.414 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007519/0.1317, allocations: 305.4 kB / 368.2 MB, free: 3.066 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.1317, allocations: 0 / 368.2 MB, free: 3.066 MB / 302.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.00124/0.1329, allocations: 423.8 kB / 368.6 MB, free: 2.637 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.902e-05/0.133, allocations: 37.69 kB / 368.6 MB, free: 2.594 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.007e-06/0.133, allocations: 8.062 kB / 368.6 MB, free: 2.586 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003031/0.1333, allocations: 60.81 kB / 368.7 MB, free: 2.523 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002204/0.1335, allocations: 47.91 kB / 368.7 MB, free: 2.477 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002389/0.1359, allocations: 1.613 MB / 370.3 MB, free: 0.7227 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003513/0.1363, allocations: 51.72 kB / 370.4 MB, free: 0.6719 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.391e-05/0.1363, allocations: 12 kB / 370.4 MB, free: 0.6602 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 (vIn.signalSource.count,$PRE.vIn.signalSource.count,vIn.signalSource.T_start,$PRE.vIn.signalSource.T_start,$whenCondition1) * 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001644/0.1365, allocations: 150.6 kB / 370.6 MB, free: 0.5039 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.064e-05/0.1366, allocations: 27.66 kB / 370.6 MB, free: 488 kB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.556e-05/0.1366, allocations: 21.72 kB / 370.6 MB, free: 472 kB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.909e-06/0.1366, allocations: 3.984 kB / 370.6 MB, free: 468 kB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.505e-06/0.1366, allocations: 0 / 370.6 MB, free: 468 kB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.1366, allocations: 0 / 370.6 MB, free: 468 kB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1561/0.2927, allocations: 0.6354 MB / 371.2 MB, free: 19.96 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.865e-06/0.2928, allocations: 0 / 371.2 MB, free: 19.96 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001553/0.2929, allocations: 28.33 kB / 371.3 MB, free: 19.96 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002448/0.2932, allocations: 57.53 kB / 371.3 MB, free: 19.96 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.869e-05/0.2932, allocations: 5.125 kB / 371.3 MB, free: 19.96 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001773/0.295, allocations: 1.6 MB / 372.9 MB, free: 18.62 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.295, allocations: 1.219 kB / 372.9 MB, free: 18.62 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001037/0.2961, allocations: 395.9 kB / 373.3 MB, free: 18.49 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.577e-05/0.2961, allocations: 100.4 kB / 373.4 MB, free: 18.39 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.731e-05/0.2962, allocations: 5.344 kB / 373.4 MB, free: 18.39 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002674/0.2965, allocations: 29.42 kB / 373.4 MB, free: 18.39 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.605e-05/0.2965, allocations: 23.31 kB / 373.5 MB, free: 18.39 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.404e-05/0.2966, allocations: 2.172 kB / 373.5 MB, free: 18.39 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001773/0.2967, allocations: 192.5 kB / 373.7 MB, free: 18.32 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.2967, allocations: 0 / 373.7 MB, free: 18.32 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003816/0.2971, allocations: 63.03 kB / 373.7 MB, free: 18.32 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001205/0.2983, allocations: 0.9257 MB / 374.6 MB, free: 17.65 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0008955/0.2992, allocations: 396.2 kB / 375 MB, free: 17.48 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.446e-06/0.2993, allocations: 0.8125 kB / 375 MB, free: 17.48 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004027/0.2997, allocations: 211.5 kB / 375.2 MB, free: 17.37 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003902/0.3001, allocations: 48.55 kB / 375.3 MB, free: 17.37 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004664/0.3047, allocations: 2.999 MB / 378.3 MB, free: 15.68 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001841/0.305, allocations: 0.7465 MB / 379 MB, free: 14.98 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.000133/0.3051, allocations: 25.67 kB / 379.1 MB, free: 14.98 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.91e-05/0.3052, allocations: 74.56 kB / 379.1 MB, free: 14.92 MB / 302.1 MB Notification: Performance of SimCode: time 5.21e-07/0.3052, allocations: 0 / 379.1 MB, free: 14.92 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03571/0.3409, allocations: 5.972 MB / 385.1 MB, free: 13.91 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.54/11.88, allocations: 4.188 kB / 385.1 MB, free: 13.91 MB / 302.1 MB (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Electrical_Analog_Examples_OpAmps_VoltageFollower_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_4_1_0-beta_om_Modelica_Electrical_Analog_Examples_OpAmps_VoltageFollower.fmu > Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.pipe 2>&1)