Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Analog.Examples.SimpleTriacCircuit.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.SimpleTriacCircuit,tolerance=1e-12,outputFormat="mat",numberOfIntervals=4000,variableFilter="time|L.i|simpleTriac.thyristor.vControl|simpleTriac.thyristor1.vControl",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.SimpleTriacCircuit") translateModel(Modelica.Electrical.Analog.Examples.SimpleTriacCircuit,tolerance=1e-12,outputFormat="mat",numberOfIntervals=4000,variableFilter="time|L.i|simpleTriac.thyristor.vControl|simpleTriac.thyristor1.vControl",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.SimpleTriacCircuit") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001538/0.001538, allocations: 111.2 kB / 18.41 MB, free: 4.691 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001801/0.001801, allocations: 183.3 kB / 19.34 MB, free: 3.777 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.257/1.257, allocations: 205.1 MB / 225.2 MB, free: 12.21 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001133/0.001133, allocations: 51.94 kB / 329.2 MB, free: 3.301 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06884/0.06998, allocations: 46.61 MB / 375.8 MB, free: 4.578 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.SimpleTriacCircuit): time 0.004156/0.07415, allocations: 3.897 MB / 379.7 MB, free: 0.6562 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.1456/0.2198, allocations: 1.018 MB / 380.7 MB, free: 9.758 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003915/0.2202, allocations: 10.25 kB / 380.8 MB, free: 9.758 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002663/0.2205, allocations: 83.52 kB / 380.8 MB, free: 9.758 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003992/0.2209, allocations: 173.9 kB / 381 MB, free: 9.758 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004907/0.2214, allocations: 208.7 kB / 381.2 MB, free: 9.758 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007632/0.2222, allocations: 0.7571 MB / 382 MB, free: 9.625 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002663/0.2225, allocations: 177.5 kB / 382.1 MB, free: 9.602 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000425/0.2229, allocations: 295.1 kB / 382.4 MB, free: 9.559 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004301/0.2234, allocations: 336.1 kB / 382.8 MB, free: 9.496 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001716/0.2235, allocations: 76.56 kB / 382.8 MB, free: 9.496 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001859/0.2237, allocations: 76.91 kB / 382.9 MB, free: 9.496 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001294/0.2239, allocations: 151.8 kB / 383.1 MB, free: 9.473 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003792/0.2243, allocations: 316.6 kB / 383.4 MB, free: 9.387 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008263/0.2251, allocations: 0.8014 MB / 384.2 MB, free: 9.141 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.487e-06/0.2251, allocations: 0 / 384.2 MB, free: 9.141 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.2251, allocations: 1.094 kB / 384.2 MB, free: 9.141 MB / 318.1 MB Notification: Performance of Transformations before backend: time 2.446e-05/0.2251, allocations: 0 / 384.2 MB, free: 9.141 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 88 * Number of variables: 88 Notification: Performance of Generate backend data structure: time 0.002572/0.2277, allocations: 0.9783 MB / 385.1 MB, free: 8.484 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.709e-05/0.2278, allocations: 9.312 kB / 385.2 MB, free: 8.484 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001164/0.2279, allocations: 56.31 kB / 385.2 MB, free: 8.457 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005127/0.2284, allocations: 409.6 kB / 385.6 MB, free: 8.121 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.132e-05/0.2284, allocations: 27.88 kB / 385.6 MB, free: 8.109 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.119e-05/0.2285, allocations: 37.62 kB / 385.7 MB, free: 8.098 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001328/0.2299, allocations: 0.5607 MB / 386.2 MB, free: 7.852 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.427e-05/0.2299, allocations: 6.75 kB / 386.2 MB, free: 7.848 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.196e-05/0.2299, allocations: 16.2 kB / 386.3 MB, free: 7.836 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.857e-06/0.23, allocations: 8.312 kB / 386.3 MB, free: 7.836 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001759/0.2317, allocations: 0.5784 MB / 386.8 MB, free: 7.66 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003198/0.2349, allocations: 1.998 MB / 388.8 MB, free: 6.367 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003723/0.2387, allocations: 0.7956 MB / 389.6 MB, free: 6.121 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009428/0.2396, allocations: 374.1 kB / 390 MB, free: 5.996 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.507e-05/0.2397, allocations: 5.219 kB / 390 MB, free: 5.996 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001004/0.2407, allocations: 397.4 kB / 390.4 MB, free: 5.836 MB / 318.1 MB Notification: Performance of pre-optimization done (n=39): time 1.974e-06/0.2407, allocations: 0 / 390.4 MB, free: 5.836 MB / 318.1 MB Notification: Performance of matching and sorting (n=39): time 0.009681/0.2504, allocations: 1.789 MB / 392.2 MB, free: 5.363 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.151e-05/0.2504, allocations: 86.95 kB / 392.3 MB, free: 5.266 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003791/0.2508, allocations: 390.7 kB / 392.6 MB, free: 5.066 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 4.447e-05/0.2509, allocations: 36.3 kB / 392.7 MB, free: 5.027 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000113/0.251, allocations: 222.1 kB / 392.9 MB, free: 4.848 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.896e-05/0.2511, allocations: 126.4 kB / 393 MB, free: 4.75 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001545/0.2512, allocations: 74.62 kB / 393.1 MB, free: 4.703 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.432e-05/0.2513, allocations: 349.5 kB / 393.4 MB, free: 4.375 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008845/0.2522, allocations: 267.7 kB / 393.7 MB, free: 4.297 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008734/0.2531, allocations: 316.7 kB / 394 MB, free: 4.172 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001639/0.2547, allocations: 0.5367 MB / 394.5 MB, free: 3.961 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.2548, allocations: 0 / 394.5 MB, free: 3.961 MB / 318.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.005025/0.2598, allocations: 1.052 MB / 395.6 MB, free: 3.629 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.097e-05/0.2598, allocations: 32.92 kB / 395.6 MB, free: 3.598 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/0.2598, allocations: 4.75 kB / 395.6 MB, free: 3.594 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001191/0.261, allocations: 402.7 kB / 396 MB, free: 3.484 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004601/0.2615, allocations: 87.77 kB / 396.1 MB, free: 3.473 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007822/0.2693, allocations: 3.673 MB / 399.8 MB, free: 1.012 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006384/0.27, allocations: 80.69 kB / 399.9 MB, free: 0.9727 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.127e-05/0.2701, allocations: 16.19 kB / 399.9 MB, free: 0.9648 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 7 (pulseCurrent.signalSource.count,$PRE.pulseCurrent.signalSource.count,pulseCurrent.signalSource.T_start,$PRE.pulseCurrent.signalSource.T_start,simpleTriac.idealDiode1.off,simpleTriac.idealDiode.off,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (31): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(4,12)} Notification: Performance of prepare postOptimizeDAE: time 0.000201/0.2703, allocations: 174.5 kB / 400.1 MB, free: 0.8086 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.986e-05/0.2703, allocations: 44.09 kB / 400.1 MB, free: 0.7852 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001127/0.2705, allocations: 58.28 kB / 400.2 MB, free: 0.7383 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.761e-06/0.2705, allocations: 3.984 kB / 400.2 MB, free: 0.7344 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.425e-06/0.2705, allocations: 0 / 400.2 MB, free: 0.7344 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001689/0.2706, allocations: 172.9 kB / 400.3 MB, free: 0.5625 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.823e-05/0.2707, allocations: 13.25 kB / 400.3 MB, free: 0.5547 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005527/0.2713, allocations: 63.7 kB / 400.4 MB, free: 0.5273 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001046/0.2714, allocations: 38.94 kB / 400.4 MB, free: 0.5039 MB / 318.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004032/0.2754, allocations: 1.055 MB / 401.5 MB, free: 15.96 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002815/0.2783, allocations: 1.094 MB / 402.6 MB, free: 15.32 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0008662/0.2792, allocations: 287.7 kB / 402.9 MB, free: 15.18 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002879/0.2794, allocations: 272.8 kB / 403.1 MB, free: 15.01 MB / 334.1 MB Notification: Performance of Backend: time 5.71e-07/0.2795, allocations: 0 / 403.1 MB, free: 15.01 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.002033/0.2815, allocations: 0.7039 MB / 403.8 MB, free: 14.52 MB / 334.1 MB Notification: Performance of SimCode: time 0.001704/0.2832, allocations: 1.487 MB / 405.3 MB, free: 13.34 MB / 334.1 MB Notification: Performance of Templates: time 0.01773/0.301, allocations: 11.43 MB / 416.8 MB, free: 5.004 MB / 334.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.SimpleTriacCircuit.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.SimpleTriacCircuit.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.SimpleTriacCircuit.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.SimpleTriacCircuit.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.SimpleTriacCircuit.sim & ./Modelica_3.2.3_Modelica.Electrical.Analog.Examples.SimpleTriacCircuit -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.SimpleTriacCircuit.pipe 2>&1)