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.001404/0.001404, allocations: 196.1 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.341/1.341, allocations: 225.4 MB / 240.1 MB, free: 15.06 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008354/0.0008354, allocations: 82.97 kB / 292.1 MB, free: 5.945 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.482e-05/3.495e-05, allocations: 4 kB / 350.7 MB, free: 2.414 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1023/0.1024, allocations: 51.48 MB / 402.1 MB, free: 14.88 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.305/0.4074, allocations: 81.9 MB / 484 MB, free: 7.195 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002434/0.4077, allocations: 79.12 kB / 484.1 MB, free: 7.152 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01609/0.4238, allocations: 6.475 MB / 490.6 MB, free: 1.691 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.654e-06/0.4239, allocations: 3.062 kB / 490.6 MB, free: 1.691 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.317e-05/0.4239, allocations: 8 kB / 490.6 MB, free: 1.684 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.000967/0.4249, allocations: 0.5998 MB / 491.2 MB, free: 1.062 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.213e-05/0.4249, allocations: 12.03 kB / 491.2 MB, free: 1.051 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.614e-05/0.425, allocations: 55.86 kB / 491.3 MB, free: 1 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.418e-05/0.4251, allocations: 39.47 kB / 491.3 MB, free: 0.9609 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003339/0.4254, allocations: 292.6 kB / 491.6 MB, free: 0.6797 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.578e-05/0.4254, allocations: 19.5 kB / 491.6 MB, free: 0.668 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.836e-05/0.4255, allocations: 24.69 kB / 491.6 MB, free: 0.6523 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004195/0.4259, allocations: 279 kB / 491.9 MB, free: 464 kB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.238e-05/0.4259, allocations: 7.984 kB / 491.9 MB, free: 456 kB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.587e-05/0.426, allocations: 6.062 kB / 491.9 MB, free: 456 kB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.903e-06/0.426, allocations: 8 kB / 491.9 MB, free: 448 kB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002934/0.4263, allocations: 190.6 kB / 492.1 MB, free: 332 kB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001848/0.4281, allocations: 1.185 MB / 493.3 MB, free: 15.29 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002911/0.4284, allocations: 151.6 kB / 493.4 MB, free: 15.18 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001059/0.4286, allocations: 67.41 kB / 493.5 MB, free: 15.14 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.294e-05/0.4286, allocations: 0 / 493.5 MB, free: 15.14 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002321/0.4288, allocations: 130.5 kB / 493.6 MB, free: 15.02 MB / 362.7 MB Notification: Performance of pre-optimization done (n=13): time 1.183e-06/0.4288, allocations: 8.562 kB / 493.6 MB, free: 15.01 MB / 362.7 MB Notification: Performance of matching and sorting (n=13): time 0.0006499/0.4295, allocations: 233.9 kB / 493.9 MB, free: 14.82 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.311e-05/0.4296, allocations: 114.8 kB / 494 MB, free: 14.68 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003285/0.4299, allocations: 247.5 kB / 494.2 MB, free: 14.48 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.01e-05/0.43, allocations: 32.83 kB / 494.3 MB, free: 14.45 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001419/0.4301, allocations: 194 kB / 494.5 MB, free: 14.28 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.954e-05/0.4302, allocations: 44.39 kB / 494.5 MB, free: 14.25 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.511e-05/0.4302, allocations: 3.938 kB / 494.5 MB, free: 14.25 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001586/0.4304, allocations: 341.8 kB / 494.8 MB, free: 13.91 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001307/0.4305, allocations: 62.02 kB / 494.9 MB, free: 13.88 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001834/0.4307, allocations: 157.8 kB / 495 MB, free: 13.71 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001639/0.4309, allocations: 96.78 kB / 495.1 MB, free: 13.63 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.23e-06/0.4309, allocations: 4 kB / 495.1 MB, free: 13.63 MB / 362.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0007822/0.4317, allocations: 375.2 kB / 495.5 MB, free: 13.32 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.457e-05/0.4317, allocations: 37.69 kB / 495.5 MB, free: 13.27 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.077e-05/0.4317, allocations: 4 kB / 495.6 MB, free: 13.27 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002524/0.432, allocations: 53.91 kB / 495.6 MB, free: 13.23 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000236/0.4322, allocations: 56.09 kB / 495.7 MB, free: 13.18 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001812/0.4341, allocations: 1.659 MB / 497.3 MB, free: 11.38 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003467/0.4344, allocations: 67.64 kB / 497.4 MB, free: 11.31 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.544e-05/0.4344, allocations: 12 kB / 497.4 MB, free: 11.3 MB / 362.7 MB 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 9.704e-05/0.4346, allocations: 117 kB / 497.5 MB, free: 11.18 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.843e-05/0.4346, allocations: 25.31 kB / 497.5 MB, free: 11.16 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.179e-05/0.4347, allocations: 34.77 kB / 497.6 MB, free: 11.12 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.276e-06/0.4347, allocations: 3.953 kB / 497.6 MB, free: 11.12 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.443e-06/0.4347, allocations: 0 / 497.6 MB, free: 11.12 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.397e-06/0.4347, allocations: 0 / 497.6 MB, free: 11.12 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002934/0.435, allocations: 325.4 kB / 497.9 MB, free: 10.75 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.435, allocations: 0 / 497.9 MB, free: 10.75 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000148/0.4351, allocations: 35.09 kB / 497.9 MB, free: 10.72 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001297/0.4353, allocations: 44.84 kB / 498 MB, free: 10.68 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.866e-05/0.4353, allocations: 8 kB / 498 MB, free: 10.67 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001391/0.4367, allocations: 1.542 MB / 499.5 MB, free: 8.992 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.4367, allocations: 0 / 499.5 MB, free: 8.992 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005642/0.4373, allocations: 271.6 kB / 499.8 MB, free: 8.707 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.043e-05/0.4374, allocations: 96.91 kB / 499.9 MB, free: 8.594 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.439e-05/0.4374, allocations: 0 / 499.9 MB, free: 8.594 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002647/0.4377, allocations: 47.95 kB / 499.9 MB, free: 8.547 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.701e-05/0.4378, allocations: 19.97 kB / 499.9 MB, free: 8.527 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.362e-05/0.4378, allocations: 6.344 kB / 500 MB, free: 8.523 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001891/0.438, allocations: 195.1 kB / 0.4884 GB, free: 8.332 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.438, allocations: 0 / 0.4884 GB, free: 8.332 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000352/0.4383, allocations: 83.75 kB / 0.4885 GB, free: 8.25 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.0008416/0.4392, allocations: 0.8082 MB / 0.4893 GB, free: 7.41 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0004968/0.4397, allocations: 351.5 kB / 0.4896 GB, free: 7.047 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/0.4397, allocations: 0 / 0.4896 GB, free: 7.047 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002283/0.44, allocations: 191.3 kB / 0.4898 GB, free: 6.848 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002626/0.4402, allocations: 49.2 kB / 0.4899 GB, free: 6.801 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007996/0.441, allocations: 353.4 kB / 0.4902 GB, free: 6.418 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003096/0.4414, allocations: 0.7638 MB / 0.4909 GB, free: 5.629 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001296/0.4415, allocations: 26.06 kB / 0.491 GB, free: 5.602 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001414/0.4416, allocations: 83.41 kB / 0.491 GB, free: 5.523 MB / 362.7 MB Notification: Performance of SimCode: time 4.11e-07/0.4417, allocations: 0 / 0.491 GB, free: 5.523 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01833/0.46, allocations: 6.044 MB / 0.4969 GB, free: 15.77 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001716/0.4602, allocations: 194.7 kB / 0.4971 GB, free: 15.55 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.817/2.277, allocations: 3.875 kB / 0.4971 GB, free: 15.55 MB / 378.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