Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_OpAmps_ControlCircuit",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_OpAmps_ControlCircuit",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001452/0.001452, allocations: 200.6 kB / 8.767 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.592/1.592, allocations: 225.6 MB / 234.8 MB, free: 3.273 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008896/0.0008896, allocations: 97.89 kB / 286.7 MB, free: 5.242 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.515e-05/2.495e-05, allocations: 4 kB / 343.8 MB, free: 8.191 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1095/0.1096, allocations: 51.48 MB / 395.3 MB, free: 4.668 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3664/0.476, allocations: 84.07 MB / 479.4 MB, free: 9.137 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002401/0.4763, allocations: 76.89 kB / 479.4 MB, free: 9.098 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05626/0.5326, allocations: 23.78 MB / 0.4914 GB, free: 5.34 MB / 362.7 MB Notification: Performance of FrontEnd: time 3.807e-06/0.5326, allocations: 2.719 kB / 0.4914 GB, free: 5.34 MB / 362.7 MB Notification: Performance of Transformations before backend: time 7.883e-05/0.5327, allocations: 43.86 kB / 0.4915 GB, free: 5.297 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 311 * Number of variables: 311 Notification: Performance of Generate backend data structure: time 0.002632/0.5353, allocations: 1.404 MB / 0.4928 GB, free: 3.93 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.369e-05/0.5354, allocations: 12.03 kB / 0.4928 GB, free: 3.918 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000242/0.5356, allocations: 153.7 kB / 0.493 GB, free: 3.77 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009965/0.5366, allocations: 0.7238 MB / 0.4937 GB, free: 3.168 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.143e-05/0.5367, allocations: 40 kB / 0.4937 GB, free: 3.129 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001339/0.5368, allocations: 68 kB / 0.4938 GB, free: 3.062 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00139/0.5382, allocations: 0.8321 MB / 0.4946 GB, free: 2.574 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001604/0.5399, allocations: 1.002 MB / 0.4956 GB, free: 1.832 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.339e-05/0.5399, allocations: 4 kB / 0.4956 GB, free: 1.828 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.112e-05/0.54, allocations: 3.953 kB / 0.4956 GB, free: 1.824 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.564e-05/0.54, allocations: 28 kB / 0.4956 GB, free: 1.797 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007668/0.5477, allocations: 4.895 MB / 0.5004 GB, free: 12.9 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00113/0.5488, allocations: 0.921 MB / 0.5013 GB, free: 11.91 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00062/0.5495, allocations: 410.6 kB / 0.5017 GB, free: 11.51 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.226e-05/0.5495, allocations: 12.78 kB / 0.5017 GB, free: 11.5 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.294e-05/0.5496, allocations: 55.27 kB / 0.5018 GB, free: 11.43 MB / 378.7 MB Notification: Performance of pre-optimization done (n=79): time 4.007e-06/0.5496, allocations: 0 / 0.5018 GB, free: 11.43 MB / 378.7 MB Notification: Performance of matching and sorting (n=79): time 0.002505/0.5521, allocations: 1.015 MB / 0.5028 GB, free: 10.39 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.46e-05/0.5522, allocations: 93.84 kB / 0.5028 GB, free: 10.28 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00077/0.5529, allocations: 0.6016 MB / 0.5034 GB, free: 9.676 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.779e-05/0.553, allocations: 33.7 kB / 0.5035 GB, free: 9.637 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004045/0.5534, allocations: 0.6035 MB / 0.5041 GB, free: 9.023 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002245/0.5536, allocations: 272 kB / 0.5043 GB, free: 8.754 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.554e-05/0.5537, allocations: 0 / 0.5043 GB, free: 8.754 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002003/0.5539, allocations: 402.7 kB / 0.5047 GB, free: 8.352 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003997/0.5543, allocations: 242.6 kB / 0.5049 GB, free: 8.113 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000542/0.5549, allocations: 473.8 kB / 0.5054 GB, free: 7.559 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004809/0.5553, allocations: 318.2 kB / 0.5057 GB, free: 7.25 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.007e-06/0.5554, allocations: 0 / 0.5057 GB, free: 7.25 MB / 378.7 MB Notification: Performance of matching and sorting (n=127) (initialization): time 0.001956/0.5573, allocations: 1.041 MB / 0.5067 GB, free: 6.195 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.061e-05/0.5573, allocations: 8 kB / 0.5067 GB, free: 6.188 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.031e-05/0.5574, allocations: 4 kB / 0.5067 GB, free: 6.184 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004354/0.5578, allocations: 162.7 kB / 0.5069 GB, free: 6.016 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003836/0.5617, allocations: 0.9365 MB / 0.5078 GB, free: 5.078 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008429/0.5701, allocations: 8.92 MB / 0.5165 GB, free: 11.47 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001183/0.5713, allocations: 127 kB / 0.5166 GB, free: 11.35 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.847e-05/0.5714, allocations: 36 kB / 0.5166 GB, free: 11.31 MB / 394.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: feedbackA.opAmp.v_in:VARIABLE(unit = "V" ) "Input voltage difference" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: addA.opAmp.v_in:VARIABLE(unit = "V" ) "Input voltage difference" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (113): * Single equations (assignments): 107 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 3 {1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 2 {1 7,1 5} Notification: Performance of prepare postOptimizeDAE: time 0.0003164/0.5717, allocations: 142.3 kB / 0.5168 GB, free: 11.17 MB / 394.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002357/0.5741, allocations: 1.015 MB / 0.5178 GB, free: 10.13 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001618/0.5743, allocations: 90.88 kB / 0.5179 GB, free: 10.04 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002271/0.5745, allocations: 98.28 kB / 0.518 GB, free: 9.941 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.585e-06/0.5745, allocations: 8 kB / 0.518 GB, free: 9.934 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.307e-06/0.5745, allocations: 0 / 0.518 GB, free: 9.934 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.588e-06/0.5745, allocations: 3.984 kB / 0.518 GB, free: 9.93 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004021/0.5786, allocations: 2.034 MB / 0.52 GB, free: 7.824 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.907e-06/0.5786, allocations: 7.953 kB / 0.52 GB, free: 7.816 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005542/0.5791, allocations: 119.9 kB / 0.5201 GB, free: 7.699 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006145/0.5798, allocations: 269 kB / 0.5203 GB, free: 7.418 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.007e-05/0.5798, allocations: 4 kB / 0.5203 GB, free: 7.414 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008558/0.5884, allocations: 8.91 MB / 0.529 GB, free: 13.82 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.046e-05/0.5885, allocations: 4.031 kB / 0.529 GB, free: 13.81 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003594/0.5921, allocations: 1.576 MB / 0.5306 GB, free: 12.18 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004703/0.5926, allocations: 175.9 kB / 0.5307 GB, free: 11.98 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001044/0.5927, allocations: 8 kB / 0.5308 GB, free: 11.98 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008796/0.5936, allocations: 111.8 kB / 0.5309 GB, free: 11.87 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001843/0.5938, allocations: 64.47 kB / 0.5309 GB, free: 11.8 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.236e-05/0.5938, allocations: 24 kB / 0.5309 GB, free: 11.78 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0007716/0.5946, allocations: 467.1 kB / 0.5314 GB, free: 11.33 MB / 410.7 MB Notification: Performance of sort global known variables: time 6.21e-07/0.5946, allocations: 1.781 kB / 0.5314 GB, free: 11.33 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001934/0.5966, allocations: 330.8 kB / 0.5317 GB, free: 11 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 6 (PIA.c.v,firstOrder1A.c.v,firstOrder2A.c.v,PIB.x,firstOrder1B.y,firstOrder2B.y) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (58): * Single equations (assignments): 52 * 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: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 5 {1 5,1 5,1 1,1 7,1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.003741/0.6003, allocations: 2.328 MB / 0.534 GB, free: 8.605 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.004567/0.6049, allocations: 1.676 MB / 0.5356 GB, free: 6.902 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 9.277e-06/0.6049, allocations: 4 kB / 0.5356 GB, free: 6.898 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001195/0.6061, allocations: 0.986 MB / 0.5366 GB, free: 5.852 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009921/0.6071, allocations: 142.6 kB / 0.5367 GB, free: 5.723 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004952/0.6121, allocations: 2.03 MB / 0.5387 GB, free: 3.637 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006047/0.6127, allocations: 1.097 MB / 0.5398 GB, free: 2.516 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0004202/0.6132, allocations: 94.95 kB / 0.5399 GB, free: 2.418 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004825/0.6137, allocations: 435.3 kB / 0.5403 GB, free: 1.996 MB / 410.7 MB Notification: Performance of SimCode: time 9.82e-07/0.6137, allocations: 0 / 0.5403 GB, free: 1.996 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04209/0.6558, allocations: 19.37 MB / 0.5592 GB, free: 14.79 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001719/0.656, allocations: 154.7 kB / 0.5593 GB, free: 14.59 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.582/3.238, allocations: 0 / 0.5593 GB, free: 14.59 MB / 442.7 MB (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_Analog_Examples_OpAmps_ControlCircuit_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_Analog_Examples_OpAmps_ControlCircuit.fmu > Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit_res.mat does not exist to compare? outputFormat=mat