Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator,fileNamePrefix="Modelica_3_2_3_cpp_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_cpp_Modelica_Electrical_Analog_Examples_OpAmps_SignalGenerator",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001576/0.001576, allocations: 182 kB / 13.66 MB, free: 1.664 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.054/2.054, allocations: 205.2 MB / 219.4 MB, free: 14.28 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001122/0.001121, allocations: 90.64 kB / 267.5 MB, free: 14.11 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.551e-05/3.561e-05, allocations: 8 kB / 321.6 MB, free: 17.74 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1061/0.1062, allocations: 47.57 MB / 369.2 MB, free: 2.102 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4212/0.5275, allocations: 77.77 MB / 447 MB, free: 15.44 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003122/0.5278, allocations: 83.12 kB / 447 MB, free: 15.39 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03092/0.5588, allocations: 5.185 MB / 452.2 MB, free: 10.95 MB / 330.7 MB Notification: Performance of FrontEnd: time 3.096e-06/0.5589, allocations: 0.7656 kB / 452.2 MB, free: 10.95 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.33e-05/0.5589, allocations: 8 kB / 452.2 MB, free: 10.95 MB / 330.7 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.001984/0.5609, allocations: 0.5618 MB / 452.8 MB, free: 10.36 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.881e-05/0.561, allocations: 8.031 kB / 452.8 MB, free: 10.35 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002145/0.5612, allocations: 71.59 kB / 452.9 MB, free: 10.29 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000176/0.5614, allocations: 39.53 kB / 452.9 MB, free: 10.25 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009026/0.5624, allocations: 290.3 kB / 453.2 MB, free: 9.953 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.475e-05/0.5625, allocations: 22.16 kB / 453.2 MB, free: 9.941 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001036/0.5626, allocations: 29.31 kB / 453.2 MB, free: 9.922 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00105/0.5637, allocations: 263.5 kB / 453.5 MB, free: 9.746 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.071e-05/0.5638, allocations: 0 / 453.5 MB, free: 9.746 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.836e-05/0.5639, allocations: 13.81 kB / 453.5 MB, free: 9.742 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.167e-05/0.5639, allocations: 8 kB / 453.5 MB, free: 9.734 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009914/0.5649, allocations: 220.2 kB / 453.7 MB, free: 9.594 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004766/0.5697, allocations: 1.216 MB / 455 MB, free: 8.504 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001108/0.5709, allocations: 224.8 kB / 455.2 MB, free: 8.344 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006864/0.5716, allocations: 139 kB / 455.3 MB, free: 8.238 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.084e-05/0.5717, allocations: 11.89 kB / 455.3 MB, free: 8.227 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.213e-05/0.5718, allocations: 38.38 kB / 455.4 MB, free: 8.184 MB / 330.7 MB Notification: Performance of pre-optimization done (n=20): time 5.12e-06/0.5718, allocations: 0 / 455.4 MB, free: 8.184 MB / 330.7 MB Notification: Performance of matching and sorting (n=20): time 0.001963/0.5738, allocations: 320.8 kB / 455.7 MB, free: 7.906 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.922e-05/0.5739, allocations: 55.41 kB / 455.7 MB, free: 7.84 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005863/0.5745, allocations: 240.7 kB / 456 MB, free: 7.641 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 7.014e-05/0.5746, allocations: 29.64 kB / 456 MB, free: 7.609 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002377/0.5748, allocations: 257.4 kB / 456.2 MB, free: 7.383 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001273/0.575, allocations: 74.73 kB / 456.3 MB, free: 7.316 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.835e-05/0.575, allocations: 7.625 kB / 456.3 MB, free: 7.316 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0002141/0.5752, allocations: 326.7 kB / 456.6 MB, free: 6.992 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000285/0.5755, allocations: 63.06 kB / 456.7 MB, free: 6.953 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003911/0.576, allocations: 149.1 kB / 456.9 MB, free: 6.797 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003354/0.5763, allocations: 78.41 kB / 456.9 MB, free: 6.742 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.883e-06/0.5763, allocations: 4 kB / 456.9 MB, free: 6.738 MB / 330.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.002222/0.5786, allocations: 410.7 kB / 457.3 MB, free: 6.395 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0008384/0.5795, allocations: 1.141 MB / 458.5 MB, free: 5.188 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.401e-05/0.5796, allocations: 7.953 kB / 458.5 MB, free: 5.18 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007393/0.5803, allocations: 85.11 kB / 458.6 MB, free: 5.105 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005838/0.5809, allocations: 55.66 kB / 458.6 MB, free: 5.055 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002455/0.5834, allocations: 1.208 MB / 459.8 MB, free: 3.844 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006504/0.5841, allocations: 55.41 kB / 459.9 MB, free: 3.793 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.794e-05/0.5842, allocations: 15.56 kB / 459.9 MB, free: 3.781 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.082e-05/0.5842, allocations: 4 kB / 459.9 MB, free: 3.777 MB / 330.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009723/0.5852, allocations: 246.9 kB / 460.1 MB, free: 3.59 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.199e-05/0.5853, allocations: 4 kB / 460.1 MB, free: 3.586 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002616/0.5855, allocations: 49.25 kB / 460.2 MB, free: 3.539 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005111/0.5861, allocations: 56.23 kB / 460.2 MB, free: 3.488 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004053/0.5901, allocations: 2.688 MB / 462.9 MB, free: 0.6406 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003623/0.5906, allocations: 23.72 kB / 463 MB, free: 0.6211 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.588e-05/0.5906, allocations: 8 kB / 463 MB, free: 0.6133 MB / 330.7 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 () * 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.0002584/0.5909, allocations: 125.3 kB / 463.1 MB, free: 496 kB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001653/0.5911, allocations: 31.58 kB / 463.1 MB, free: 464 kB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001508/0.5912, allocations: 33.95 kB / 463.2 MB, free: 428 kB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.084e-05/0.5913, allocations: 4 kB / 463.2 MB, free: 424 kB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.5913, allocations: 0 / 463.2 MB, free: 424 kB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.624e-06/0.5913, allocations: 0 / 463.2 MB, free: 424 kB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003063/0.5944, allocations: 0.73 MB / 463.9 MB, free: 15.62 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.128e-05/0.5945, allocations: 4 kB / 463.9 MB, free: 15.62 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003663/0.5949, allocations: 27.98 kB / 463.9 MB, free: 15.59 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005619/0.5954, allocations: 85.58 kB / 464 MB, free: 15.5 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.61e-05/0.5955, allocations: 4 kB / 464 MB, free: 15.5 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007569/0.6031, allocations: 3.111 MB / 467.1 MB, free: 12.12 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.09e-06/0.6032, allocations: 3.938 kB / 467.1 MB, free: 12.11 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001827/0.605, allocations: 0.4893 MB / 467.6 MB, free: 11.6 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001525/0.6052, allocations: 104.7 kB / 467.7 MB, free: 11.48 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.491e-05/0.6053, allocations: 8 kB / 467.7 MB, free: 11.47 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004455/0.6057, allocations: 32.05 kB / 467.8 MB, free: 11.44 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001096/0.6059, allocations: 15.97 kB / 467.8 MB, free: 11.42 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.589e-05/0.6059, allocations: 8 kB / 467.8 MB, free: 11.41 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0003619/0.6063, allocations: 183.1 kB / 468 MB, free: 11.23 MB / 346.7 MB Notification: Performance of sort global known variables: time 6.01e-07/0.6063, allocations: 0 / 468 MB, free: 11.23 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001506/0.6078, allocations: 151.6 kB / 468.1 MB, free: 11.09 MB / 346.7 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 () * 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.002762/0.6106, allocations: 1.042 MB / 469.1 MB, free: 10.01 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.002711/0.6134, allocations: 0.6106 MB / 469.8 MB, free: 9.371 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 7.905e-06/0.6135, allocations: 0 / 469.8 MB, free: 9.371 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001572/0.6151, allocations: 406.4 kB / 470.2 MB, free: 8.949 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007296/0.6158, allocations: 56.41 kB / 470.2 MB, free: 8.895 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002123/0.618, allocations: 485.2 kB / 470.7 MB, free: 8.387 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005804/0.6186, allocations: 0.7684 MB / 471.4 MB, free: 7.59 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002458/0.6189, allocations: 87.41 kB / 471.5 MB, free: 7.504 MB / 346.7 MB Notification: Performance of SimCode: time 1.783e-06/0.6189, allocations: 4 kB / 471.5 MB, free: 7.5 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.015/3.634, allocations: 6.657 MB / 478.2 MB, free: 0.8398 MB / 346.7 MB (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator_res.mat --tempDir=temp_Modelica_3_2_3_cpp_Modelica_Electrical_Analog_Examples_OpAmps_SignalGenerator_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_cpp_Modelica_Electrical_Analog_Examples_OpAmps_SignalGenerator.fmu > Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator_res.mat does not exist to compare? outputFormat=mat