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.001174/0.001174, allocations: 200 kB / 8.765 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.341/1.341, allocations: 225.6 MB / 234.8 MB, free: 3.27 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008108/0.0008108, allocations: 96.75 kB / 286.7 MB, free: 5.266 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.821e-05/1.823e-05, allocations: 4 kB / 343.8 MB, free: 8.191 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1179/0.1179, allocations: 51.47 MB / 395.3 MB, free: 4.676 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4194/0.5374, allocations: 83.13 MB / 478.4 MB, free: 9.934 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002337/0.5377, allocations: 71.95 kB / 478.5 MB, free: 9.906 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04006/0.5777, allocations: 15.8 MB / 494.3 MB, free: 12.93 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.493e-06/0.5778, allocations: 0 / 494.3 MB, free: 12.93 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.719e-05/0.5778, allocations: 24 kB / 494.3 MB, free: 12.91 MB / 362.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.002341/0.5802, allocations: 1.121 MB / 495.4 MB, free: 11.8 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.764e-05/0.5802, allocations: 16.03 kB / 495.4 MB, free: 11.79 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003562/0.5806, allocations: 135.4 kB / 495.6 MB, free: 11.66 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000768/0.5814, allocations: 0.5473 MB / 496.1 MB, free: 11.18 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.016e-05/0.5814, allocations: 28 kB / 496.1 MB, free: 11.15 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001108/0.5816, allocations: 55.94 kB / 496.2 MB, free: 11.1 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001194/0.5828, allocations: 0.7281 MB / 496.9 MB, free: 10.66 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001189/0.584, allocations: 0.6745 MB / 497.6 MB, free: 10.2 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.886e-05/0.584, allocations: 0 / 497.6 MB, free: 10.2 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.207e-05/0.5841, allocations: 4 kB / 497.6 MB, free: 10.19 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.076e-05/0.5841, allocations: 22.91 kB / 497.6 MB, free: 10.17 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005166/0.5893, allocations: 3.142 MB / 0.489 GB, free: 7.762 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008487/0.5901, allocations: 0.595 MB / 0.4896 GB, free: 7.426 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004963/0.5907, allocations: 377.8 kB / 0.49 GB, free: 7.207 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.178e-05/0.5907, allocations: 16.55 kB / 0.49 GB, free: 7.191 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.347e-05/0.5908, allocations: 45.73 kB / 0.49 GB, free: 7.145 MB / 362.7 MB Notification: Performance of pre-optimization done (n=69): time 3.186e-06/0.5908, allocations: 0 / 0.49 GB, free: 7.145 MB / 362.7 MB Notification: Performance of matching and sorting (n=73): time 0.006455/0.5972, allocations: 2.426 MB / 0.4924 GB, free: 5.176 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.495e-05/0.5973, allocations: 56.19 kB / 0.4924 GB, free: 5.109 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005846/0.5979, allocations: 451.4 kB / 0.4929 GB, free: 4.664 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 5.839e-05/0.598, allocations: 29.7 kB / 0.4929 GB, free: 4.629 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002827/0.5983, allocations: 439.2 kB / 0.4933 GB, free: 4.191 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001968/0.5985, allocations: 260.2 kB / 0.4936 GB, free: 3.934 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.79e-05/0.5985, allocations: 0 / 0.4936 GB, free: 3.934 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001812/0.5987, allocations: 378.8 kB / 0.4939 GB, free: 3.555 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004522/0.5992, allocations: 282.5 kB / 0.4942 GB, free: 3.277 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000541/0.5997, allocations: 405 kB / 0.4946 GB, free: 2.836 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00175/0.6015, allocations: 0.5626 MB / 0.4951 GB, free: 2.273 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.412e-06/0.6015, allocations: 4 kB / 0.4951 GB, free: 2.27 MB / 362.7 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.002978/0.6045, allocations: 1.203 MB / 0.4963 GB, free: 1.051 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.565e-05/0.6045, allocations: 8 kB / 0.4963 GB, free: 1.043 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.232e-05/0.6045, allocations: 7.953 kB / 0.4963 GB, free: 1.035 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005324/0.6051, allocations: 178.4 kB / 0.4965 GB, free: 0.8594 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009127/0.606, allocations: 203.7 kB / 0.4967 GB, free: 0.6602 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003473/0.6095, allocations: 2.533 MB / 0.4992 GB, free: 14.02 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008173/0.6103, allocations: 19.98 kB / 0.4992 GB, free: 14 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.079e-05/0.6104, allocations: 36.05 kB / 0.4992 GB, free: 13.97 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 () * 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,68.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002308/0.6106, allocations: 124.7 kB / 0.4993 GB, free: 13.84 MB / 378.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002558/0.6132, allocations: 1.007 MB / 0.5003 GB, free: 12.82 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001336/0.6134, allocations: 71.16 kB / 0.5004 GB, free: 12.75 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002301/0.6136, allocations: 82.91 kB / 0.5005 GB, free: 12.66 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.727e-06/0.6136, allocations: 5.969 kB / 0.5005 GB, free: 12.66 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.362e-06/0.6136, allocations: 7.938 kB / 0.5005 GB, free: 12.65 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.836e-06/0.6136, allocations: 7.984 kB / 0.5005 GB, free: 12.64 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001115/0.6148, allocations: 0.7682 MB / 0.5012 GB, free: 11.84 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.119e-06/0.6148, allocations: 0 / 0.5012 GB, free: 11.84 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007518/0.6155, allocations: 155.8 kB / 0.5014 GB, free: 11.69 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005123/0.6161, allocations: 182.2 kB / 0.5016 GB, free: 11.51 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.28e-05/0.6161, allocations: 15.98 kB / 0.5016 GB, free: 11.49 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003272/0.6194, allocations: 2.544 MB / 0.5041 GB, free: 8.828 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.6194, allocations: 0 / 0.5041 GB, free: 8.828 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00303/0.6225, allocations: 1.494 MB / 0.5055 GB, free: 7.316 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002069/0.6227, allocations: 144.2 kB / 0.5057 GB, free: 7.156 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.664e-05/0.6228, allocations: 0 / 0.5057 GB, free: 7.156 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006223/0.6234, allocations: 51.95 kB / 0.5057 GB, free: 7.105 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000115/0.6235, allocations: 56.7 kB / 0.5058 GB, free: 7.051 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.539e-05/0.6236, allocations: 27.94 kB / 0.5058 GB, free: 7.023 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0003836/0.624, allocations: 342.9 kB / 0.5061 GB, free: 6.691 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.624, allocations: 0 / 0.5061 GB, free: 6.691 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0008036/0.6248, allocations: 212 kB / 0.5063 GB, free: 6.484 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 () * 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.003489/0.6283, allocations: 2.073 MB / 0.5083 GB, free: 4.379 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001703/0.63, allocations: 0.8974 MB / 0.5092 GB, free: 3.473 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.408e-06/0.63, allocations: 3.938 kB / 0.5092 GB, free: 3.469 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001119/0.6312, allocations: 0.5751 MB / 0.5098 GB, free: 2.887 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005602/0.6317, allocations: 100.7 kB / 0.5099 GB, free: 2.797 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003132/0.6349, allocations: 1.742 MB / 0.5116 GB, free: 1.012 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000588/0.6355, allocations: 0.9971 MB / 0.5126 GB, free: 15.98 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0003871/0.6359, allocations: 85.27 kB / 0.5126 GB, free: 15.91 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004217/0.6363, allocations: 319.3 kB / 0.5129 GB, free: 15.6 MB / 394.7 MB Notification: Performance of SimCode: time 5.01e-07/0.6363, allocations: 0 / 0.5129 GB, free: 15.6 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.038/0.6743, allocations: 15.23 MB / 0.5278 GB, free: 0.543 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001781/0.6746, allocations: 152.1 kB / 0.528 GB, free: 352 kB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.4/3.074, allocations: 0 / 0.528 GB, free: 352 kB / 394.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)