Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.DifferenceAmplifier.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.DifferenceAmplifier,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_DifferenceAmplifier",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.DifferenceAmplifier,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_DifferenceAmplifier",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001015/0.001015, allocations: 199 kB / 17.08 MB, free: 5.078 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.183/1.183, allocations: 227.2 MB / 245 MB, free: 5.906 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008224/0.0008223, allocations: 99.23 kB / 297.3 MB, free: 5.984 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0001988/0.0001988, allocations: 8 kB / 358 MB, free: 9.242 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1732/0.1734, allocations: 51.49 MB / 409.5 MB, free: 26.71 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09249/0.2659, allocations: 83.86 MB / 493.4 MB, free: 6.738 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001996/0.2662, allocations: 75.97 kB / 493.4 MB, free: 6.664 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04007/0.3062, allocations: 15.96 MB / 0.4974 GB, free: 6.641 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.664e-06/0.3063, allocations: 0 / 0.4974 GB, free: 6.641 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.107e-05/0.3063, allocations: 24 kB / 0.4975 GB, free: 6.617 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: 221 * Number of variables: 221 Notification: Performance of Generate backend data structure: time 0.002157/0.3085, allocations: 1.212 MB / 0.4987 GB, free: 5.352 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.033e-05/0.3085, allocations: 12.03 kB / 0.4987 GB, free: 5.34 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001483/0.3087, allocations: 139.5 kB / 0.4988 GB, free: 5.195 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003037/0.309, allocations: 134.6 kB / 0.4989 GB, free: 5.062 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007199/0.3097, allocations: 0.5548 MB / 0.4995 GB, free: 4.465 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.767e-05/0.3098, allocations: 66 kB / 0.4995 GB, free: 4.398 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001229/0.3099, allocations: 91.98 kB / 0.4996 GB, free: 4.309 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001431/0.3114, allocations: 0.8506 MB / 0.5005 GB, free: 3.449 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.799e-05/0.3114, allocations: 0 / 0.5005 GB, free: 3.449 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.051e-05/0.3115, allocations: 40 kB / 0.5005 GB, free: 3.41 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.609e-05/0.3115, allocations: 20 kB / 0.5005 GB, free: 3.391 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001542/0.313, allocations: 0.8746 MB / 0.5014 GB, free: 2.52 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1637/0.4768, allocations: 3.292 MB / 0.5046 GB, free: 87.55 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001114/0.4779, allocations: 0.6865 MB / 0.5052 GB, free: 87.51 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.418e-05/0.478, allocations: 14.52 kB / 0.5053 GB, free: 87.51 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.294e-05/0.478, allocations: 43.23 kB / 0.5053 GB, free: 87.47 MB / 378.7 MB Notification: Performance of pre-optimization done (n=69): time 2.846e-06/0.4781, allocations: 0 / 0.5053 GB, free: 87.47 MB / 378.7 MB Notification: Performance of matching and sorting (n=73): time 0.004511/0.4826, allocations: 2.444 MB / 0.5077 GB, free: 86.97 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.75e-05/0.4826, allocations: 59.59 kB / 0.5077 GB, free: 86.91 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005655/0.4832, allocations: 0.5302 MB / 0.5083 GB, free: 86.79 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.83e-05/0.4832, allocations: 38.92 kB / 0.5083 GB, free: 86.76 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002196/0.4835, allocations: 442 kB / 0.5087 GB, free: 86.58 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001458/0.4836, allocations: 262.1 kB / 0.509 GB, free: 86.45 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.057e-05/0.4837, allocations: 16.69 kB / 0.509 GB, free: 86.45 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.694e-05/0.4838, allocations: 387.8 kB / 0.5094 GB, free: 86.14 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006822/0.4845, allocations: 334.8 kB / 0.5097 GB, free: 86.14 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009757/0.4854, allocations: 482.9 kB / 0.5101 GB, free: 86 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00073/0.4862, allocations: 392.2 kB / 0.5105 GB, free: 85.99 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.606e-06/0.4862, allocations: 1.375 kB / 0.5105 GB, free: 85.99 MB / 378.7 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.001822/0.488, allocations: 1.134 MB / 0.5116 GB, free: 85.88 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.944e-05/0.488, allocations: 7.875 kB / 0.5116 GB, free: 85.88 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.057e-06/0.4881, allocations: 7.859 kB / 0.5116 GB, free: 85.88 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004858/0.4886, allocations: 191.7 kB / 0.5118 GB, free: 85.87 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008328/0.4894, allocations: 209.8 kB / 0.512 GB, free: 85.87 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002756/0.4922, allocations: 2.682 MB / 0.5146 GB, free: 83.86 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006283/0.4928, allocations: 44.23 kB / 0.5147 GB, free: 83.85 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.543e-05/0.4929, allocations: 33.14 kB / 0.5147 GB, free: 83.84 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (90): * Single equations (assignments): 89 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(5,72.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003264/0.4932, allocations: 238 kB / 0.5149 GB, free: 83.66 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001061/0.4933, allocations: 84 kB / 0.515 GB, free: 83.62 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001567/0.4935, allocations: 94.23 kB / 0.5151 GB, free: 83.55 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.268e-06/0.4935, allocations: 7.938 kB / 0.5151 GB, free: 83.55 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.595e-05/0.4935, allocations: 3.875 kB / 0.5151 GB, free: 83.55 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.142e-06/0.4935, allocations: 6.281 kB / 0.5151 GB, free: 83.55 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008292/0.4944, allocations: 0.882 MB / 0.516 GB, free: 83.09 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.126e-06/0.4944, allocations: 2.688 kB / 0.516 GB, free: 83.09 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006943/0.4951, allocations: 156.6 kB / 0.5161 GB, free: 83.09 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004397/0.4955, allocations: 184.2 kB / 0.5163 GB, free: 83.04 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.99e-05/0.4956, allocations: 18.88 kB / 0.5163 GB, free: 83.03 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002632/0.4982, allocations: 2.685 MB / 0.519 GB, free: 81.01 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.572e-06/0.4982, allocations: 3.953 kB / 0.519 GB, free: 81.01 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002087/0.5003, allocations: 1.457 MB / 0.5204 GB, free: 80.33 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001339/0.5005, allocations: 149.1 kB / 0.5205 GB, free: 80.19 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.241e-05/0.5006, allocations: 18.92 kB / 0.5205 GB, free: 80.18 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006004/0.5012, allocations: 67.39 kB / 0.5206 GB, free: 80.17 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.91e-05/0.5013, allocations: 54.11 kB / 0.5207 GB, free: 80.16 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.676e-05/0.5013, allocations: 25.08 kB / 0.5207 GB, free: 80.16 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0003746/0.5017, allocations: 420.1 kB / 0.5211 GB, free: 79.96 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.7e-07/0.5017, allocations: 0 / 0.5211 GB, free: 79.96 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000736/0.5025, allocations: 254 kB / 0.5213 GB, free: 79.93 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 9 (C1.v,C4.v,C5.v,C2.v,C3.v,Transistor1.ct.v,Transistor1.Tr.vcs,Transistor2.ct.v,Transistor2.Tr.vcs) * 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 (56): * Single equations (assignments): 55 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(5,72.0%) 13} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00233/0.5048, allocations: 2.042 MB / 0.5233 GB, free: 78.71 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001834/0.5066, allocations: 1.064 MB / 0.5244 GB, free: 78.26 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.5067, allocations: 0 / 0.5244 GB, free: 78.26 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001089/0.5078, allocations: 0.6429 MB / 0.525 GB, free: 77.95 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005487/0.5083, allocations: 143.8 kB / 0.5251 GB, free: 77.89 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00665/0.515, allocations: 7.918 MB / 0.5329 GB, free: 72.03 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003126/0.5153, allocations: 1.001 MB / 0.5338 GB, free: 71.13 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0003823/0.5157, allocations: 89.64 kB / 0.5339 GB, free: 71.07 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003288/0.5161, allocations: 320.1 kB / 0.5342 GB, free: 70.79 MB / 378.7 MB Notification: Performance of SimCode: time 8.32e-07/0.5161, allocations: 0 / 0.5342 GB, free: 70.79 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02708/0.5431, allocations: 17.19 MB / 0.551 GB, free: 56.21 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001484/0.5433, allocations: 207 kB / 0.5512 GB, free: 55.96 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.264/2.807, allocations: 64 / 0.5512 GB, free: 55.96 MB / 378.7 MB (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.DifferenceAmplifier.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.DifferenceAmplifier.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.DifferenceAmplifier.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.DifferenceAmplifier.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.Analog.Examples.DifferenceAmplifier_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_Analog_Examples_DifferenceAmplifier_fmu --startTime=0 --stopTime=1e-08 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_Analog_Examples_DifferenceAmplifier.fmu > Modelica_trunk_Modelica.Electrical.Analog.Examples.DifferenceAmplifier.pipe 2>&1)