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.0009848/0.0009849, allocations: 202.7 kB / 17.08 MB, free: 5.062 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.21/1.21, allocations: 227.2 MB / 245 MB, free: 7.598 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007996/0.0007996, allocations: 98.14 kB / 297.3 MB, free: 6.16 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0001964/0.0001964, allocations: 8 kB / 358 MB, free: 9.41 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1737/0.1739, allocations: 51.48 MB / 409.5 MB, free: 26.69 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08916/0.2631, allocations: 84.8 MB / 494.3 MB, free: 5.77 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002115/0.2634, allocations: 79.95 kB / 494.4 MB, free: 5.691 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2064/0.4698, allocations: 24.02 MB / 0.5063 GB, free: 86.32 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.054e-06/0.4699, allocations: 0.5312 kB / 0.5063 GB, free: 86.32 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.75e-05/0.4699, allocations: 31.72 kB / 0.5063 GB, free: 86.31 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.002392/0.4723, allocations: 1.529 MB / 0.5078 GB, free: 85.57 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.411e-05/0.4724, allocations: 9.625 kB / 0.5078 GB, free: 85.57 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000182/0.4726, allocations: 185.7 kB / 0.508 GB, free: 85.53 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001945/0.4728, allocations: 156.5 kB / 0.5081 GB, free: 85.45 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008834/0.4737, allocations: 0.7294 MB / 0.5088 GB, free: 85.14 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.921e-05/0.4737, allocations: 92.73 kB / 0.5089 GB, free: 85.13 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001393/0.4739, allocations: 122.8 kB / 0.509 GB, free: 85.13 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002338/0.4762, allocations: 1.31 MB / 0.5103 GB, free: 84.99 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.005e-05/0.4763, allocations: 1.75 kB / 0.5103 GB, free: 84.99 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001276/0.4764, allocations: 53.75 kB / 0.5104 GB, free: 84.99 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.859e-05/0.4765, allocations: 30.56 kB / 0.5104 GB, free: 84.99 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002591/0.479, allocations: 1.148 MB / 0.5115 GB, free: 84.97 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006745/0.4858, allocations: 5.113 MB / 0.5165 GB, free: 83.07 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001929/0.4877, allocations: 1.253 MB / 0.5177 GB, free: 82.46 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.466e-05/0.4878, allocations: 11.28 kB / 0.5178 GB, free: 82.46 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.17e-05/0.4878, allocations: 50.02 kB / 0.5178 GB, free: 82.42 MB / 378.7 MB Notification: Performance of pre-optimization done (n=79): time 2.645e-06/0.4878, allocations: 4 kB / 0.5178 GB, free: 82.41 MB / 378.7 MB Notification: Performance of matching and sorting (n=79): time 0.007066/0.4949, allocations: 3.148 MB / 0.5209 GB, free: 81.28 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.682e-05/0.495, allocations: 92.39 kB / 0.521 GB, free: 81.18 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000691/0.4957, allocations: 0.717 MB / 0.5217 GB, free: 80.86 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.469e-05/0.4957, allocations: 37.64 kB / 0.5217 GB, free: 80.82 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002294/0.4959, allocations: 0.593 MB / 0.5223 GB, free: 80.35 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001289/0.4961, allocations: 277.7 kB / 0.5225 GB, free: 80.14 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.766e-05/0.4961, allocations: 21.06 kB / 0.5226 GB, free: 80.12 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.696e-05/0.4962, allocations: 346 kB / 0.5229 GB, free: 79.8 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007398/0.4969, allocations: 391 kB / 0.5233 GB, free: 79.68 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008008/0.4977, allocations: 0.6135 MB / 0.5239 GB, free: 79.28 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007752/0.4985, allocations: 459.2 kB / 0.5243 GB, free: 79.1 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.697e-06/0.4985, allocations: 3.875 kB / 0.5243 GB, free: 79.1 MB / 378.7 MB Notification: Performance of matching and sorting (n=127) (initialization): time 0.002502/0.501, allocations: 1.419 MB / 0.5257 GB, free: 78.62 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.831e-05/0.5011, allocations: 11.19 kB / 0.5257 GB, free: 78.62 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.817e-06/0.5011, allocations: 3.969 kB / 0.5257 GB, free: 78.62 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000661/0.5018, allocations: 243 kB / 0.5259 GB, free: 78.54 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003145/0.5049, allocations: 0.9418 MB / 0.5269 GB, free: 78.49 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009608/0.5145, allocations: 10.35 MB / 0.537 GB, free: 68.58 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008633/0.5154, allocations: 157.1 kB / 0.5371 GB, free: 68.44 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.218e-05/0.5155, allocations: 39.94 kB / 0.5372 GB, free: 68.4 MB / 378.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 () * Number of clocked 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.0004101/0.5159, allocations: 285.5 kB / 0.5374 GB, free: 68.11 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001363/0.516, allocations: 106.3 kB / 0.5375 GB, free: 68.01 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001607/0.5162, allocations: 111.1 kB / 0.5376 GB, free: 67.91 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.989e-06/0.5162, allocations: 8 kB / 0.5376 GB, free: 67.9 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.913e-06/0.5162, allocations: 0 / 0.5376 GB, free: 67.9 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.762e-06/0.5162, allocations: 3.75 kB / 0.5376 GB, free: 67.9 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004151/0.5204, allocations: 2.532 MB / 0.5401 GB, free: 65.79 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.338e-06/0.5204, allocations: 0 / 0.5401 GB, free: 65.79 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005124/0.5209, allocations: 131.2 kB / 0.5402 GB, free: 65.68 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001139/0.5221, allocations: 436.9 kB / 0.5407 GB, free: 65.3 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.403e-05/0.5221, allocations: 21.77 kB / 0.5407 GB, free: 65.29 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008879/0.531, allocations: 10.28 MB / 0.5507 GB, free: 54.82 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/0.531, allocations: 3.938 kB / 0.5507 GB, free: 54.81 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00374/0.5348, allocations: 2.086 MB / 0.5528 GB, free: 52.91 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001947/0.535, allocations: 182.9 kB / 0.5529 GB, free: 52.72 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001131/0.5351, allocations: 15.95 kB / 0.553 GB, free: 52.71 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007047/0.5358, allocations: 120.1 kB / 0.5531 GB, free: 52.61 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001202/0.536, allocations: 63.98 kB / 0.5531 GB, free: 52.57 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.343e-05/0.536, allocations: 31.23 kB / 0.5532 GB, free: 52.55 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0005853/0.5366, allocations: 0.5394 MB / 0.5537 GB, free: 52.09 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.11e-07/0.5366, allocations: 0 / 0.5537 GB, free: 52.09 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001172/0.5378, allocations: 363 kB / 0.554 GB, free: 51.73 MB / 378.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 () * Number of clocked 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.003902/0.5417, allocations: 2.864 MB / 0.5568 GB, free: 48.99 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.004383/0.5461, allocations: 2.059 MB / 0.5588 GB, free: 46.89 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.377e-06/0.5461, allocations: 0 / 0.5588 GB, free: 46.89 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001185/0.5473, allocations: 1.179 MB / 0.56 GB, free: 45.63 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007162/0.548, allocations: 180.7 kB / 0.5602 GB, free: 45.46 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01039/0.5584, allocations: 11.54 MB / 0.5714 GB, free: 33.59 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004139/0.5589, allocations: 1.109 MB / 0.5725 GB, free: 32.45 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0004326/0.5593, allocations: 103.6 kB / 0.5726 GB, free: 32.36 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003758/0.5597, allocations: 431.3 kB / 0.573 GB, free: 31.94 MB / 378.7 MB Notification: Performance of SimCode: time 5.91e-07/0.5597, allocations: 4 kB / 0.573 GB, free: 31.93 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03016/0.5898, allocations: 21.74 MB / 0.5943 GB, free: 10.59 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001324/0.59, allocations: 213.1 kB / 0.5945 GB, free: 10.36 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.324/2.915, allocations: 0 / 0.5945 GB, free: 10.36 MB / 378.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