Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp.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.NonInvertingAmp,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Analog_Examples_OpAmps_NonInvertingAmp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Analog_Examples_OpAmps_NonInvertingAmp",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.001206/0.001206, allocations: 177.7 kB / 8.697 MB, free: 388 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.55/1.55, allocations: 205.3 MB / 214.4 MB, free: 1.668 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001139/0.001139, allocations: 83.97 kB / 262.4 MB, free: 1.621 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.372e-05/2.379e-05, allocations: 4 kB / 315.6 MB, free: 22.61 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1008/0.1009, allocations: 47.58 MB / 363.2 MB, free: 6.969 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3578/0.4587, allocations: 78.6 MB / 441.8 MB, free: 1.066 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002094/0.4589, allocations: 75.2 kB / 441.8 MB, free: 1.027 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01609/0.475, allocations: 5.621 MB / 447.5 MB, free: 12.27 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.313e-06/0.4751, allocations: 0 / 447.5 MB, free: 12.27 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.586e-05/0.4751, allocations: 4 kB / 447.5 MB, free: 12.27 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: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.0009513/0.4761, allocations: 0.5804 MB / 448.1 MB, free: 11.66 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.639e-05/0.4761, allocations: 12.03 kB / 448.1 MB, free: 11.64 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.458e-05/0.4762, allocations: 23.72 kB / 448.1 MB, free: 11.62 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000377/0.4766, allocations: 267.3 kB / 448.4 MB, free: 11.34 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.889e-05/0.4766, allocations: 7.953 kB / 448.4 MB, free: 11.34 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.296e-05/0.4767, allocations: 12 kB / 448.4 MB, free: 11.32 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002896/0.477, allocations: 159.5 kB / 448.5 MB, free: 11.23 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003061/0.4773, allocations: 168.4 kB / 448.7 MB, free: 11.1 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.478e-06/0.4773, allocations: 0 / 448.7 MB, free: 11.1 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.544e-05/0.4773, allocations: 4 kB / 448.7 MB, free: 11.09 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.296e-06/0.4773, allocations: 4 kB / 448.7 MB, free: 11.09 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001591/0.4789, allocations: 0.8833 MB / 449.6 MB, free: 10.29 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003327/0.4793, allocations: 143 kB / 449.7 MB, free: 10.18 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.06e-05/0.4794, allocations: 58.73 kB / 449.8 MB, free: 10.14 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.894e-05/0.4794, allocations: 4 kB / 449.8 MB, free: 10.14 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002273/0.4797, allocations: 138.3 kB / 449.9 MB, free: 10.01 MB / 330.7 MB Notification: Performance of pre-optimization done (n=14): time 1.373e-06/0.4797, allocations: 0 / 449.9 MB, free: 10.01 MB / 330.7 MB Notification: Performance of matching and sorting (n=14): time 0.0005297/0.4802, allocations: 212.2 kB / 450.1 MB, free: 9.824 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.633e-05/0.4803, allocations: 109.9 kB / 450.2 MB, free: 9.695 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002196/0.4805, allocations: 213.4 kB / 450.4 MB, free: 9.52 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.68e-05/0.4805, allocations: 25.7 kB / 450.5 MB, free: 9.488 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001058/0.4807, allocations: 187.8 kB / 450.6 MB, free: 9.332 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.092e-05/0.4807, allocations: 41.33 kB / 450.7 MB, free: 9.297 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.17e-05/0.4807, allocations: 0 / 450.7 MB, free: 9.297 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001231/0.4808, allocations: 337.3 kB / 451 MB, free: 8.965 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.659e-05/0.4809, allocations: 51 kB / 451.1 MB, free: 8.938 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001347/0.4811, allocations: 116 kB / 451.2 MB, free: 8.816 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001012/0.4812, allocations: 60.83 kB / 451.2 MB, free: 8.777 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.987e-06/0.4812, allocations: 4 kB / 451.2 MB, free: 8.773 MB / 330.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0005548/0.4818, allocations: 280.3 kB / 451.5 MB, free: 8.543 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003579/0.4821, allocations: 0.8138 MB / 452.3 MB, free: 7.676 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.558e-06/0.4822, allocations: 4 kB / 452.3 MB, free: 7.672 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002257/0.4824, allocations: 51.64 kB / 452.4 MB, free: 7.629 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002029/0.4826, allocations: 47.91 kB / 452.4 MB, free: 7.582 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004108/0.483, allocations: 0.5835 MB / 453 MB, free: 7.004 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003106/0.4833, allocations: 55.81 kB / 453.1 MB, free: 6.949 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.565e-05/0.4834, allocations: 11.98 kB / 453.1 MB, free: 6.938 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.077e-06/0.4834, allocations: 4 kB / 453.1 MB, free: 6.934 MB / 330.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003307/0.4837, allocations: 189.8 kB / 453.3 MB, free: 6.793 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/0.4837, allocations: 7.984 kB / 453.3 MB, free: 6.785 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.558e-05/0.4838, allocations: 39.8 kB / 453.3 MB, free: 6.75 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002063/0.4841, allocations: 51.72 kB / 453.4 MB, free: 6.703 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00115/0.4852, allocations: 1.478 MB / 454.8 MB, free: 5.223 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002651/0.4855, allocations: 39.81 kB / 454.9 MB, free: 5.184 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.747e-05/0.4855, allocations: 15.38 kB / 454.9 MB, free: 5.172 MB / 330.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: opAmp.simplifiedExpr:VARIABLE(unit = "V" protected = true ) "Simplified expression for homotopy-based initialization" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 5} Notification: Performance of prepare postOptimizeDAE: time 0.0001369/0.4857, allocations: 112.9 kB / 455 MB, free: 5.055 MB / 330.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0003913/0.4861, allocations: 204.2 kB / 455.2 MB, free: 4.879 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.625e-05/0.4861, allocations: 23.72 kB / 455.2 MB, free: 4.855 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.909e-05/0.4862, allocations: 35.97 kB / 455.3 MB, free: 4.828 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.718e-06/0.4862, allocations: 8 kB / 455.3 MB, free: 4.82 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.001e-06/0.4862, allocations: 0 / 455.3 MB, free: 4.82 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/0.4862, allocations: 0 / 455.3 MB, free: 4.82 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002542/0.4865, allocations: 258.1 kB / 455.5 MB, free: 4.57 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.273e-06/0.4865, allocations: 0 / 455.5 MB, free: 4.57 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001541/0.4866, allocations: 31.91 kB / 455.6 MB, free: 4.539 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001241/0.4868, allocations: 51.12 kB / 455.6 MB, free: 4.496 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.285e-05/0.4868, allocations: 4 kB / 455.6 MB, free: 4.492 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001322/0.4881, allocations: 1.545 MB / 457.2 MB, free: 2.957 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.057e-06/0.4881, allocations: 3.938 kB / 457.2 MB, free: 2.953 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000417/0.4886, allocations: 234.7 kB / 457.4 MB, free: 2.738 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.169e-05/0.4886, allocations: 104.2 kB / 457.5 MB, free: 2.621 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.359e-05/0.4887, allocations: 4 kB / 457.5 MB, free: 2.617 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002419/0.4889, allocations: 35.97 kB / 457.5 MB, free: 2.582 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.497e-05/0.489, allocations: 26.58 kB / 457.6 MB, free: 2.562 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.263e-05/0.4891, allocations: 4 kB / 457.6 MB, free: 2.559 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001609/0.4892, allocations: 172.5 kB / 457.7 MB, free: 2.426 MB / 330.7 MB Notification: Performance of sort global known variables: time 2.7e-07/0.4892, allocations: 0 / 457.7 MB, free: 2.426 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0005186/0.4898, allocations: 111.7 kB / 457.8 MB, free: 2.316 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * 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 (9): * Single equations (assignments): 6 * 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 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.0007433/0.4905, allocations: 0.7771 MB / 458.6 MB, free: 1.543 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0006584/0.4912, allocations: 478.9 kB / 459.1 MB, free: 1.125 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.4912, allocations: 4.188 kB / 459.1 MB, free: 1.121 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002292/0.4914, allocations: 186.8 kB / 459.3 MB, free: 0.9531 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002528/0.4917, allocations: 37 kB / 459.3 MB, free: 0.9258 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001884/0.4936, allocations: 0.6728 MB / 460 MB, free: 244 kB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003095/0.4939, allocations: 0.7567 MB / 460.7 MB, free: 15.46 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0001696/0.4941, allocations: 30.06 kB / 460.8 MB, free: 15.43 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.753e-05/0.4942, allocations: 66.05 kB / 460.8 MB, free: 15.41 MB / 346.7 MB Notification: Performance of SimCode: time 3.5e-07/0.4942, allocations: 0 / 460.8 MB, free: 15.41 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02512/0.5193, allocations: 5.201 MB / 466 MB, free: 10.21 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002072/0.5196, allocations: 153 kB / 466.2 MB, free: 10.01 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.912/2.432, allocations: 0 / 466.2 MB, free: 10.01 MB / 346.7 MB (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_Analog_Examples_OpAmps_NonInvertingAmp_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_Analog_Examples_OpAmps_NonInvertingAmp.fmu > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp_res.mat does not exist to compare? outputFormat=mat