Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.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.Integrator,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Analog_Examples_OpAmps_Integrator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.Integrator,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Analog_Examples_OpAmps_Integrator",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.001343/0.001343, allocations: 92.97 kB / 16.95 MB, free: 6.457 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.001729/0.001729, allocations: 182.7 kB / 17.84 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.817/1.817, allocations: 205.4 MB / 224 MB, free: 13.14 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.0004727/0.0004727, allocations: 8 kB / 280.9 MB, free: 3.609 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1021/0.1026, allocations: 47.58 MB / 328.5 MB, free: 3.961 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Integrator): time 0.002914/0.1056, allocations: 2.205 MB / 330.7 MB, free: 1.738 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001154/0.1067, allocations: 0.6674 MB / 331.3 MB, free: 1.062 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001239/0.1069, allocations: 8 kB / 331.3 MB, free: 1.055 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001298/0.107, allocations: 31.77 kB / 331.4 MB, free: 1.023 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001767/0.1072, allocations: 67.45 kB / 331.4 MB, free: 0.957 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002642/0.1075, allocations: 55.92 kB / 331.5 MB, free: 0.9023 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003125/0.1078, allocations: 298.7 kB / 331.8 MB, free: 0.6094 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001794/0.108, allocations: 69.02 kB / 331.9 MB, free: 0.5469 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000185/0.1082, allocations: 111.5 kB / 332 MB, free: 448 kB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001663/0.1084, allocations: 123.5 kB / 332.1 MB, free: 324 kB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 4.079e-05/0.1084, allocations: 16 kB / 332.1 MB, free: 308 kB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.752e-05/0.1084, allocations: 12 kB / 332.1 MB, free: 296 kB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 5.267e-05/0.1085, allocations: 43.83 kB / 332.2 MB, free: 252 kB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 8.135e-05/0.1086, allocations: 65.58 kB / 332.2 MB, free: 180 kB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002478/0.1088, allocations: 219.6 kB / 332.4 MB, free: 15.96 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.847e-06/0.1089, allocations: 0 / 332.4 MB, free: 15.96 MB / 286.1 MB Notification: Performance of FrontEnd: time 3.918e-06/0.1089, allocations: 0 / 332.4 MB, free: 15.96 MB / 286.1 MB Notification: Performance of Transformations before backend: time 9.197e-06/0.1089, allocations: 0 / 332.4 MB, free: 15.96 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: 46 * Number of variables: 46 Notification: Performance of Generate backend data structure: time 0.001139/0.11, allocations: 0.6024 MB / 333 MB, free: 15.3 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.093e-05/0.1101, allocations: 8.031 kB / 333 MB, free: 15.29 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.329e-05/0.1102, allocations: 54.55 kB / 333.1 MB, free: 15.23 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.867e-05/0.1102, allocations: 23.72 kB / 333.1 MB, free: 15.2 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003309/0.1106, allocations: 270.2 kB / 333.4 MB, free: 14.9 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.878e-05/0.1106, allocations: 12.38 kB / 333.4 MB, free: 14.89 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.158e-05/0.1106, allocations: 20 kB / 333.4 MB, free: 14.87 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000566/0.1112, allocations: 240.5 kB / 333.7 MB, free: 14.63 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.121e-05/0.1112, allocations: 0 / 333.7 MB, free: 14.63 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.626e-05/0.1113, allocations: 8 kB / 333.7 MB, free: 14.62 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.876e-06/0.1113, allocations: 4 kB / 333.7 MB, free: 14.62 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000699/0.112, allocations: 287.5 kB / 333.9 MB, free: 14.34 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001416/0.1134, allocations: 0.8481 MB / 334.8 MB, free: 13.42 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008007/0.1142, allocations: 270.6 kB / 335.1 MB, free: 13.14 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002792/0.1145, allocations: 104.8 kB / 335.2 MB, free: 13.04 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.383e-05/0.1146, allocations: 8 kB / 335.2 MB, free: 13.03 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004925/0.1151, allocations: 184.9 kB / 335.3 MB, free: 12.83 MB / 286.1 MB Notification: Performance of pre-optimization done (n=13): time 1.263e-06/0.1151, allocations: 0 / 335.3 MB, free: 12.83 MB / 286.1 MB Notification: Performance of matching and sorting (n=13): time 0.001748/0.1168, allocations: 0.6513 MB / 336 MB, free: 12.15 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.971e-05/0.1169, allocations: 81.05 kB / 336.1 MB, free: 12.05 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002709/0.1172, allocations: 244.9 kB / 336.3 MB, free: 11.8 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.445e-05/0.1172, allocations: 29.7 kB / 336.3 MB, free: 11.77 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001201/0.1174, allocations: 163.9 kB / 336.5 MB, free: 11.6 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.848e-05/0.1174, allocations: 47.44 kB / 336.6 MB, free: 11.55 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.15e-05/0.1174, allocations: 4 kB / 336.6 MB, free: 11.55 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001237/0.1176, allocations: 326.8 kB / 336.9 MB, free: 11.22 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002743/0.1178, allocations: 104.1 kB / 337 MB, free: 11.12 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002972/0.1182, allocations: 159.2 kB / 337.1 MB, free: 10.94 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002943/0.1185, allocations: 141.6 kB / 337.3 MB, free: 10.8 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.1185, allocations: 4 kB / 337.3 MB, free: 10.79 MB / 286.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0009452/0.1194, allocations: 439.1 kB / 337.7 MB, free: 10.35 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.875e-05/0.1195, allocations: 163 kB / 337.9 MB, free: 10.16 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.582e-06/0.1196, allocations: 8 kB / 337.9 MB, free: 10.16 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002516/0.1198, allocations: 56.75 kB / 337.9 MB, free: 10.1 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001958/0.12, allocations: 47.97 kB / 338 MB, free: 10.05 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001696/0.1217, allocations: 1.51 MB / 339.5 MB, free: 8.406 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002582/0.122, allocations: 47.72 kB / 339.5 MB, free: 8.359 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.071e-05/0.122, allocations: 11.94 kB / 339.5 MB, free: 8.348 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.644e-06/0.122, allocations: 4 kB / 339.5 MB, free: 8.344 MB / 286.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000652/0.1227, allocations: 290.5 kB / 339.8 MB, free: 8.051 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.529e-06/0.1227, allocations: 4 kB / 339.8 MB, free: 8.047 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.7e-05/0.1228, allocations: 28.97 kB / 339.9 MB, free: 8.016 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001972/0.123, allocations: 59.92 kB / 339.9 MB, free: 7.957 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000999/0.124, allocations: 1.377 MB / 341.3 MB, free: 6.445 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002259/0.1242, allocations: 39.92 kB / 341.3 MB, free: 6.406 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.516e-05/0.1243, allocations: 8 kB / 341.3 MB, free: 6.398 MB / 286.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (20): * Single equations (assignments): 18 * 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.0001749/0.1244, allocations: 213 kB / 341.6 MB, free: 6.18 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.8e-05/0.1245, allocations: 15.81 kB / 341.6 MB, free: 6.164 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.348e-05/0.1245, allocations: 25.8 kB / 341.6 MB, free: 6.145 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.638e-06/0.1246, allocations: 7.984 kB / 341.6 MB, free: 6.137 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.925e-06/0.1246, allocations: 4 kB / 341.6 MB, free: 6.133 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.1246, allocations: 0 / 341.6 MB, free: 6.133 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002798/0.1249, allocations: 289.3 kB / 341.9 MB, free: 5.801 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.183e-06/0.1249, allocations: 0 / 341.9 MB, free: 5.801 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001828/0.1251, allocations: 35.97 kB / 341.9 MB, free: 5.766 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001574/0.1252, allocations: 52.91 kB / 342 MB, free: 5.711 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.9e-05/0.1253, allocations: 12 kB / 342 MB, free: 5.699 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001454/0.1267, allocations: 1.487 MB / 343.5 MB, free: 4.074 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.1267, allocations: 0 / 343.5 MB, free: 4.074 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001047/0.1278, allocations: 457.6 kB / 343.9 MB, free: 3.605 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.778e-05/0.1279, allocations: 104.9 kB / 344 MB, free: 3.484 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.01e-05/0.1279, allocations: 7.938 kB / 344 MB, free: 3.477 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001968/0.1281, allocations: 35.97 kB / 344.1 MB, free: 3.441 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.027e-05/0.1282, allocations: 19.97 kB / 344.1 MB, free: 3.422 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.411e-05/0.1282, allocations: 7.984 kB / 344.1 MB, free: 3.414 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001716/0.1284, allocations: 164.5 kB / 344.3 MB, free: 3.254 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1284, allocations: 8 kB / 344.3 MB, free: 3.246 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.000492/0.1289, allocations: 111.7 kB / 344.4 MB, free: 3.137 MB / 286.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (c.v) * 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 (11): * Single equations (assignments): 8 * 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.00137/0.1303, allocations: 0.9846 MB / 345.4 MB, free: 2.121 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.001254/0.1316, allocations: 0.6955 MB / 346 MB, free: 1.375 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.945e-06/0.1316, allocations: 3.938 kB / 346.1 MB, free: 1.371 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004122/0.132, allocations: 234.9 kB / 346.3 MB, free: 1.129 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003318/0.1323, allocations: 36.42 kB / 346.3 MB, free: 1.094 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00296/0.1353, allocations: 1.663 MB / 348 MB, free: 15.37 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002846/0.1356, allocations: 0.7402 MB / 348.7 MB, free: 14.6 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001326/0.1357, allocations: 25.94 kB / 348.7 MB, free: 14.57 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001135/0.1359, allocations: 67.42 kB / 348.8 MB, free: 14.51 MB / 302.1 MB Notification: Performance of SimCode: time 2.996e-06/0.1359, allocations: 0 / 348.8 MB, free: 14.51 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01759/0.1535, allocations: 5.363 MB / 354.2 MB, free: 9.152 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001844/0.1537, allocations: 224.4 kB / 354.4 MB, free: 8.91 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.163/2.316, allocations: 0 / 354.4 MB, free: 8.91 MB / 302.1 MB (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Integrator_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_Analog_Examples_OpAmps_Integrator_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_Analog_Examples_OpAmps_Integrator.fmu > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.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.Integrator_res.mat does not exist to compare? outputFormat=mat