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.000976/0.000976, allocations: 102.4 kB / 16.94 MB, free: 5.977 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.0009411/0.0009412, allocations: 179.4 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.477/1.477, allocations: 205.4 MB / 224 MB, free: 13.15 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.000501/0.0005011, allocations: 16.22 kB / 280.9 MB, free: 3.629 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09849/0.099, allocations: 47.58 MB / 328.4 MB, free: 3.98 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator): time 0.002894/0.102, allocations: 2.346 MB / 330.8 MB, free: 1.621 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001206/0.1032, allocations: 0.7688 MB / 331.6 MB, free: 0.8438 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001267/0.1033, allocations: 7.938 kB / 331.6 MB, free: 0.8359 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 6.396e-05/0.1034, allocations: 39.69 kB / 331.6 MB, free: 0.7969 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002278/0.1036, allocations: 123.7 kB / 331.7 MB, free: 0.6758 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002396/0.1039, allocations: 91.77 kB / 331.8 MB, free: 0.5859 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003237/0.1042, allocations: 283.2 kB / 332.1 MB, free: 316 kB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001858/0.1044, allocations: 94.08 kB / 332.2 MB, free: 224 kB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000138/0.1046, allocations: 123.5 kB / 332.3 MB, free: 100 kB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001715/0.1047, allocations: 143.4 kB / 332.4 MB, free: 15.96 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 4.799e-05/0.1048, allocations: 20 kB / 332.5 MB, free: 15.94 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.177e-05/0.1048, allocations: 16 kB / 332.5 MB, free: 15.92 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 4.972e-05/0.1049, allocations: 55.77 kB / 332.5 MB, free: 15.87 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 6.682e-05/0.105, allocations: 77.58 kB / 332.6 MB, free: 15.79 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002462/0.1052, allocations: 283.4 kB / 332.9 MB, free: 15.51 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.896e-06/0.1052, allocations: 0 / 332.9 MB, free: 15.51 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.283e-06/0.1052, allocations: 4 kB / 332.9 MB, free: 15.5 MB / 286.1 MB Notification: Performance of Transformations before backend: time 4.929e-06/0.1053, allocations: 0 / 332.9 MB, free: 15.5 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.0009127/0.1062, allocations: 0.5885 MB / 333.5 MB, free: 14.87 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.776e-05/0.1062, allocations: 12.02 kB / 333.5 MB, free: 14.86 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.818e-05/0.1063, allocations: 66.55 kB / 333.5 MB, free: 14.78 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.993e-05/0.1064, allocations: 31.62 kB / 333.6 MB, free: 14.75 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003408/0.1067, allocations: 286.2 kB / 333.9 MB, free: 14.43 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.121e-05/0.1068, allocations: 28.66 kB / 333.9 MB, free: 14.4 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.508e-05/0.1068, allocations: 28 kB / 333.9 MB, free: 14.38 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005781/0.1074, allocations: 302 kB / 334.2 MB, free: 14.07 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.338e-06/0.1074, allocations: 0 / 334.2 MB, free: 14.07 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.689e-05/0.1074, allocations: 8 kB / 334.2 MB, free: 14.07 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.546e-06/0.1075, allocations: 8 kB / 334.2 MB, free: 14.06 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006692/0.1081, allocations: 318.4 kB / 334.5 MB, free: 13.75 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001806/0.1099, allocations: 1.111 MB / 335.6 MB, free: 12.55 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008466/0.1108, allocations: 314.8 kB / 336 MB, free: 12.24 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.728e-05/0.1108, allocations: 7.938 kB / 336 MB, free: 12.23 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.867e-05/0.1109, allocations: 34.56 kB / 336 MB, free: 12.19 MB / 286.1 MB Notification: Performance of pre-optimization done (n=20): time 1.483e-06/0.1109, allocations: 0 / 336 MB, free: 12.19 MB / 286.1 MB Notification: Performance of matching and sorting (n=20): time 0.002333/0.1132, allocations: 0.8759 MB / 336.9 MB, free: 11.26 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.397e-05/0.1133, allocations: 59.41 kB / 336.9 MB, free: 11.19 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002767/0.1136, allocations: 262.7 kB / 337.2 MB, free: 10.92 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.331e-05/0.1136, allocations: 33.7 kB / 337.2 MB, free: 10.88 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001172/0.1137, allocations: 203.8 kB / 337.4 MB, free: 10.68 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.154e-05/0.1138, allocations: 67 kB / 337.5 MB, free: 10.61 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.09e-05/0.1138, allocations: 4 kB / 337.5 MB, free: 10.61 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001258/0.1139, allocations: 338.8 kB / 337.8 MB, free: 10.27 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002318/0.1142, allocations: 99.94 kB / 337.9 MB, free: 10.17 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002868/0.1145, allocations: 179 kB / 338.1 MB, free: 9.957 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002573/0.1147, allocations: 112 kB / 338.2 MB, free: 9.848 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.1148, allocations: 0 / 338.2 MB, free: 9.848 MB / 286.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001292/0.1161, allocations: 0.5494 MB / 338.7 MB, free: 9.285 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.000439/0.1165, allocations: 1.126 MB / 339.9 MB, free: 8.07 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.057e-06/0.1165, allocations: 7.953 kB / 339.9 MB, free: 8.062 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000494/0.117, allocations: 141.6 kB / 340 MB, free: 7.918 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001923/0.1172, allocations: 51.92 kB / 340.1 MB, free: 7.867 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004068/0.1213, allocations: 3.33 MB / 343.4 MB, free: 4.27 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002615/0.1216, allocations: 47.58 kB / 343.4 MB, free: 4.223 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.303e-05/0.1216, allocations: 20 kB / 343.5 MB, free: 4.203 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.048e-05/0.1217, allocations: 4 kB / 343.5 MB, free: 4.199 MB / 286.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004191/0.1221, allocations: 261.3 kB / 343.7 MB, free: 3.938 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.139e-06/0.1221, allocations: 8.031 kB / 343.7 MB, free: 3.93 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001192/0.1222, allocations: 49.69 kB / 343.8 MB, free: 3.875 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000211/0.1224, allocations: 59.91 kB / 343.8 MB, free: 3.816 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001922/0.1244, allocations: 2.836 MB / 346.7 MB, free: 0.7148 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001687/0.1246, allocations: 27.69 kB / 346.7 MB, free: 0.6875 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.429e-05/0.1246, allocations: 15.94 kB / 346.7 MB, free: 0.6719 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 (30): * Single equations (assignments): 28 * 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 4,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0002001/0.1248, allocations: 217.1 kB / 346.9 MB, free: 460 kB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.002e-05/0.1248, allocations: 27.67 kB / 347 MB, free: 432 kB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.542e-05/0.1249, allocations: 30.17 kB / 347 MB, free: 396 kB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.965e-06/0.1249, allocations: 8.062 kB / 347 MB, free: 388 kB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.875e-06/0.1249, allocations: 0 / 347 MB, free: 388 kB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/0.1249, allocations: 0 / 347 MB, free: 388 kB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003456/0.1253, allocations: 329.3 kB / 347.3 MB, free: 8 kB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/0.1253, allocations: 3.953 kB / 347.3 MB, free: 4 kB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001474/0.1254, allocations: 23.98 kB / 347.3 MB, free: 15.98 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003952/0.1259, allocations: 129.9 kB / 347.5 MB, free: 15.85 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.75e-05/0.1259, allocations: 8 kB / 347.5 MB, free: 15.84 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00375/0.1296, allocations: 3.193 MB / 350.7 MB, free: 12.39 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.1297, allocations: 0 / 350.7 MB, free: 12.39 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001285/0.131, allocations: 0.6063 MB / 351.3 MB, free: 11.76 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.868e-05/0.131, allocations: 100.9 kB / 351.4 MB, free: 11.64 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.056e-05/0.1311, allocations: 7.938 kB / 351.4 MB, free: 11.63 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002182/0.1313, allocations: 35.98 kB / 351.4 MB, free: 11.6 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.03e-05/0.1314, allocations: 24.25 kB / 351.4 MB, free: 11.57 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.309e-05/0.1314, allocations: 4 kB / 351.4 MB, free: 11.57 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001719/0.1316, allocations: 194 kB / 351.6 MB, free: 11.38 MB / 302.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.1316, allocations: 0 / 351.6 MB, free: 11.38 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0007015/0.1323, allocations: 155.6 kB / 351.8 MB, free: 11.23 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 (14): * Single equations (assignments): 12 * 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 4,1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.001556/0.1339, allocations: 1.144 MB / 352.9 MB, free: 10.05 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001307/0.1352, allocations: 0.8195 MB / 353.8 MB, free: 9.18 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.327e-06/0.1352, allocations: 3.938 kB / 353.8 MB, free: 9.176 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004581/0.1357, allocations: 357.9 kB / 354.1 MB, free: 8.801 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003528/0.136, allocations: 44.39 kB / 354.2 MB, free: 8.758 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004127/0.1402, allocations: 3.742 MB / 357.9 MB, free: 4.906 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003464/0.1405, allocations: 0.7723 MB / 358.7 MB, free: 4.109 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001398/0.1407, allocations: 30.97 kB / 358.7 MB, free: 4.078 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001187/0.1408, allocations: 83.41 kB / 358.8 MB, free: 3.996 MB / 302.1 MB Notification: Performance of SimCode: time 8.71e-07/0.1408, allocations: 0 / 358.8 MB, free: 3.996 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01968/0.1605, allocations: 6.568 MB / 365.3 MB, free: 13.43 MB / 318.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002188/0.1608, allocations: 225 kB / 365.6 MB, free: 13.19 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.88/2.041, allocations: 0 / 365.6 MB, free: 13.19 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