Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Electrical.Analog.Examples.AD_DA_conversion.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.AD_DA_conversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Analog.Examples.AD_DA_conversion") translateModel(Modelica.Electrical.Analog.Examples.AD_DA_conversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Analog.Examples.AD_DA_conversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.00148/0.00148, allocations: 182.7 kB / 13.64 MB, free: 1.676 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.606/1.606, allocations: 194.3 MB / 208.4 MB, free: 6.703 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001612/0.001612, allocations: 116.7 kB / 253.5 MB, free: 9.586 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 4.011e-05/4.012e-05, allocations: 4 kB / 304.9 MB, free: 29.78 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08545/0.08551, allocations: 44.5 MB / 349.4 MB, free: 1.258 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3501/0.4357, allocations: 73.83 MB / 423.3 MB, free: 10.91 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002005/0.436, allocations: 71.67 kB / 423.3 MB, free: 10.91 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01532/0.4513, allocations: 7.275 MB / 430.6 MB, free: 8.648 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.613e-06/0.4513, allocations: 0 / 430.6 MB, free: 8.648 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.702e-05/0.4514, allocations: 3.812 kB / 430.6 MB, free: 8.648 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.0007768/0.4521, allocations: 0.556 MB / 431.2 MB, free: 8.141 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.133e-05/0.4522, allocations: 7.844 kB / 431.2 MB, free: 8.141 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.691e-05/0.4523, allocations: 31.2 kB / 431.2 MB, free: 8.125 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003821/0.4527, allocations: 266.4 kB / 431.5 MB, free: 7.879 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.953e-05/0.4528, allocations: 48.48 kB / 431.5 MB, free: 7.848 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.49e-05/0.4528, allocations: 19.06 kB / 431.5 MB, free: 7.848 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003832/0.4532, allocations: 227.2 kB / 431.8 MB, free: 7.785 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.159e-05/0.4532, allocations: 4 kB / 431.8 MB, free: 7.781 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.935e-05/0.4532, allocations: 7.781 kB / 431.8 MB, free: 7.781 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.075e-06/0.4533, allocations: 3.844 kB / 431.8 MB, free: 7.781 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002657/0.4535, allocations: 167.8 kB / 431.9 MB, free: 7.766 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001204/0.4547, allocations: 0.7665 MB / 432.7 MB, free: 7.266 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003146/0.4551, allocations: 260.5 kB / 433 MB, free: 7.211 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002511/0.4553, allocations: 206.9 kB / 433.2 MB, free: 7.188 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.079e-05/0.4554, allocations: 0 / 433.2 MB, free: 7.188 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003689/0.4557, allocations: 296.6 kB / 433.4 MB, free: 7.016 MB / 298.7 MB Notification: Performance of pre-optimization done (n=31): time 1.493e-06/0.4558, allocations: 0 / 433.4 MB, free: 7.016 MB / 298.7 MB Notification: Performance of matching and sorting (n=31): time 0.0006043/0.4564, allocations: 404 kB / 433.8 MB, free: 6.867 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.4e-05/0.4565, allocations: 229.1 kB / 434.1 MB, free: 6.609 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001269/0.4566, allocations: 166.5 kB / 434.2 MB, free: 6.504 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.762e-05/0.4566, allocations: 33.42 kB / 434.3 MB, free: 6.473 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.402e-05/0.4567, allocations: 139.1 kB / 434.4 MB, free: 6.359 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.028e-05/0.4568, allocations: 77.75 kB / 434.5 MB, free: 6.312 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.304e-05/0.4568, allocations: 7.5 kB / 434.5 MB, free: 6.312 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.139e-05/0.4569, allocations: 334.2 kB / 434.8 MB, free: 5.992 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001256/0.457, allocations: 87.27 kB / 434.9 MB, free: 5.98 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001756/0.4572, allocations: 191.1 kB / 435.1 MB, free: 5.852 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001761/0.4574, allocations: 170.7 kB / 435.2 MB, free: 5.758 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.4574, allocations: 0 / 435.2 MB, free: 5.758 MB / 298.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0004122/0.4578, allocations: 381.2 kB / 435.6 MB, free: 5.598 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.531e-05/0.4578, allocations: 55.38 kB / 435.7 MB, free: 5.535 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.757e-06/0.4579, allocations: 12.17 kB / 435.7 MB, free: 5.527 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.007e-05/0.4579, allocations: 7.781 kB / 435.7 MB, free: 5.527 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001806/0.4581, allocations: 42.11 kB / 435.7 MB, free: 5.516 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.577e-05/0.4581, allocations: 11.53 kB / 435.7 MB, free: 5.512 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001804/0.4583, allocations: 34.83 kB / 435.8 MB, free: 5.5 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.479e-05/0.4583, allocations: 15.62 kB / 435.8 MB, free: 5.5 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 36 ($PRE.dA_Converter.y,dA_Converter.y,$PRE.aD_Converter.z,aD_Converter.z,$PRE.aD_Converter.y[1],aD_Converter.y[1],dA_Converter.x[1],$PRE.aD_Converter.y[2],aD_Converter.y[2],dA_Converter.x[2],$PRE.aD_Converter.y[3],aD_Converter.y[3],dA_Converter.x[3],$PRE.aD_Converter.y[4],aD_Converter.y[4],dA_Converter.x[4],$PRE.aD_Converter.y[5],aD_Converter.y[5],dA_Converter.x[5],$PRE.aD_Converter.y[6],aD_Converter.y[6],dA_Converter.x[6],$PRE.aD_Converter.y[7],aD_Converter.y[7],dA_Converter.x[7],$whenCondition3,$whenCondition1,$whenCondition2,aD_Converter.trig,$PRE.pulse.T0,pulse.T0,$PRE.pulse.np,pulse.np,pulse.sampling,$PRE.dA_Converter.vout,dA_Converter.vout) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (45): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001909/0.4585, allocations: 219.5 kB / 436 MB, free: 5.309 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.338e-05/0.4586, allocations: 31.02 kB / 436 MB, free: 5.293 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.5e-05/0.4586, allocations: 22.28 kB / 436.1 MB, free: 5.285 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.719e-06/0.4587, allocations: 3.875 kB / 436.1 MB, free: 5.285 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.955e-06/0.4587, allocations: 0 / 436.1 MB, free: 5.285 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.562e-06/0.4587, allocations: 3.984 kB / 436.1 MB, free: 5.281 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001051/0.4597, allocations: 0.9719 MB / 437 MB, free: 4.699 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.4597, allocations: 0 / 437 MB, free: 4.699 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000106/0.4599, allocations: 22.67 kB / 437.1 MB, free: 4.695 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.386e-06/0.4599, allocations: 0 / 437.1 MB, free: 4.695 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.121e-05/0.4599, allocations: 19.08 kB / 437.1 MB, free: 4.688 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.4599, allocations: 4.031 kB / 437.1 MB, free: 4.684 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.4599, allocations: 0 / 437.1 MB, free: 4.684 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006577/0.4606, allocations: 0.5677 MB / 437.6 MB, free: 4.41 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.509e-05/0.4607, allocations: 103.1 kB / 437.7 MB, free: 4.297 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.69e-05/0.4607, allocations: 15 kB / 437.8 MB, free: 4.297 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002218/0.461, allocations: 29.59 kB / 437.8 MB, free: 4.285 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.536e-05/0.4611, allocations: 29.05 kB / 437.8 MB, free: 4.273 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.731e-05/0.4611, allocations: 11.67 kB / 437.8 MB, free: 4.27 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001061/0.4612, allocations: 131.8 kB / 438 MB, free: 4.188 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.4612, allocations: 0 / 438 MB, free: 4.188 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003376/0.4616, allocations: 73 kB / 438 MB, free: 4.184 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 24 ($whenCondition3,$whenCondition1,$whenCondition2,aD_Converter.y[1],aD_Converter.y[2],aD_Converter.y[3],aD_Converter.y[4],aD_Converter.y[5],aD_Converter.y[6],aD_Converter.y[7],aD_Converter.trig,aD_Converter.z,pulse.T0,pulse.np,pulse.sampling,dA_Converter.x[1],dA_Converter.x[2],dA_Converter.x[3],dA_Converter.x[4],dA_Converter.x[5],dA_Converter.x[6],dA_Converter.x[7],dA_Converter.vout,dA_Converter.y) * Number of discrete states: 13 (pulse.np,aD_Converter.y[7],aD_Converter.y[6],aD_Converter.y[5],aD_Converter.y[4],aD_Converter.y[3],aD_Converter.y[2],aD_Converter.y[1],aD_Converter.z,$whenCondition1,dA_Converter.vout,dA_Converter.y,$whenCondition2) * Top-level inputs: 0 Notification: Strong component statistics for simulation (21): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002323/0.4618, allocations: 137 kB / 438.2 MB, free: 4.078 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0005106/0.4623, allocations: 393.6 kB / 438.5 MB, free: 3.922 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.138e-06/0.4623, allocations: 0 / 438.5 MB, free: 3.922 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000334/0.4627, allocations: 368.8 kB / 438.9 MB, free: 3.777 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000623/0.4633, allocations: 124.5 kB / 439 MB, free: 3.734 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006838/0.464, allocations: 381.1 kB / 439.4 MB, free: 3.57 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001933/0.4642, allocations: 0.7547 MB / 440.2 MB, free: 2.832 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.000145/0.4644, allocations: 56.92 kB / 440.2 MB, free: 2.809 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.849e-05/0.4644, allocations: 18.97 kB / 440.2 MB, free: 2.801 MB / 298.7 MB Notification: Performance of SimCode: time 6.01e-07/0.4644, allocations: 0 / 440.2 MB, free: 2.801 MB / 298.7 MB Notification: Performance of Templates: time 0.006505/0.4709, allocations: 3.773 MB / 444 MB, free: 0.8867 MB / 298.7 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.Analog.Examples.AD_DA_conversion.makefile (rm -f Modelica_3.2.2_Modelica.Electrical.Analog.Examples.AD_DA_conversion.pipe ; mkfifo Modelica_3.2.2_Modelica.Electrical.Analog.Examples.AD_DA_conversion.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Electrical.Analog.Examples.AD_DA_conversion.pipe >> ../files/Modelica_3.2.2_Modelica.Electrical.Analog.Examples.AD_DA_conversion.sim & ./Modelica_3.2.2_Modelica.Electrical.Analog.Examples.AD_DA_conversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Electrical.Analog.Examples.AD_DA_conversion.pipe 2>&1)