Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Electrical.Analog.Examples.IdealTriacCircuit.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.IdealTriacCircuit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Analog.Examples.IdealTriacCircuit") translateModel(Modelica.Electrical.Analog.Examples.IdealTriacCircuit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Analog.Examples.IdealTriacCircuit") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001661/0.001661, allocations: 187.8 kB / 8.353 MB, free: 0.707 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.503/1.503, allocations: 194.3 MB / 203.1 MB, free: 9.254 MB / 171.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001811/0.001811, allocations: 117 kB / 248.1 MB, free: 6.344 MB / 203.1 MB Notification: Performance of FrontEnd - loaded program: time 1.835e-05/1.822e-05, allocations: 0 / 298.1 MB, free: 8.246 MB / 251.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09754/0.09758, allocations: 44.5 MB / 342.6 MB, free: 11.64 MB / 299.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3747/0.4723, allocations: 73.32 MB / 415.9 MB, free: 22.5 MB / 315.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001931/0.4726, allocations: 68.44 kB / 416 MB, free: 22.47 MB / 315.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.01116/0.4837, allocations: 4.89 MB / 420.8 MB, free: 18.46 MB / 315.1 MB Notification: Performance of FrontEnd: time 1.432e-06/0.4838, allocations: 0 / 420.8 MB, free: 18.46 MB / 315.1 MB Notification: Performance of Transformations before backend: time 2.018e-05/0.4838, allocations: 8 kB / 420.9 MB, free: 18.45 MB / 315.1 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.0007108/0.4845, allocations: 0.5348 MB / 421.4 MB, free: 17.89 MB / 315.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.808e-05/0.4846, allocations: 8.031 kB / 421.4 MB, free: 17.88 MB / 315.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.526e-05/0.4847, allocations: 47.39 kB / 421.4 MB, free: 17.84 MB / 315.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00026/0.4849, allocations: 268.2 kB / 421.7 MB, free: 17.57 MB / 315.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.824e-05/0.4849, allocations: 11.98 kB / 421.7 MB, free: 17.56 MB / 315.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.978e-05/0.485, allocations: 16 kB / 421.7 MB, free: 17.54 MB / 315.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002821/0.4853, allocations: 171 kB / 421.9 MB, free: 17.45 MB / 315.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003277/0.4856, allocations: 237.8 kB / 422.1 MB, free: 17.26 MB / 315.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.217e-05/0.4856, allocations: 0 / 422.1 MB, free: 17.26 MB / 315.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.773e-05/0.4857, allocations: 3.984 kB / 422.1 MB, free: 17.25 MB / 315.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.313e-06/0.4857, allocations: 12 kB / 422.1 MB, free: 17.24 MB / 315.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00133/0.487, allocations: 1.093 MB / 423.2 MB, free: 16.29 MB / 315.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003745/0.4874, allocations: 189.9 kB / 423.4 MB, free: 16.17 MB / 315.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002283/0.4877, allocations: 136.5 kB / 423.6 MB, free: 16.08 MB / 315.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.537e-05/0.4877, allocations: 8.125 kB / 423.6 MB, free: 16.07 MB / 315.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002107/0.4879, allocations: 155.6 kB / 423.7 MB, free: 15.93 MB / 315.1 MB Notification: Performance of pre-optimization done (n=22): time 1.893e-06/0.4879, allocations: 3.984 kB / 423.7 MB, free: 15.93 MB / 315.1 MB Notification: Performance of matching and sorting (n=22): time 0.0004748/0.4884, allocations: 240.3 kB / 424 MB, free: 15.74 MB / 315.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.098e-05/0.4885, allocations: 140.4 kB / 424.1 MB, free: 15.57 MB / 315.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001532/0.4886, allocations: 192 kB / 424.3 MB, free: 15.41 MB / 315.1 MB Notification: Performance of collectPreVariables (initialization): time 2.057e-05/0.4886, allocations: 29.7 kB / 424.3 MB, free: 15.38 MB / 315.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.71e-05/0.4887, allocations: 171.1 kB / 424.5 MB, free: 15.24 MB / 315.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.791e-05/0.4888, allocations: 65.09 kB / 424.5 MB, free: 15.18 MB / 315.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.127e-05/0.4888, allocations: 4 kB / 424.5 MB, free: 15.18 MB / 315.1 MB Notification: Performance of setup shared object (initialization): time 5.333e-05/0.4888, allocations: 330.8 kB / 424.9 MB, free: 14.86 MB / 315.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.974e-05/0.4889, allocations: 59.44 kB / 424.9 MB, free: 14.82 MB / 315.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001057/0.4891, allocations: 108.5 kB / 425 MB, free: 14.73 MB / 315.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.925e-05/0.4892, allocations: 69.59 kB / 425.1 MB, free: 14.7 MB / 315.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.355e-06/0.4892, allocations: 4 kB / 425.1 MB, free: 14.69 MB / 315.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0003146/0.4895, allocations: 250 kB / 425.4 MB, free: 14.5 MB / 315.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.519e-05/0.4895, allocations: 8.891 kB / 425.4 MB, free: 14.5 MB / 315.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.069e-06/0.4895, allocations: 4.781 kB / 425.4 MB, free: 14.49 MB / 315.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002854/0.4898, allocations: 97.5 kB / 425.5 MB, free: 14.43 MB / 315.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001196/0.4899, allocations: 28.08 kB / 425.5 MB, free: 14.4 MB / 315.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001551/0.4915, allocations: 1.918 MB / 427.4 MB, free: 12.67 MB / 315.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001862/0.4917, allocations: 31.94 kB / 427.4 MB, free: 12.64 MB / 315.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.671e-05/0.4917, allocations: 7.312 kB / 427.4 MB, free: 12.63 MB / 315.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 17 * 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 10} Notification: Performance of prepare postOptimizeDAE: time 7.921e-05/0.4918, allocations: 120.6 kB / 427.6 MB, free: 12.51 MB / 315.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.42e-05/0.4919, allocations: 23.72 kB / 427.6 MB, free: 12.48 MB / 315.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.413e-05/0.4919, allocations: 27.27 kB / 427.6 MB, free: 12.47 MB / 315.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.4919, allocations: 5.5 kB / 427.6 MB, free: 12.46 MB / 315.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.834e-06/0.4919, allocations: 0 / 427.6 MB, free: 12.46 MB / 315.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.819e-06/0.492, allocations: 4 kB / 427.6 MB, free: 12.46 MB / 315.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006759/0.4926, allocations: 0.7305 MB / 428.4 MB, free: 11.84 MB / 315.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.843e-06/0.4927, allocations: 4 kB / 428.4 MB, free: 11.83 MB / 315.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001037/0.4928, allocations: 19.98 kB / 428.4 MB, free: 11.81 MB / 315.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002069/0.493, allocations: 87.81 kB / 428.5 MB, free: 11.75 MB / 315.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.655e-05/0.493, allocations: 3.984 kB / 428.5 MB, free: 11.75 MB / 315.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001407/0.4944, allocations: 1.86 MB / 430.3 MB, free: 10.04 MB / 315.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.798e-06/0.4944, allocations: 4.703 kB / 430.3 MB, free: 10.04 MB / 315.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003913/0.4948, allocations: 422.2 kB / 430.7 MB, free: 9.703 MB / 315.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.812e-05/0.4949, allocations: 124.2 kB / 430.9 MB, free: 9.574 MB / 315.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.288e-05/0.495, allocations: 0 / 430.9 MB, free: 9.574 MB / 315.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001864/0.4952, allocations: 23.94 kB / 430.9 MB, free: 9.551 MB / 315.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.802e-05/0.4953, allocations: 35.75 kB / 430.9 MB, free: 9.523 MB / 315.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.328e-05/0.4953, allocations: 9.438 kB / 430.9 MB, free: 9.516 MB / 315.1 MB Notification: Performance of sorting global known variables: time 9.672e-05/0.4954, allocations: 164.6 kB / 431.1 MB, free: 9.383 MB / 315.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.4954, allocations: 0 / 431.1 MB, free: 9.383 MB / 315.1 MB Notification: Performance of remove unused functions: time 0.000417/0.4958, allocations: 79.84 kB / 431.2 MB, free: 9.305 MB / 315.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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) * 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.0001417/0.496, allocations: 103.9 kB / 431.3 MB, free: 9.195 MB / 315.1 MB Notification: Performance of simCode: created initialization part: time 0.0004388/0.4964, allocations: 327.3 kB / 431.6 MB, free: 8.941 MB / 315.1 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.4964, allocations: 0 / 431.6 MB, free: 8.941 MB / 315.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003254/0.4967, allocations: 238.3 kB / 431.8 MB, free: 8.742 MB / 315.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003018/0.4971, allocations: 43.44 kB / 431.9 MB, free: 8.707 MB / 315.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006963/0.4978, allocations: 392.8 kB / 432.2 MB, free: 8.348 MB / 315.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001748/0.498, allocations: 0.7717 MB / 433 MB, free: 7.551 MB / 315.1 MB Notification: Performance of simCode: alias equations: time 9.015e-05/0.498, allocations: 22.62 kB / 433 MB, free: 7.527 MB / 315.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.337e-05/0.4981, allocations: 15.44 kB / 433.1 MB, free: 7.512 MB / 315.1 MB Notification: Performance of SimCode: time 2.5e-07/0.4981, allocations: 0 / 433.1 MB, free: 7.512 MB / 315.1 MB Notification: Performance of Templates: time 0.006507/0.5046, allocations: 3.839 MB / 436.9 MB, free: 3.746 MB / 315.1 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.Analog.Examples.IdealTriacCircuit.makefile (rm -f Modelica_3.2.2_Modelica.Electrical.Analog.Examples.IdealTriacCircuit.pipe ; mkfifo Modelica_3.2.2_Modelica.Electrical.Analog.Examples.IdealTriacCircuit.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Electrical.Analog.Examples.IdealTriacCircuit.pipe >> ../files/Modelica_3.2.2_Modelica.Electrical.Analog.Examples.IdealTriacCircuit.sim & ./Modelica_3.2.2_Modelica.Electrical.Analog.Examples.IdealTriacCircuit -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Electrical.Analog.Examples.IdealTriacCircuit.pipe 2>&1)