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/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.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/Complex 3.2.3+maint.om/package.mo): time 0.0009659/0.000966, allocations: 172.2 kB / 14.1 MB, free: 1.223 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.364/1.364, allocations: 205.2 MB / 219.8 MB, free: 14.26 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.0007927/0.0007927, allocations: 97.72 kB / 268 MB, free: 14.09 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.536e-05/2.547e-05, allocations: 4 kB / 322.6 MB, free: 17.24 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08597/0.08602, allocations: 47.57 MB / 370.1 MB, free: 1.598 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3166/0.4027, allocations: 79.16 MB / 449.3 MB, free: 14.14 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002651/0.403, allocations: 74.77 kB / 449.4 MB, free: 14.11 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01618/0.4192, allocations: 5.492 MB / 454.9 MB, free: 9.402 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.733e-06/0.4192, allocations: 4 kB / 454.9 MB, free: 9.398 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.923e-05/0.4193, allocations: 8 kB / 454.9 MB, free: 9.391 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: 46 * Number of variables: 46 Notification: Performance of Generate backend data structure: time 0.0009257/0.4202, allocations: 0.5551 MB / 455.4 MB, free: 8.793 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.533e-05/0.4202, allocations: 12.02 kB / 455.4 MB, free: 8.781 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.102e-05/0.4203, allocations: 53.98 kB / 455.5 MB, free: 8.73 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.95e-05/0.4204, allocations: 23.72 kB / 455.5 MB, free: 8.707 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000333/0.4207, allocations: 270 kB / 455.8 MB, free: 8.426 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.65e-05/0.4208, allocations: 20.25 kB / 455.8 MB, free: 8.414 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.395e-05/0.4208, allocations: 15.94 kB / 455.8 MB, free: 8.402 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003361/0.4212, allocations: 185.4 kB / 456 MB, free: 8.27 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.678e-06/0.4212, allocations: 0 / 456 MB, free: 8.27 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.304e-05/0.4212, allocations: 7.688 kB / 456 MB, free: 8.27 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.003e-05/0.4212, allocations: 8 kB / 456 MB, free: 8.262 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002666/0.4215, allocations: 149.2 kB / 456.2 MB, free: 8.172 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001454/0.423, allocations: 0.884 MB / 457 MB, free: 7.359 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003863/0.4234, allocations: 148.8 kB / 457.2 MB, free: 7.25 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.701e-05/0.4235, allocations: 64.08 kB / 457.2 MB, free: 7.203 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.272e-05/0.4235, allocations: 4 kB / 457.2 MB, free: 7.199 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002141/0.4237, allocations: 128.5 kB / 457.4 MB, free: 7.078 MB / 330.7 MB Notification: Performance of pre-optimization done (n=13): time 2.695e-06/0.4237, allocations: 0 / 457.4 MB, free: 7.078 MB / 330.7 MB Notification: Performance of matching and sorting (n=13): time 0.0004754/0.4242, allocations: 197.7 kB / 457.6 MB, free: 6.906 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.578e-05/0.4243, allocations: 84.97 kB / 457.6 MB, free: 6.809 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002144/0.4245, allocations: 214.7 kB / 457.9 MB, free: 6.629 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.767e-05/0.4245, allocations: 29.7 kB / 457.9 MB, free: 6.594 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.641e-05/0.4246, allocations: 163 kB / 458 MB, free: 6.457 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.533e-05/0.4247, allocations: 39.08 kB / 458.1 MB, free: 6.426 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.197e-05/0.4247, allocations: 7.875 kB / 458.1 MB, free: 6.422 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001188/0.4248, allocations: 334.5 kB / 458.4 MB, free: 6.094 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001061/0.4249, allocations: 47.38 kB / 458.5 MB, free: 6.062 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001197/0.4251, allocations: 98 kB / 458.6 MB, free: 5.965 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001171/0.4252, allocations: 92.77 kB / 458.7 MB, free: 5.891 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.4252, allocations: 0 / 458.7 MB, free: 5.891 MB / 330.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005117/0.4257, allocations: 292.2 kB / 458.9 MB, free: 5.637 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000284/0.426, allocations: 0.6344 MB / 459.6 MB, free: 4.961 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.508e-06/0.426, allocations: 11.92 kB / 459.6 MB, free: 4.949 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000174/0.4262, allocations: 38.97 kB / 459.6 MB, free: 4.914 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002321/0.4265, allocations: 51.02 kB / 459.7 MB, free: 4.867 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003878/0.4269, allocations: 0.5556 MB / 460.2 MB, free: 4.301 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002686/0.4271, allocations: 46.12 kB / 460.3 MB, free: 4.258 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.399e-05/0.4272, allocations: 11.62 kB / 460.3 MB, free: 4.25 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.176e-06/0.4272, allocations: 4 kB / 460.3 MB, free: 4.246 MB / 330.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003477/0.4275, allocations: 206.5 kB / 460.5 MB, free: 4.035 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.998e-06/0.4276, allocations: 4 kB / 460.5 MB, free: 4.031 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.01e-05/0.4276, allocations: 24.84 kB / 460.5 MB, free: 4.004 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002193/0.4278, allocations: 47.95 kB / 460.6 MB, free: 3.957 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001036/0.4289, allocations: 1.385 MB / 461.9 MB, free: 2.438 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000235/0.4291, allocations: 47.94 kB / 462 MB, free: 2.391 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.628e-05/0.4292, allocations: 7.984 kB / 462 MB, free: 2.383 MB / 330.7 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 () * 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.0001081/0.4293, allocations: 117 kB / 462.1 MB, free: 2.262 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.609e-05/0.4293, allocations: 23.67 kB / 462.1 MB, free: 2.238 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.764e-05/0.4294, allocations: 25.89 kB / 462.2 MB, free: 2.211 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.845e-06/0.4294, allocations: 4 kB / 462.2 MB, free: 2.207 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.874e-06/0.4294, allocations: 0 / 462.2 MB, free: 2.207 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.537e-06/0.4294, allocations: 0 / 462.2 MB, free: 2.207 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002763/0.4297, allocations: 281.5 kB / 462.4 MB, free: 1.883 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.4297, allocations: 4 kB / 462.4 MB, free: 1.879 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002055/0.4299, allocations: 43.89 kB / 462.5 MB, free: 1.836 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.289e-05/0.43, allocations: 32.8 kB / 462.5 MB, free: 1.801 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.638e-05/0.43, allocations: 4 kB / 462.5 MB, free: 1.797 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001076/0.4311, allocations: 1.362 MB / 463.9 MB, free: 312 kB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.966e-06/0.4311, allocations: 4.031 kB / 463.9 MB, free: 308 kB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005076/0.4316, allocations: 281.9 kB / 464.2 MB, free: 4 kB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.778e-05/0.4317, allocations: 100.9 kB / 464.3 MB, free: 15.88 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.829e-05/0.4318, allocations: 3.938 kB / 464.3 MB, free: 15.88 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002208/0.432, allocations: 35.97 kB / 464.3 MB, free: 15.85 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.241e-05/0.4321, allocations: 19.97 kB / 464.3 MB, free: 15.83 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.389e-05/0.4321, allocations: 8.062 kB / 464.3 MB, free: 15.82 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001651/0.4323, allocations: 169.4 kB / 464.5 MB, free: 15.65 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.61e-07/0.4323, allocations: 0 / 464.5 MB, free: 15.65 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004203/0.4327, allocations: 111.7 kB / 464.6 MB, free: 15.54 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: 3 ($whenCondition1,vIn.signalSource.T_start,vIn.signalSource.count) * Number of discrete states: 1 (vIn.signalSource.count) * 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.0008835/0.4336, allocations: 0.8317 MB / 465.4 MB, free: 14.68 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0006873/0.4343, allocations: 454.9 kB / 465.9 MB, free: 14.2 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.4343, allocations: 0 / 465.9 MB, free: 14.2 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002275/0.4346, allocations: 186.5 kB / 466.1 MB, free: 14 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002557/0.4348, allocations: 39.88 kB / 466.1 MB, free: 13.97 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008411/0.4357, allocations: 386 kB / 466.5 MB, free: 13.55 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002924/0.436, allocations: 0.7524 MB / 467.2 MB, free: 12.77 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0001538/0.4361, allocations: 30.06 kB / 467.3 MB, free: 12.74 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001042/0.4363, allocations: 65.28 kB / 467.3 MB, free: 12.68 MB / 346.7 MB Notification: Performance of SimCode: time 4.91e-07/0.4363, allocations: 0 / 467.3 MB, free: 12.68 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01771/0.454, allocations: 5.336 MB / 472.7 MB, free: 7.336 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002086/0.4542, allocations: 194.2 kB / 472.9 MB, free: 7.105 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.748/2.202, allocations: 4 kB / 472.9 MB, free: 7.102 MB / 346.7 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) 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