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.001126/0.001126, allocations: 99.7 kB / 16.94 MB, free: 5.98 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.001002/0.001003, allocations: 176.6 kB / 17.82 MB, free: 5.652 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.468/1.468, allocations: 205.4 MB / 224 MB, free: 13.18 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.0004844/0.0004845, allocations: 12 kB / 280.9 MB, free: 3.637 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1068/0.1073, allocations: 47.57 MB / 328.4 MB, free: 3.996 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Integrator): time 0.002926/0.1103, allocations: 2.132 MB / 330.6 MB, free: 1.848 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001232/0.1115, allocations: 0.6792 MB / 331.2 MB, free: 1.16 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001913/0.1118, allocations: 11.94 kB / 331.2 MB, free: 1.148 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 7.21e-05/0.1118, allocations: 27.77 kB / 331.3 MB, free: 1.121 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002438/0.1121, allocations: 87.73 kB / 331.4 MB, free: 1.035 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003053/0.1124, allocations: 63.91 kB / 331.4 MB, free: 0.9727 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003698/0.1128, allocations: 207.5 kB / 331.6 MB, free: 0.7695 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001819/0.113, allocations: 69.06 kB / 331.7 MB, free: 0.707 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002191/0.1132, allocations: 111.5 kB / 331.8 MB, free: 0.5977 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002006/0.1134, allocations: 123.5 kB / 331.9 MB, free: 488 kB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 7.049e-05/0.1135, allocations: 19.98 kB / 331.9 MB, free: 468 kB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.839e-05/0.1136, allocations: 16 kB / 332 MB, free: 452 kB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 4.976e-05/0.1136, allocations: 35.84 kB / 332 MB, free: 416 kB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 8.796e-05/0.1137, allocations: 73.56 kB / 332.1 MB, free: 336 kB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002427/0.114, allocations: 223.6 kB / 332.3 MB, free: 112 kB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.086e-06/0.114, allocations: 0 / 332.3 MB, free: 112 kB / 270.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.114, allocations: 0 / 332.3 MB, free: 112 kB / 270.1 MB Notification: Performance of Transformations before backend: time 5.441e-06/0.114, allocations: 0 / 332.3 MB, free: 112 kB / 270.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.001159/0.1151, allocations: 0.5869 MB / 332.9 MB, free: 15.46 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.291e-05/0.1152, allocations: 8.031 kB / 332.9 MB, free: 15.45 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.753e-05/0.1153, allocations: 58.53 kB / 332.9 MB, free: 15.39 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.199e-05/0.1153, allocations: 23.72 kB / 333 MB, free: 15.36 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003377/0.1157, allocations: 266.3 kB / 333.2 MB, free: 15.06 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.917e-05/0.1157, allocations: 12.38 kB / 333.2 MB, free: 15.05 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.229e-05/0.1158, allocations: 23.94 kB / 333.3 MB, free: 15.03 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005781/0.1164, allocations: 244.5 kB / 333.5 MB, free: 14.79 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.026e-06/0.1164, allocations: 0 / 333.5 MB, free: 14.79 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.438e-05/0.1164, allocations: 8 kB / 333.5 MB, free: 14.78 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.784e-06/0.1164, allocations: 8 kB / 333.5 MB, free: 14.77 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00076/0.1172, allocations: 279.6 kB / 333.8 MB, free: 14.5 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001412/0.1186, allocations: 0.8403 MB / 334.6 MB, free: 13.59 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008094/0.1194, allocations: 274.5 kB / 334.9 MB, free: 13.31 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.141e-05/0.1195, allocations: 0 / 334.9 MB, free: 13.31 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004483/0.1199, allocations: 185 kB / 335.1 MB, free: 13.11 MB / 286.1 MB Notification: Performance of pre-optimization done (n=13): time 1.593e-06/0.1199, allocations: 0 / 335.1 MB, free: 13.11 MB / 286.1 MB Notification: Performance of matching and sorting (n=13): time 0.001843/0.1218, allocations: 0.6435 MB / 335.7 MB, free: 12.44 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.773e-05/0.1218, allocations: 89.11 kB / 335.8 MB, free: 12.33 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002324/0.1221, allocations: 236.9 kB / 336 MB, free: 12.09 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.269e-05/0.1221, allocations: 25.7 kB / 336.1 MB, free: 12.05 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001042/0.1222, allocations: 163.9 kB / 336.2 MB, free: 11.89 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.092e-05/0.1223, allocations: 47.44 kB / 336.3 MB, free: 11.84 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.031e-05/0.1223, allocations: 0 / 336.3 MB, free: 11.84 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001314/0.1224, allocations: 334.8 kB / 336.6 MB, free: 11.51 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003134/0.1228, allocations: 108 kB / 336.7 MB, free: 11.4 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003274/0.1231, allocations: 159.1 kB / 336.9 MB, free: 11.22 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003254/0.1234, allocations: 139.9 kB / 337 MB, free: 11.08 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.918e-06/0.1234, allocations: 3.953 kB / 337 MB, free: 11.08 MB / 286.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.00105/0.1245, allocations: 443.7 kB / 337.4 MB, free: 10.63 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003184/0.1248, allocations: 0.6407 MB / 338.1 MB, free: 9.938 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.448e-06/0.1248, allocations: 4 kB / 338.1 MB, free: 9.934 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002592/0.1251, allocations: 56.81 kB / 338.1 MB, free: 9.875 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002103/0.1253, allocations: 55.91 kB / 338.2 MB, free: 9.82 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001706/0.127, allocations: 1.53 MB / 339.7 MB, free: 8.156 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002708/0.1273, allocations: 51.72 kB / 339.8 MB, free: 8.105 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.888e-05/0.1274, allocations: 4 kB / 339.8 MB, free: 8.102 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.496e-06/0.1274, allocations: 4 kB / 339.8 MB, free: 8.098 MB / 286.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006602/0.128, allocations: 294.5 kB / 340.1 MB, free: 7.801 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.545e-06/0.1281, allocations: 224 / 340.1 MB, free: 7.801 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.661e-05/0.1281, allocations: 24.84 kB / 340.1 MB, free: 7.773 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002044/0.1283, allocations: 55.91 kB / 340.1 MB, free: 7.719 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001116/0.1295, allocations: 1.384 MB / 341.5 MB, free: 6.199 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002433/0.1297, allocations: 44 kB / 341.6 MB, free: 6.156 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.658e-05/0.1298, allocations: 8 kB / 341.6 MB, free: 6.148 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.0001954/0.13, allocations: 217.4 kB / 341.8 MB, free: 5.926 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.226e-05/0.13, allocations: 15.81 kB / 341.8 MB, free: 5.91 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.088e-05/0.13, allocations: 21.8 kB / 341.8 MB, free: 5.895 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.846e-06/0.13, allocations: 4 kB / 341.8 MB, free: 5.891 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.854e-06/0.1301, allocations: 0 / 341.8 MB, free: 5.891 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.12e-06/0.1301, allocations: 3.984 kB / 341.8 MB, free: 5.887 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002939/0.1304, allocations: 293.3 kB / 342.1 MB, free: 5.551 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.845e-06/0.1304, allocations: 0 / 342.1 MB, free: 5.551 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001946/0.1306, allocations: 39.91 kB / 342.2 MB, free: 5.512 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001778/0.1308, allocations: 60.81 kB / 342.2 MB, free: 5.449 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.485e-05/0.1308, allocations: 0 / 342.2 MB, free: 5.449 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001619/0.1324, allocations: 1.51 MB / 343.7 MB, free: 3.801 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.247e-06/0.1324, allocations: 3.984 kB / 343.7 MB, free: 3.797 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001145/0.1336, allocations: 450.4 kB / 344.2 MB, free: 3.336 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.825e-05/0.1337, allocations: 104.9 kB / 344.3 MB, free: 3.215 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.382e-05/0.1337, allocations: 11.98 kB / 344.3 MB, free: 3.203 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002115/0.1339, allocations: 31.97 kB / 344.3 MB, free: 3.172 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.814e-05/0.134, allocations: 19.97 kB / 344.3 MB, free: 3.152 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.34e-05/0.134, allocations: 4 kB / 344.3 MB, free: 3.148 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001664/0.1342, allocations: 176.5 kB / 344.5 MB, free: 2.977 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1342, allocations: 0 / 344.5 MB, free: 2.977 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0005197/0.1347, allocations: 107.7 kB / 344.6 MB, free: 2.871 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.001456/0.1362, allocations: 0.9996 MB / 345.6 MB, free: 1.84 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.001369/0.1376, allocations: 0.6952 MB / 346.3 MB, free: 1.098 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.1376, allocations: 0 / 346.3 MB, free: 1.098 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000433/0.138, allocations: 234.9 kB / 346.5 MB, free: 0.8555 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002953/0.1384, allocations: 40.36 kB / 346.6 MB, free: 0.8164 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003617/0.142, allocations: 2.561 MB / 349.1 MB, free: 14.18 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003523/0.1423, allocations: 0.7479 MB / 349.9 MB, free: 13.41 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001285/0.1425, allocations: 21.95 kB / 349.9 MB, free: 13.39 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001084/0.1426, allocations: 71.41 kB / 350 MB, free: 13.32 MB / 302.1 MB Notification: Performance of SimCode: time 4.41e-07/0.1426, allocations: 0 / 350 MB, free: 13.32 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01863/0.1612, allocations: 5.327 MB / 355.3 MB, free: 7.992 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002374/0.1615, allocations: 211.2 kB / 355.5 MB, free: 7.758 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.845/2.006, allocations: 0 / 355.5 MB, free: 7.758 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