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.001061/0.001061, allocations: 197.2 kB / 14.16 MB, free: 1.16 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.314/1.314, allocations: 225.4 MB / 240.1 MB, free: 15.13 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008393/0.0008392, allocations: 89 kB / 292.1 MB, free: 5.93 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.27e-05/3.293e-05, allocations: 4 kB / 350.6 MB, free: 2.441 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1075/0.1076, allocations: 51.49 MB / 402.1 MB, free: 14.91 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3241/0.4317, allocations: 84.73 MB / 486.9 MB, free: 4.805 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001959/0.4319, allocations: 80.45 kB / 486.9 MB, free: 4.762 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05884/0.4908, allocations: 24.05 MB / 0.499 GB, free: 14.27 MB / 378.7 MB Notification: Performance of FrontEnd: time 4.849e-06/0.4908, allocations: 0 / 0.499 GB, free: 14.27 MB / 378.7 MB Notification: Performance of Transformations before backend: time 7.85e-05/0.4909, allocations: 43.92 kB / 0.4991 GB, free: 14.23 MB / 378.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.002681/0.4936, allocations: 1.405 MB / 0.5004 GB, free: 12.79 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.062e-05/0.4937, allocations: 12.03 kB / 0.5004 GB, free: 12.77 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002339/0.4939, allocations: 177.8 kB / 0.5006 GB, free: 12.59 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002427/0.4942, allocations: 157.7 kB / 0.5008 GB, free: 12.44 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00109/0.4953, allocations: 0.7235 MB / 0.5015 GB, free: 11.67 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.98e-05/0.4954, allocations: 86.45 kB / 0.5016 GB, free: 11.59 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001626/0.4955, allocations: 124 kB / 0.5017 GB, free: 11.46 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001951/0.4975, allocations: 1.184 MB / 0.5028 GB, free: 10.23 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.353e-05/0.4975, allocations: 0 / 0.5028 GB, free: 10.23 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001068/0.4976, allocations: 52 kB / 0.5029 GB, free: 10.18 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.543e-05/0.4977, allocations: 33.73 kB / 0.5029 GB, free: 10.15 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001527/0.4992, allocations: 0.9072 MB / 0.5038 GB, free: 9.234 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007766/0.507, allocations: 5.103 MB / 0.5088 GB, free: 3.898 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001291/0.5083, allocations: 0.9544 MB / 0.5097 GB, free: 2.879 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006494/0.509, allocations: 438.6 kB / 0.5101 GB, free: 2.445 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.375e-05/0.509, allocations: 12.78 kB / 0.5101 GB, free: 2.434 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.269e-05/0.5091, allocations: 51.33 kB / 0.5102 GB, free: 2.375 MB / 378.7 MB Notification: Performance of pre-optimization done (n=79): time 2.756e-06/0.5091, allocations: 7.938 kB / 0.5102 GB, free: 2.367 MB / 378.7 MB Notification: Performance of matching and sorting (n=79): time 0.002599/0.5117, allocations: 1.085 MB / 0.5113 GB, free: 1.254 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.254e-05/0.5117, allocations: 85.89 kB / 0.5113 GB, free: 1.152 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008993/0.5126, allocations: 0.7036 MB / 0.512 GB, free: 448 kB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 6.061e-05/0.5127, allocations: 41.7 kB / 0.5121 GB, free: 400 kB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004534/0.5132, allocations: 0.592 MB / 0.5126 GB, free: 15.79 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002187/0.5134, allocations: 280 kB / 0.5129 GB, free: 15.51 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.333e-05/0.5135, allocations: 20 kB / 0.5129 GB, free: 15.49 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001463/0.5136, allocations: 341.9 kB / 0.5133 GB, free: 15.15 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004511/0.5141, allocations: 266.6 kB / 0.5135 GB, free: 14.89 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006348/0.5147, allocations: 0.4927 MB / 0.514 GB, free: 14.3 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005793/0.5153, allocations: 342.6 kB / 0.5143 GB, free: 13.97 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.691e-06/0.5153, allocations: 4.656 kB / 0.5143 GB, free: 13.97 MB / 394.7 MB Notification: Performance of matching and sorting (n=127) (initialization): time 0.00208/0.5174, allocations: 1.148 MB / 0.5154 GB, free: 12.8 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.653e-05/0.5174, allocations: 11.98 kB / 0.5155 GB, free: 12.79 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.227e-05/0.5175, allocations: 4 kB / 0.5155 GB, free: 12.79 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004829/0.5179, allocations: 166.7 kB / 0.5156 GB, free: 12.61 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003804/0.5218, allocations: 0.9326 MB / 0.5165 GB, free: 11.68 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009146/0.5309, allocations: 9.345 MB / 0.5257 GB, free: 1.547 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001128/0.5321, allocations: 158.8 kB / 0.5258 GB, free: 1.391 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.763e-05/0.5322, allocations: 40 kB / 0.5258 GB, free: 1.352 MB / 394.7 MB 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.000255/0.5324, allocations: 164.6 kB / 0.526 GB, free: 1.184 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001698/0.5326, allocations: 102.8 kB / 0.5261 GB, free: 1.082 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002567/0.5329, allocations: 108.9 kB / 0.5262 GB, free: 0.9648 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.352e-06/0.5329, allocations: 8 kB / 0.5262 GB, free: 0.957 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.918e-06/0.5329, allocations: 0 / 0.5262 GB, free: 0.957 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.626e-06/0.5329, allocations: 3.984 kB / 0.5262 GB, free: 0.9531 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004115/0.537, allocations: 2.233 MB / 0.5284 GB, free: 14.64 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.178e-06/0.537, allocations: 0 / 0.5284 GB, free: 14.64 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005279/0.5376, allocations: 131.9 kB / 0.5285 GB, free: 14.51 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005924/0.5382, allocations: 271.1 kB / 0.5288 GB, free: 14.23 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.693e-05/0.5382, allocations: 16 kB / 0.5288 GB, free: 14.21 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008027/0.5463, allocations: 9.239 MB / 0.5378 GB, free: 4.18 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.048e-06/0.5463, allocations: 4.031 kB / 0.5378 GB, free: 4.176 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003155/0.5495, allocations: 1.646 MB / 0.5394 GB, free: 2.473 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002806/0.5498, allocations: 183.8 kB / 0.5396 GB, free: 2.273 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001028/0.5499, allocations: 19.94 kB / 0.5396 GB, free: 2.254 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008019/0.5507, allocations: 115.9 kB / 0.5397 GB, free: 2.141 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001365/0.5508, allocations: 64.47 kB / 0.5398 GB, free: 2.074 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.729e-05/0.5509, allocations: 21.78 kB / 0.5398 GB, free: 2.055 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0007687/0.5517, allocations: 0.5421 MB / 0.5403 GB, free: 1.52 MB / 410.7 MB Notification: Performance of sort global known variables: time 5.61e-07/0.5517, allocations: 8 kB / 0.5404 GB, free: 1.512 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001449/0.5531, allocations: 359 kB / 0.5407 GB, free: 1.16 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.003467/0.5566, allocations: 2.418 MB / 0.5431 GB, free: 14.68 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.004871/0.5615, allocations: 1.819 MB / 0.5448 GB, free: 12.82 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.248e-06/0.5615, allocations: 0 / 0.5448 GB, free: 12.82 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00113/0.5626, allocations: 1.054 MB / 0.5459 GB, free: 11.69 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008671/0.5635, allocations: 179.8 kB / 0.546 GB, free: 11.52 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004759/0.5683, allocations: 2.115 MB / 0.5481 GB, free: 9.348 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006169/0.5689, allocations: 1.101 MB / 0.5492 GB, free: 8.223 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0004214/0.5694, allocations: 103.6 kB / 0.5493 GB, free: 8.117 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004915/0.5699, allocations: 435.3 kB / 0.5497 GB, free: 7.691 MB / 426.7 MB Notification: Performance of SimCode: time 4.81e-07/0.5699, allocations: 0.5625 kB / 0.5497 GB, free: 7.691 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03953/0.6094, allocations: 21.69 MB / 0.5709 GB, free: 2.379 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001607/0.6096, allocations: 194 kB / 0.5711 GB, free: 2.156 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.53/3.139, allocations: 4 kB / 0.5711 GB, free: 2.152 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