Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Analog.Examples.Rectifier.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.Rectifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|Capacitor1.v|Capacitor2.v|Inductor2.i|Inductor3.i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.Rectifier") translateModel(Modelica.Electrical.Analog.Examples.Rectifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|Capacitor1.v|Capacitor2.v|Inductor2.i|Inductor3.i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.Rectifier") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001537/0.001537, allocations: 103.1 kB / 18.4 MB, free: 4.68 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.001749/0.001749, allocations: 188.5 kB / 19.34 MB, free: 3.754 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.308/1.308, allocations: 205.1 MB / 225.2 MB, free: 12.23 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.001177/0.001177, allocations: 51.92 kB / 329.2 MB, free: 3.281 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0679/0.06909, allocations: 46.61 MB / 375.8 MB, free: 4.562 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Rectifier): time 0.004519/0.07362, allocations: 4.193 MB / 380 MB, free: 356 kB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.139/0.2127, allocations: 0.9507 MB / 381 MB, free: 9.715 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002104/0.2129, allocations: 9.875 kB / 381 MB, free: 9.715 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002135/0.2132, allocations: 96.41 kB / 381.1 MB, free: 9.715 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000395/0.2136, allocations: 202.7 kB / 381.3 MB, free: 9.66 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002558/0.2138, allocations: 166.1 kB / 381.5 MB, free: 9.656 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005299/0.2144, allocations: 0.7314 MB / 382.2 MB, free: 9.496 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002835/0.2147, allocations: 225 kB / 382.4 MB, free: 9.457 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002431/0.2149, allocations: 288 kB / 382.7 MB, free: 9.406 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003255/0.2152, allocations: 334.7 kB / 383 MB, free: 9.328 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001083/0.2154, allocations: 60.53 kB / 383.1 MB, free: 9.328 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001138/0.2155, allocations: 60.5 kB / 383.1 MB, free: 9.328 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001333/0.2156, allocations: 145.4 kB / 383.3 MB, free: 9.301 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002804/0.2159, allocations: 332.3 kB / 383.6 MB, free: 9.203 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005769/0.2165, allocations: 0.7072 MB / 384.3 MB, free: 9.035 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.026e-06/0.2165, allocations: 4 kB / 384.3 MB, free: 9.031 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.2165, allocations: 0 / 384.3 MB, free: 9.031 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.906e-06/0.2165, allocations: 1.125 kB / 384.3 MB, free: 9.031 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: 128 * Number of variables: 128 Notification: Performance of Generate backend data structure: time 0.001299/0.2178, allocations: 0.9011 MB / 385.2 MB, free: 8.383 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.34e-05/0.2179, allocations: 7.938 kB / 385.2 MB, free: 8.383 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.804e-05/0.218, allocations: 74.84 kB / 385.3 MB, free: 8.344 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004293/0.2184, allocations: 378.7 kB / 385.7 MB, free: 8.035 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.686e-05/0.2184, allocations: 42.56 kB / 385.7 MB, free: 8.016 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.805e-05/0.2185, allocations: 54.33 kB / 385.8 MB, free: 7.996 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000835/0.2194, allocations: 0.5415 MB / 386.3 MB, free: 7.723 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.565e-05/0.2194, allocations: 9.891 kB / 386.3 MB, free: 7.715 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.408e-05/0.2194, allocations: 19.78 kB / 386.3 MB, free: 7.699 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.194e-05/0.2195, allocations: 15.34 kB / 386.3 MB, free: 7.699 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007909/0.2203, allocations: 444 kB / 386.8 MB, free: 7.555 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002313/0.2226, allocations: 2.033 MB / 388.8 MB, free: 6.199 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008038/0.2234, allocations: 0.6391 MB / 389.4 MB, free: 5.824 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005416/0.224, allocations: 394.3 kB / 389.8 MB, free: 5.684 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.755e-05/0.224, allocations: 12.44 kB / 389.8 MB, free: 5.68 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.542e-05/0.224, allocations: 46.83 kB / 389.9 MB, free: 5.629 MB / 318.1 MB Notification: Performance of pre-optimization done (n=60): time 1.853e-06/0.224, allocations: 0 / 389.9 MB, free: 5.629 MB / 318.1 MB Notification: Performance of matching and sorting (n=61): time 0.004071/0.2281, allocations: 2.026 MB / 391.9 MB, free: 4.469 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.876e-05/0.2281, allocations: 58.09 kB / 392 MB, free: 4.406 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003212/0.2285, allocations: 360.4 kB / 392.3 MB, free: 4.227 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.052e-05/0.2285, allocations: 40.27 kB / 392.4 MB, free: 4.184 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.96e-05/0.2286, allocations: 232 kB / 392.6 MB, free: 3.992 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001048/0.2287, allocations: 199.8 kB / 392.8 MB, free: 3.84 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001235/0.2289, allocations: 89.98 kB / 392.9 MB, free: 3.789 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.819e-05/0.2289, allocations: 358.3 kB / 393.2 MB, free: 3.457 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003119/0.2292, allocations: 166.2 kB / 393.4 MB, free: 3.395 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003274/0.2296, allocations: 216.3 kB / 393.6 MB, free: 3.312 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006223/0.2302, allocations: 381.8 kB / 394 MB, free: 3.133 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.2302, allocations: 0 / 394 MB, free: 3.133 MB / 318.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001115/0.2313, allocations: 0.6639 MB / 394.6 MB, free: 2.832 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.363e-05/0.2314, allocations: 5.641 kB / 394.6 MB, free: 2.832 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.291e-06/0.2314, allocations: 5.125 kB / 394.6 MB, free: 2.828 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006833/0.2321, allocations: 263.8 kB / 394.9 MB, free: 2.723 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002922/0.2324, allocations: 63.38 kB / 395 MB, free: 2.715 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005924/0.2383, allocations: 7.497 MB / 402.5 MB, free: 11.85 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002549/0.2386, allocations: 20.89 kB / 402.5 MB, free: 11.84 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.259e-05/0.2386, allocations: 17.42 kB / 402.5 MB, free: 11.83 MB / 334.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: 6 (IdealDiode6.off,IdealDiode5.off,IdealDiode4.off,IdealDiode3.off,IdealDiode2.off,IdealDiode1.off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (33): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(2,7), (2,7), (2,7)} Notification: Performance of prepare postOptimizeDAE: time 0.0002005/0.2388, allocations: 174 kB / 402.7 MB, free: 11.68 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.653e-05/0.2389, allocations: 53.22 kB / 402.7 MB, free: 11.65 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001362/0.239, allocations: 64.2 kB / 402.8 MB, free: 11.6 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.053e-06/0.2391, allocations: 3.141 kB / 402.8 MB, free: 11.6 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.364e-06/0.2391, allocations: 0.875 kB / 402.8 MB, free: 11.6 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001807/0.2393, allocations: 162 kB / 402.9 MB, free: 11.46 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.007e-05/0.2393, allocations: 12.12 kB / 403 MB, free: 11.45 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002811/0.2396, allocations: 17.03 kB / 403 MB, free: 11.44 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001146/0.2397, allocations: 50.06 kB / 403 MB, free: 11.43 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002081/0.2418, allocations: 0.822 MB / 403.8 MB, free: 11.08 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001344/0.2432, allocations: 0.9072 MB / 404.8 MB, free: 10.6 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003632/0.2436, allocations: 197.5 kB / 404.9 MB, free: 10.53 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002544/0.2438, allocations: 256.3 kB / 405.2 MB, free: 10.4 MB / 334.1 MB Notification: Performance of Backend: time 4.11e-07/0.2438, allocations: 1.375 kB / 405.2 MB, free: 10.4 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.00155/0.2454, allocations: 0.9648 MB / 406.2 MB, free: 9.684 MB / 334.1 MB Notification: Performance of SimCode: time 0.001913/0.2473, allocations: 1.794 MB / 408 MB, free: 8.426 MB / 334.1 MB Notification: Performance of Templates: time 0.01357/0.2609, allocations: 8.493 MB / 416.4 MB, free: 4.746 MB / 334.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.Rectifier.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.Rectifier.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.Rectifier.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.Rectifier.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.Rectifier.sim & ./Modelica_3.2.3_Modelica.Electrical.Analog.Examples.Rectifier -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.Rectifier.pipe 2>&1)