Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator.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.SignalGenerator,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Analog_Examples_OpAmps_SignalGenerator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Analog_Examples_OpAmps_SignalGenerator",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.001009/0.001009, allocations: 92.19 kB / 16.95 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.001193/0.001193, allocations: 181.2 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.808/1.808, 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.0004819/0.000482, allocations: 16 kB / 280.9 MB, free: 3.621 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.105/0.1054, allocations: 47.58 MB / 328.5 MB, free: 3.973 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator): time 0.003116/0.1086, allocations: 2.477 MB / 330.9 MB, free: 1.48 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001475/0.1101, allocations: 0.7414 MB / 331.7 MB, free: 0.7305 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000275/0.1104, allocations: 11.94 kB / 331.7 MB, free: 0.7188 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001819/0.1106, allocations: 39.62 kB / 331.7 MB, free: 0.6797 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002859/0.1109, allocations: 95.3 kB / 331.8 MB, free: 0.5859 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003759/0.1113, allocations: 87.89 kB / 331.9 MB, free: 0.5 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005373/0.1119, allocations: 374.1 kB / 332.3 MB, free: 136 kB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002591/0.1121, allocations: 98.09 kB / 332.4 MB, free: 40 kB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002379/0.1124, allocations: 123.5 kB / 332.5 MB, free: 15.92 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002356/0.1126, allocations: 143.4 kB / 332.6 MB, free: 15.78 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 4.765e-05/0.1127, allocations: 19.94 kB / 332.7 MB, free: 15.76 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.705e-05/0.1127, allocations: 20 kB / 332.7 MB, free: 15.74 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 5.9e-05/0.1128, allocations: 59.75 kB / 332.7 MB, free: 15.68 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001103/0.1129, allocations: 77.58 kB / 332.8 MB, free: 15.6 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002954/0.1132, allocations: 283.3 kB / 333.1 MB, free: 15.32 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.74e-06/0.1132, allocations: 0 / 333.1 MB, free: 15.32 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.974e-06/0.1132, allocations: 0 / 333.1 MB, free: 15.32 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.265e-05/0.1133, allocations: 0 / 333.1 MB, free: 15.32 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: 75 * Number of variables: 75 Notification: Performance of Generate backend data structure: time 0.001028/0.1143, allocations: 0.5964 MB / 333.7 MB, free: 14.68 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.023e-05/0.1144, allocations: 8.031 kB / 333.7 MB, free: 14.67 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001093/0.1145, allocations: 70.53 kB / 333.8 MB, free: 14.59 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.822e-05/0.1146, allocations: 31.62 kB / 333.8 MB, free: 14.56 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003912/0.115, allocations: 286.2 kB / 334.1 MB, free: 14.24 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.598e-05/0.115, allocations: 24.66 kB / 334.1 MB, free: 14.21 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.184e-05/0.1151, allocations: 28 kB / 334.1 MB, free: 14.19 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006877/0.1158, allocations: 306 kB / 334.4 MB, free: 13.88 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.381e-05/0.1158, allocations: 0 / 334.4 MB, free: 13.88 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.142e-05/0.1158, allocations: 12 kB / 334.4 MB, free: 13.87 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.164e-05/0.1158, allocations: 8 kB / 334.4 MB, free: 13.86 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006861/0.1165, allocations: 314.4 kB / 334.7 MB, free: 13.55 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001887/0.1184, allocations: 1.104 MB / 335.8 MB, free: 12.37 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007978/0.1192, allocations: 322.8 kB / 336.2 MB, free: 12.05 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004007/0.1197, allocations: 172.7 kB / 336.3 MB, free: 11.88 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.889e-05/0.1197, allocations: 4 kB / 336.3 MB, free: 11.87 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.699e-05/0.1197, allocations: 38.56 kB / 336.4 MB, free: 11.82 MB / 286.1 MB Notification: Performance of pre-optimization done (n=20): time 1.813e-06/0.1198, allocations: 3.938 kB / 336.4 MB, free: 11.82 MB / 286.1 MB Notification: Performance of matching and sorting (n=20): time 0.002412/0.1222, allocations: 0.9068 MB / 337.3 MB, free: 10.86 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.555e-05/0.1222, allocations: 55.41 kB / 337.3 MB, free: 10.8 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002853/0.1225, allocations: 262.7 kB / 337.6 MB, free: 10.53 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.374e-05/0.1226, allocations: 25.7 kB / 337.6 MB, free: 10.5 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001389/0.1227, allocations: 203.8 kB / 337.8 MB, free: 10.29 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.355e-05/0.1228, allocations: 82.98 kB / 337.9 MB, free: 10.21 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.226e-05/0.1228, allocations: 7.938 kB / 337.9 MB, free: 10.2 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001286/0.1229, allocations: 334.8 kB / 338.2 MB, free: 9.867 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002297/0.1232, allocations: 95.89 kB / 338.3 MB, free: 9.773 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002788/0.1235, allocations: 183.1 kB / 338.5 MB, free: 9.555 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002733/0.1237, allocations: 119.9 kB / 338.6 MB, free: 9.438 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.44e-06/0.1238, allocations: 3.953 kB / 338.6 MB, free: 9.434 MB / 286.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001235/0.125, allocations: 0.5455 MB / 339.2 MB, free: 8.875 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001756/0.1252, allocations: 171.6 kB / 339.3 MB, free: 8.664 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.578e-06/0.1252, allocations: 0 / 339.3 MB, free: 8.664 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000516/0.1257, allocations: 153.5 kB / 339.5 MB, free: 8.508 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001865/0.1259, allocations: 55.92 kB / 339.5 MB, free: 8.453 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004539/0.1305, allocations: 3.447 MB / 343 MB, free: 4.738 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003244/0.1308, allocations: 47.73 kB / 343 MB, free: 4.691 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.619e-05/0.1309, allocations: 16 kB / 343.1 MB, free: 4.676 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.2e-05/0.1309, allocations: 4 kB / 343.1 MB, free: 4.672 MB / 286.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004743/0.1314, allocations: 257.5 kB / 343.3 MB, free: 4.414 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.141e-05/0.1314, allocations: 8 kB / 343.3 MB, free: 4.406 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001412/0.1316, allocations: 49.69 kB / 343.4 MB, free: 4.352 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002085/0.1318, allocations: 55.91 kB / 343.4 MB, free: 4.297 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002247/0.134, allocations: 2.688 MB / 346.1 MB, free: 1.344 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002264/0.1343, allocations: 23.69 kB / 346.1 MB, free: 1.32 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.758e-05/0.1343, allocations: 16 kB / 346.1 MB, free: 1.305 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (29): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 5,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0002985/0.1346, allocations: 217 kB / 346.4 MB, free: 1.082 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.964e-05/0.1347, allocations: 27.7 kB / 346.4 MB, free: 1.055 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.359e-05/0.1348, allocations: 30.25 kB / 346.4 MB, free: 1.02 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.639e-06/0.1348, allocations: 8 kB / 346.4 MB, free: 1.012 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.956e-06/0.1348, allocations: 0 / 346.4 MB, free: 1.012 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.891e-06/0.1348, allocations: 3.984 kB / 346.4 MB, free: 1.008 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001556/0.1364, allocations: 0.8237 MB / 347.3 MB, free: 124 kB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.086e-06/0.1364, allocations: 3.938 kB / 347.3 MB, free: 120 kB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001255/0.1365, allocations: 23.98 kB / 347.3 MB, free: 96 kB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004542/0.137, allocations: 145.5 kB / 347.4 MB, free: 15.95 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.829e-05/0.137, allocations: 4 kB / 347.4 MB, free: 15.94 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004259/0.1413, allocations: 3.419 MB / 350.8 MB, free: 12.26 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.065e-06/0.1413, allocations: 3.938 kB / 350.8 MB, free: 12.26 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001225/0.1425, allocations: 0.6103 MB / 351.5 MB, free: 11.62 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001162/0.1427, allocations: 96.84 kB / 351.6 MB, free: 11.51 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.92e-05/0.1427, allocations: 12.25 kB / 351.6 MB, free: 11.5 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002287/0.143, allocations: 31.97 kB / 351.6 MB, free: 11.47 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.281e-05/0.1431, allocations: 19.97 kB / 351.6 MB, free: 11.45 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.666e-05/0.1431, allocations: 4 kB / 351.6 MB, free: 11.45 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002232/0.1433, allocations: 194 kB / 351.8 MB, free: 11.26 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1433, allocations: 7.938 kB / 351.8 MB, free: 11.25 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0008926/0.1442, allocations: 159.5 kB / 352 MB, free: 11.09 MB / 302.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 5,1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.001639/0.1459, allocations: 1.152 MB / 353.1 MB, free: 9.906 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001644/0.1475, allocations: 0.8968 MB / 354 MB, free: 8.957 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.508e-06/0.1475, allocations: 1.375 kB / 354 MB, free: 8.957 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00076/0.1483, allocations: 437.1 kB / 354.5 MB, free: 8.504 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00048/0.1488, allocations: 56.48 kB / 354.5 MB, free: 8.449 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003807/0.1526, allocations: 1.938 MB / 356.4 MB, free: 6.418 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004413/0.1531, allocations: 0.7645 MB / 357.2 MB, free: 5.629 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001617/0.1532, allocations: 34.89 kB / 357.2 MB, free: 5.598 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001278/0.1534, allocations: 83.42 kB / 357.3 MB, free: 5.516 MB / 302.1 MB Notification: Performance of SimCode: time 1.092e-06/0.1534, allocations: 4 kB / 357.3 MB, free: 5.512 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02201/0.1754, allocations: 6.613 MB / 363.9 MB, free: 14.9 MB / 318.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003137/0.1758, allocations: 242.2 kB / 364.2 MB, free: 14.64 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.183/2.359, allocations: 4 kB / 364.2 MB, free: 14.64 MB / 318.1 MB (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_Analog_Examples_OpAmps_SignalGenerator_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_Analog_Examples_OpAmps_SignalGenerator.fmu > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator.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.SignalGenerator_res.mat does not exist to compare? outputFormat=mat