Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier.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.InvertingAmplifier,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_OpAmps_InvertingAmplifier",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_OpAmps_InvertingAmplifier",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001206/0.001206, allocations: 197.4 kB / 8.766 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.368/1.368, allocations: 225.6 MB / 234.8 MB, free: 3.23 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008256/0.0008256, allocations: 94.97 kB / 286.7 MB, free: 5.285 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.854e-05/1.857e-05, allocations: 4 kB / 343.8 MB, free: 8.16 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1036/0.1036, allocations: 51.48 MB / 395.3 MB, free: 4.637 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3259/0.4296, allocations: 81.23 MB / 476.5 MB, free: 11.32 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001887/0.4298, allocations: 81.39 kB / 476.6 MB, free: 11.29 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01537/0.4452, allocations: 6.413 MB / 483 MB, free: 6.5 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.202e-06/0.4452, allocations: 0 / 483 MB, free: 6.5 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.805e-05/0.4452, allocations: 4 kB / 483 MB, free: 6.496 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 61 * Number of variables: 61 Notification: Performance of Generate backend data structure: time 0.0009834/0.4462, allocations: 0.6013 MB / 483.6 MB, free: 5.871 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.778e-05/0.4463, allocations: 8.031 kB / 483.6 MB, free: 5.863 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001022/0.4464, allocations: 43.52 kB / 483.7 MB, free: 5.82 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000377/0.4468, allocations: 276.6 kB / 483.9 MB, free: 5.551 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.833e-05/0.4468, allocations: 12 kB / 483.9 MB, free: 5.539 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.298e-05/0.4468, allocations: 12 kB / 484 MB, free: 5.527 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003252/0.4472, allocations: 181.1 kB / 484.1 MB, free: 5.426 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000352/0.4475, allocations: 242.4 kB / 484.4 MB, free: 5.242 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.093e-05/0.4476, allocations: 0 / 484.4 MB, free: 5.242 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.579e-05/0.4476, allocations: 4 kB / 484.4 MB, free: 5.238 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.232e-06/0.4476, allocations: 4 kB / 484.4 MB, free: 5.234 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001632/0.4492, allocations: 1.137 MB / 485.5 MB, free: 4.242 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002615/0.4495, allocations: 139.6 kB / 485.6 MB, free: 4.148 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.294e-05/0.4496, allocations: 60.72 kB / 485.7 MB, free: 4.109 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.605e-05/0.4497, allocations: 4 kB / 485.7 MB, free: 4.105 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002356/0.4499, allocations: 138.3 kB / 485.8 MB, free: 3.973 MB / 346.7 MB Notification: Performance of pre-optimization done (n=13): time 1.283e-06/0.4499, allocations: 4 kB / 485.8 MB, free: 3.969 MB / 346.7 MB Notification: Performance of matching and sorting (n=13): time 0.0005966/0.4505, allocations: 234.1 kB / 486.1 MB, free: 3.773 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.244e-05/0.4506, allocations: 106.8 kB / 486.2 MB, free: 3.645 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001838/0.4507, allocations: 225.7 kB / 486.4 MB, free: 3.461 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.923e-05/0.4508, allocations: 25.7 kB / 486.4 MB, free: 3.43 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.731e-05/0.4509, allocations: 205.9 kB / 486.6 MB, free: 3.254 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.497e-05/0.4509, allocations: 37.02 kB / 486.7 MB, free: 3.223 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.276e-05/0.4509, allocations: 4 kB / 486.7 MB, free: 3.219 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 5.774e-05/0.451, allocations: 337.3 kB / 487 MB, free: 2.891 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.262e-05/0.4511, allocations: 51.28 kB / 487 MB, free: 2.859 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001179/0.4512, allocations: 151.2 kB / 487.2 MB, free: 2.703 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001059/0.4513, allocations: 73.38 kB / 487.3 MB, free: 2.656 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.656e-06/0.4513, allocations: 0 / 487.3 MB, free: 2.656 MB / 346.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0006032/0.4519, allocations: 315.6 kB / 487.6 MB, free: 2.395 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.056e-05/0.452, allocations: 37.69 kB / 487.6 MB, free: 2.352 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.987e-06/0.452, allocations: 4 kB / 487.6 MB, free: 2.348 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002157/0.4522, allocations: 54.84 kB / 487.7 MB, free: 2.305 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002097/0.4524, allocations: 55.58 kB / 487.7 MB, free: 2.254 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001239/0.4537, allocations: 1.478 MB / 489.2 MB, free: 0.7891 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003454/0.454, allocations: 55.86 kB / 489.3 MB, free: 0.7344 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.14e-05/0.4541, allocations: 8 kB / 489.3 MB, free: 0.7266 MB / 346.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: gain.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: 12 * 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 (23): * Single equations (assignments): 21 * 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 4} Notification: Performance of prepare postOptimizeDAE: time 0.0001421/0.4542, allocations: 133.7 kB / 489.4 MB, free: 0.5977 MB / 346.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.000478/0.4547, allocations: 229.6 kB / 489.6 MB, free: 416 kB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.543e-05/0.4547, allocations: 35.61 kB / 489.7 MB, free: 380 kB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.412e-05/0.4548, allocations: 21.27 kB / 489.7 MB, free: 360 kB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.565e-06/0.4548, allocations: 4 kB / 489.7 MB, free: 356 kB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.234e-06/0.4548, allocations: 0 / 489.7 MB, free: 356 kB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.479e-06/0.4548, allocations: 0 / 489.7 MB, free: 356 kB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002139/0.455, allocations: 277.7 kB / 490 MB, free: 92 kB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.4551, allocations: 0 / 490 MB, free: 92 kB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001382/0.4552, allocations: 27.97 kB / 490 MB, free: 64 kB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001181/0.4553, allocations: 55.14 kB / 490 MB, free: 20 kB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.391e-05/0.4554, allocations: 0 / 490 MB, free: 20 kB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001479/0.4568, allocations: 1.484 MB / 491.5 MB, free: 14.55 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/0.4569, allocations: 0 / 491.5 MB, free: 14.55 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005674/0.4574, allocations: 266 kB / 491.8 MB, free: 14.31 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.84e-05/0.4575, allocations: 100.3 kB / 491.9 MB, free: 14.2 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.581e-05/0.4576, allocations: 0 / 491.9 MB, free: 14.2 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002606/0.4579, allocations: 43.95 kB / 491.9 MB, free: 14.15 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.16e-05/0.458, allocations: 19.41 kB / 491.9 MB, free: 14.14 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.262e-05/0.458, allocations: 5.312 kB / 491.9 MB, free: 14.14 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001768/0.4582, allocations: 179.8 kB / 492.1 MB, free: 14 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4582, allocations: 0 / 492.1 MB, free: 14 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003706/0.4586, allocations: 75.78 kB / 492.2 MB, free: 13.92 MB / 362.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 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.0008898/0.4595, allocations: 0.7941 MB / 493 MB, free: 13.14 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0004903/0.46, allocations: 327.1 kB / 493.3 MB, free: 12.86 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.46, allocations: 0 / 493.3 MB, free: 12.86 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002196/0.4602, allocations: 183.4 kB / 493.5 MB, free: 12.7 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002745/0.4605, allocations: 40.77 kB / 493.5 MB, free: 12.68 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008214/0.4613, allocations: 340.5 kB / 493.9 MB, free: 12.35 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003331/0.4617, allocations: 0.7638 MB / 494.6 MB, free: 11.56 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001337/0.4618, allocations: 22.08 kB / 494.6 MB, free: 11.54 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001448/0.462, allocations: 84.53 kB / 494.7 MB, free: 11.51 MB / 362.7 MB Notification: Performance of SimCode: time 2.6e-07/0.462, allocations: 0 / 494.7 MB, free: 11.51 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02694/0.4889, allocations: 5.224 MB / 499.9 MB, free: 6.367 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002185/0.4892, allocations: 151.6 kB / 0.4884 GB, free: 6.176 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.788/2.277, allocations: 0 / 0.4884 GB, free: 6.176 MB / 362.7 MB (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_Analog_Examples_OpAmps_InvertingAmplifier_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_Analog_Examples_OpAmps_InvertingAmplifier.fmu > Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier_res.mat does not exist to compare? outputFormat=mat