Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Electrical.Analog.Examples.IdealTriacCircuit.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.IdealTriacCircuit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Analog.Examples.IdealTriacCircuit") translateModel(Modelica.Electrical.Analog.Examples.IdealTriacCircuit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Analog.Examples.IdealTriacCircuit") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.008383/0.008383, allocations: 166.5 kB / 15.11 MB, free: 5.969 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.255/1.255, allocations: 170.8 MB / 186.6 MB, free: 0.9688 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001608/0.001608, allocations: 106.6 kB / 226.2 MB, free: 10.09 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003076/0.0003076, allocations: 12 kB / 274.1 MB, free: 10.07 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2059/0.2062, allocations: 38.76 MB / 312.9 MB, free: 38.91 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08239/0.2886, allocations: 68.83 MB / 381.7 MB, free: 5.699 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002418/0.2889, allocations: 71.95 kB / 381.8 MB, free: 5.629 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01288/0.3018, allocations: 4.841 MB / 386.6 MB, free: 0.7773 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.933e-06/0.3019, allocations: 0 / 386.6 MB, free: 0.7773 MB / 282.7 MB Notification: Performance of Transformations before backend: time 2.096e-05/0.3019, allocations: 12 kB / 386.6 MB, free: 0.7656 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 62 * Number of variables: 62 Notification: Performance of Generate backend data structure: time 0.0009286/0.3028, allocations: 0.5768 MB / 387.2 MB, free: 144 kB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.646e-05/0.3029, allocations: 8.031 kB / 387.2 MB, free: 136 kB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.564e-05/0.303, allocations: 31.62 kB / 387.2 MB, free: 104 kB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003336/0.3033, allocations: 279.5 kB / 387.5 MB, free: 15.79 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.816e-05/0.3034, allocations: 24.56 kB / 387.5 MB, free: 15.76 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.883e-05/0.3034, allocations: 27.95 kB / 387.6 MB, free: 15.73 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004877/0.3039, allocations: 280.6 kB / 387.8 MB, free: 15.44 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.374e-05/0.3039, allocations: 3.938 kB / 387.9 MB, free: 15.44 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.325e-05/0.304, allocations: 12 kB / 387.9 MB, free: 15.43 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.638e-06/0.304, allocations: 8 kB / 387.9 MB, free: 15.42 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003765/0.3044, allocations: 206.2 kB / 388.1 MB, free: 15.22 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001598/0.306, allocations: 1.148 MB / 389.2 MB, free: 13.99 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005075/0.3065, allocations: 223.3 kB / 389.4 MB, free: 13.76 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.07e-05/0.3065, allocations: 192 / 389.4 MB, free: 13.76 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003546/0.3069, allocations: 167.7 kB / 389.6 MB, free: 13.58 MB / 298.7 MB Notification: Performance of pre-optimization done (n=22): time 1.413e-06/0.3069, allocations: 0 / 389.6 MB, free: 13.58 MB / 298.7 MB Notification: Performance of matching and sorting (n=22): time 0.001378/0.3083, allocations: 0.5347 MB / 390.1 MB, free: 13.02 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.055e-05/0.3084, allocations: 102.8 kB / 390.2 MB, free: 12.89 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002485/0.3086, allocations: 224.1 kB / 390.5 MB, free: 12.67 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.002e-05/0.3087, allocations: 33.7 kB / 390.5 MB, free: 12.63 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001109/0.3088, allocations: 164.1 kB / 390.6 MB, free: 12.47 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.318e-05/0.3089, allocations: 67 kB / 390.7 MB, free: 12.41 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.244e-05/0.3089, allocations: 12 kB / 390.7 MB, free: 12.39 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001315/0.3091, allocations: 334.8 kB / 391.1 MB, free: 12.06 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001546/0.3092, allocations: 71.98 kB / 391.1 MB, free: 11.99 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001856/0.3094, allocations: 125 kB / 391.2 MB, free: 11.85 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000162/0.3096, allocations: 85.12 kB / 391.3 MB, free: 11.77 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.3096, allocations: 0 / 391.3 MB, free: 11.77 MB / 298.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0004967/0.3101, allocations: 297.4 kB / 391.6 MB, free: 11.47 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.751e-05/0.3101, allocations: 4 kB / 391.6 MB, free: 11.46 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.378e-06/0.3101, allocations: 7.953 kB / 391.6 MB, free: 11.46 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003397/0.3105, allocations: 96.8 kB / 391.7 MB, free: 11.36 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001512/0.3106, allocations: 27.98 kB / 391.8 MB, free: 11.33 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002164/0.3128, allocations: 1.955 MB / 393.7 MB, free: 9.246 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002259/0.3131, allocations: 47.84 kB / 393.8 MB, free: 9.199 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.771e-05/0.3131, allocations: 7.984 kB / 393.8 MB, free: 9.191 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,booleanPulse.y,$PRE.booleanPulse.pulsStart,booleanPulse.pulsStart,$PRE.idealTriac.idealThyristor.off,idealTriac.idealThyristor.off,$PRE.idealTriac.idealThyristor1.off,idealTriac.idealThyristor1.off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (19): * Single equations (assignments): 18 * 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: 0 * Non-linear torn systems: 1 {2 9} Notification: Performance of prepare postOptimizeDAE: time 0.0001624/0.3133, allocations: 145.8 kB / 393.9 MB, free: 9.039 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.698e-05/0.3133, allocations: 23.72 kB / 393.9 MB, free: 9.016 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.106e-05/0.3134, allocations: 30.17 kB / 394 MB, free: 8.984 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.306e-06/0.3134, allocations: 4 kB / 394 MB, free: 8.98 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.456e-06/0.3134, allocations: 0 / 394 MB, free: 8.98 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.337e-06/0.3134, allocations: 7.938 kB / 394 MB, free: 8.973 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003775/0.3138, allocations: 357.3 kB / 394.3 MB, free: 8.574 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.3138, allocations: 0 / 394.3 MB, free: 8.574 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000131/0.3139, allocations: 23.98 kB / 394.3 MB, free: 8.551 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002711/0.3142, allocations: 92.86 kB / 394.4 MB, free: 8.457 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.974e-05/0.3142, allocations: 3.984 kB / 394.4 MB, free: 8.453 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002199/0.3164, allocations: 1.971 MB / 396.4 MB, free: 6.348 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.3165, allocations: 0 / 396.4 MB, free: 6.348 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007645/0.3172, allocations: 421.8 kB / 396.8 MB, free: 5.914 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000128/0.3174, allocations: 128.8 kB / 396.9 MB, free: 5.77 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.577e-05/0.3174, allocations: 7.938 kB / 397 MB, free: 5.762 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001655/0.3176, allocations: 15.98 kB / 397 MB, free: 5.746 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.534e-05/0.3177, allocations: 39.89 kB / 397 MB, free: 5.707 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.533e-05/0.3177, allocations: 7.984 kB / 397 MB, free: 5.699 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001644/0.3179, allocations: 180.5 kB / 397.2 MB, free: 5.523 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.91e-07/0.3179, allocations: 0 / 397.2 MB, free: 5.523 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0004198/0.3183, allocations: 95.86 kB / 397.3 MB, free: 5.43 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (idealTriac.capacitor.v) * Number of discrete variables: 5 ($whenCondition1,booleanPulse.y,booleanPulse.pulsStart,idealTriac.idealThyristor.off,idealTriac.idealThyristor1.off) * Number of discrete states: 2 (idealTriac.idealThyristor.off,idealTriac.idealThyristor1.off) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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 {2 9} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001593/0.3185, allocations: 111.2 kB / 397.4 MB, free: 5.312 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0007089/0.3192, allocations: 363.3 kB / 397.7 MB, free: 4.945 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.3192, allocations: 0 / 397.7 MB, free: 4.945 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000371/0.3196, allocations: 263.2 kB / 398 MB, free: 4.676 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002775/0.3199, allocations: 54.67 kB / 398.1 MB, free: 4.625 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009804/0.3209, allocations: 0.6959 MB / 398.8 MB, free: 3.91 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003258/0.3212, allocations: 0.7716 MB / 399.5 MB, free: 3.113 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001058/0.3213, allocations: 30.2 kB / 399.6 MB, free: 3.086 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.024e-05/0.3214, allocations: 19.44 kB / 399.6 MB, free: 3.066 MB / 298.7 MB Notification: Performance of SimCode: time 3e-07/0.3214, allocations: 0 / 399.6 MB, free: 3.066 MB / 298.7 MB Notification: Performance of Templates: time 0.007611/0.329, allocations: 4.289 MB / 403.9 MB, free: 14.8 MB / 314.7 MB make -j1 -f Modelica_3.2.1_Modelica.Electrical.Analog.Examples.IdealTriacCircuit.makefile (rm -f Modelica_3.2.1_Modelica.Electrical.Analog.Examples.IdealTriacCircuit.pipe ; mkfifo Modelica_3.2.1_Modelica.Electrical.Analog.Examples.IdealTriacCircuit.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Electrical.Analog.Examples.IdealTriacCircuit.pipe >> ../files/Modelica_3.2.1_Modelica.Electrical.Analog.Examples.IdealTriacCircuit.sim & ./Modelica_3.2.1_Modelica.Electrical.Analog.Examples.IdealTriacCircuit -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Electrical.Analog.Examples.IdealTriacCircuit.pipe 2>&1)